Post Go back to editing

BIST Rx mismatch

Category: Hardware
Product Number: AD9361

Hello,

I am trying to loopback the AD9361 transceiver via BIST feature. The input Tx port is fed by random data for testing purposes and not from BIST generator, and then route the data to Rx port before going to Tx chain, so I set the 0x3f4 0x01 to activate BIST and 0x3f5 to 0x01 in order to do so. However the received data are mismatch like depicted in this figure

All data were captured using internal logic analyzer (ILA). After reading the AD9361 reference manual, the 4 lower bits of 16-bit input data are truncated for DAC, and 4 upper bits are set depend on the 11th bit, so in my case when I send 0x8000, the received data at the Rx port should be 0x800 but instead it gave me 0x81f for I channel and 0x7e0 instead of 0x7ff for Q channel. In my design, the WNS is about -1.712 ns while the TNS is -196.903 ns but do they affect the received data from Tx port? And what caused the received data different from what they should? Thank you in advance.



revised for I and Q channel
[edited by: dws79 at 10:41 AM (GMT -4) on 15 Aug 2024]
Parents Reply Children
  • I have already done testing BIST PRN data to Rx port and it seemed that it sent an interval of PRN data correctly 

    Fig.1 BIST PRN data routed back to Rx

    However, when I tried to route back Tx data to the receiver the Rx data did not seem aligned with Tx,

    Fig.2 Tx routed to Rx data

    While my designed (and tested via RF, working) is as following

    Fig.3 Schematic design

    Is there anything unusal in both Tx and Rx data? Thank you

  • However, when I tried to route back Tx data to the receiver the Rx data did not seem aligned with Tx,

    Can you readback the register 0x3F4?

    So, RX path alone works fine. Now, if you send a tone value from the BIST generator into the TX path, are you able to see a a valid tone in the spectrum analyzer?

  • Fig.1 0x3f4 and 0x3f5 register value

    The value is set to 0x00 which means the BIST signal generator is switched off, however I routed the Tx dataport directly to Rx dataport by setting 0x3f5 value to 0x1

    When I switched on the BIST generator, yes I did notice a valid tone in spectrum analyzer therefore I concluded the Tx is working properly.

  • So, RX and TX path is working fine with internal BIST generator. 

    If you send a TX tone from your baseband, are you able to see the waveform?

    It is strange that you are not able to see the sent data only during BIST loopback mode. 

    If you loopback Tx to RX using external cable on the RF output\, are you able to see the data?

  • So, RX and TX path is working fine wit

    Yes, that's what I observed through the ILA and spectrum analyzer. Both Tx and Rx worked well.

    If you send a TX tone from your baseband, are you able to see the waveform?

    As a matter of fact, yes I observed in spectrum analyzer that the tone was sent via RF. At this point, I only observed the transmitted tone only not via Rx.

    It is strange that you are not able to see the sent data only during BIST loopback mode. 

    Like in my earliest post, the sent data received by Rx dataport by activating the BIST loopback mode i.e. set register 0x3f5 value of 0x1 (according to BIST documentation you sent me, 0x1 means send the data from Tx dataport directly to Rx dataport)

    But since DAC truncates 4 lower bits, so a data of value 0x8000 should have been pruned to 0x0800? However the received data of 0x8000 becomes 0x081f ... which seemingly incorrect

    If you loopback Tx to RX using external cable on the RF output\, are you able to see the data?

    I have not tried it yet, but I'll post the result afterwards, thank you

  • Instead of PRBS data, can you try with a tone signal and then check the RX output in frequency domain format. Capture the IQ values and plot the FFT in matlab.

    But since DAC truncates 4 lower bits, so a data of value 0x8000 should have been pruned to 0x0800? However the received data of 0x8000 becomes 0x081f ... which seemingly incorrect

    Please let us know about the test results

    I have not tried it yet, but I'll post the result afterwards, thank you