By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,558 Members | 1,373 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,558 IT Pros & Developers. It's quick & easy.

Is it correct that changing ENSM state or setting TXNRX would cause the BIST to stop?

P: 1
I have the AD9361 on the FMCOMMS2 board attached to a ZedBoard and am using the no-OS drivers.*
I want to setup the BIST so that I can look at a tone and familiarize myself with the hardware and the API. I can configure the BIST to execute exactly where I expect it to be, but only if I do the following.*
Note that this is all done AFTER the init process and the 9361 no-OS drivers state they are done configuring the device.

Expand|Select|Wrap|Line Numbers
  1. gpio_direction(GPIO_ENABLE_PIN, 1);
  2. gpio_direction(GPIO_TXNRX_PIN, 1);
  3. gpio_set_value(GPIO_ENABLE_PIN, 0);
  4. gpio_set_value(GPIO_TXNRX_PIN, 0);
  6. // 00 01 00 1 1
  7. ad9361_spi_write(ad9361_phy->spi, 0x3f4, 0x13); //set bist enable at fs/2 with tone freq clk/2
  8. //010 0 000 0
  9. ad9361_spi_write(ad9361_phy->spi, 0x3f5, 0x80);
  10. //00 11 00 00
  11. ad9361_spi_write(ad9361_phy->spi, 0x3f6, 0x00); //dont zero out any channels
Now if I put the device into alert mode after the last spi write, the tone disappears. And if I assert TXNRX and then 2us later assert ENABLE, as stated in the UG570 for ENSM operations, the tone disappears.*

I belive that the BIST effectively bypassses the ENSM and transmits continually from the BIST signal generator and that the ENSM with disable the BIST controller. however I have no documentation on this nor do I have any evidence of this other than anecdotal evidence.*

Is this correct or is there another reason that changing ENSM state or setting TXNRX or ENABLE would cause the BIST to stop?
Jan 17 '17 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.