This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AFE5809: Data delay between 4 LVDS lanes

Part Number: AFE5809


Hi,

   I have found a very strange behavior of my custom AFE5809 board.

  The ADC_clk is 20MHz, decimation factor M=32, output bit number is 16. Moudle bypass =  0, output channel select = 0 , full LVDS = 0, so that A.I, A.Q, B.I  and B.Q will come out on lane 1 sucessively, followed by 28 padded zeros. I will only have to retrieve data on lane 1/3/5/7 for all the 8 channels.

   To my through, these 4 lanes should be all  syncronized to FCLK, but actually it is not in my case. Please see Figure 1. Although lane1 and lane 3 are syncronized, there is a random delay between lane 5/7 and lane 1/3. When I say "random", I mean the delay is different after every system reset, but will not change after then.

Figure 1 : data on the 4 lanes after serial to parell transorming, sample clk = 20MHz

To make sure whether this delay is introduced by my FPGA logic, or by 5809 it self, I then observed the data before serial to parell transorming, which is shown in Figure 2, and is in consistence with Figure 1. so I guess the delay is from 5809.

Figure 2 data on 4 lanes before serial to parell transforming. sample clk=80MHz (under sampled, but ok for demonstrating)

The problem is how dose this delay come? this makes the FCLK meaningless. What should I do to avoid such delay? Thank you!

  • Hi Feng,

    How are you?

    Thanks for using AFE5809 device.

    We will look into your question and will reply to you very soon.

    Thank you!

    Have a nice day!

    Best regards,

    Chen

  • updates:

         I guess this issue has someting to do with the external hardware TRG signal. As LVDS lane1/3 are from Demod Subchip 0 while lane 5/7 are from Demod Subchip 1, they might not be syncronized after reset. However, when I tried to put a external trg signal to AFE5809, someting more interesting happens, please see Figure 3. 

    1. data on lane 5/7 all become zeros

    2. there are only 8 samples one lane1/3, after each trigger

    3. the inserted head (0X"2772") is more than 4000 clks latter than the trigger signal.

    All these will not happen if I don't feed external trigger signal to 5809. when should the external trg signal be on the TRG pin? 

    Figure 3 : sampled data (clk = 20MHz) on lane 1/3/5/7, and external trigger signal

  • Hi Feng,

    How are you?

    Thanks for using AFE5809 device.

    Please take a look the following from AFE5809 User's Guide

    for when running AFE5809 Demode mode hardware setup:

    Thank you very much!

    Have a nice day!


    Best regards,

    Chen

  • Hi Feng,
    Therefore the TX_SYNC_IN input pin needs to be triggered
    to synchronize all the output channels.
    That is very important.
    Thank you very much!

    Best regards,
    Chen