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.

AFE5401-Q1: Trigger to DSYNC2 latency and digital output latency

Part Number: AFE5401-Q1

Hello,

 

I am using the AFE5401-Q1 and I have a few questions regarding the devices Trigger to DSYNC2 latency and digital output latency.

This was the test setup for the first question, which is about the Trigger to DSYNC2 latency (TRIG_DSYNC2_LAT):

A 50MHz clock is fed into the AFE5401. The AFE5401 serializes the data of all 4 channels. The DELAY_COUNT setting is set to 1, which means a DELAY_PHASE of 2xtAFE_CLK. I then measured the time it took from the Trigger Signal to DSYNC2 high.

  1. Clock divider 3, decimation factor off. Sampling period: 60us. Trigger to DSYNC2 high measured at around 380us, subtracting the DELAY_PHASE this means 260us (4.3 times the sampling period).
  2. Clock divider 2, decimation factor 2. Effective sampling period after decimation: 80us. Trigger to DSNYC2 high measured at around 440us, subtracting the DELAY_PHASE this means 280us(3.5 times the sampling period).
  3. Clock divider 2, decimation factor 4. Effective sampling period after decimation: 160us Trigger to DSNYC2 high measured at around 880us, subtracting the DELAY_PHASE this means 560us(3.5 times the sampling period).

Table 22 in the data sheet describes the TRIG_DSYNC2_LAT for an AFE_CLK and 25 MHz (and probably with DELAY_COUNT to 0, which means a DELAY_PHASE  of 1). Is there a way to determine/calculate the TRIG_DSYNC2_LAT for other settings of the device, or should I use the measured ~3.5-4.3 (effective) sampling period and at this to the DELAY_PHASE?

 

For second part of questions:

The data sheet states states that there is a digital output latency of 10.5 tAFE_CLK cycles from sampling to digitized output. Does this mean tAFE_CLK cycles before or after decimation is applied? For example setup 2 from above: Is the digital output latency 420us or 840us?

Is there any interaction between TRIG_DSYNC2_LAT  and the digial output latency?

Used data sheet revision: SBAS619A –MARCH 2014–REVISED JUNE 2017

Kind regards,

Tobias

  • Hi Tobias,

    Thanks for using AFE5401-Q1 device.
    For your questions about AFE5401-Q1, I will need 2-3 days and reply to you soon.

    Thank you!

    Best regards,
    Chen
  • Hi Tobias,

    How are you?
    Let's look at the second question first.
    The digital output latency of 10.5 tAFE_CLK cycles is related to the ADC's output data.
    That is not related to decimation mode.
    So they are not related directly.
    Also for your first question,
    in order to ask the group engineer,
    could you please let us know (such as which mode,
    what kind of settings you are using and so on).
    in this case, I can get more clear answers to you.

    Thank you!

    Best regards,
    Chen
  • Hi Chen,

    thank you for your answer!

    Regarding the second question: The way I understand it now is, that the digital output delay of setup 2 from above is ~420us, correct?

    These are the settings from the device during the tests stated above:

    • EQ_EN=1
    • LNA_GAIN=3 
    • PGA_GAIN=5
    • FILTER_BW=1
    • HIGH_POW_LNA=1
    • EQ_EN_LOW_FC=1
    • HPL_EN=0
    • HEADER_MODE=0
    • DIV_REG=1 (Clock divider 2, 50MHz/2=25MHz)
    • Therefore HF_AFE_CLK=0
    • DIV_EN=1
    • DIV_FRC=1
    • SE_CLK_MODE=1 (single ended clock used)
    • DSYNC_EN=1
    • DSYNC1_START_LOW=1
    • DELAY_COUNT=1
    • MULT_EN=0
    • STAT_EN=0
    • All channels activated, none disabled.

    For decimation 2:

    • DECIMATE_2_EN=1
    • FILT_EN=1
    • Filter set 1 written to C1-C6

    For decimation 4:

    • DECIMATE_4_EN=1
    • DECIMATE_2_EN=1
    • FILT_EN=1
    • Filter set 1 written to C1-C6

    If you need any more information, please let me know!

    One additional question I encountered during the last days (currently I have no means of measuring it): What is the output of DCLK, if decimation is active? For example setup 4 from above (25MHz AFE_CLK and Decimation factor 4): Is DCLK outputting 100 MHz (4xAFE_CLK) or 25 MHz (4xAFE_CLK/4)?

    Kind regards,

    Tobias

  • Hi Tobias,

    How are you?
    Please allow us more days to study and understand your questions.
    We will reply to you shortly.
    Have a nice day!

    Thank you and best regards,
    Chen
  • Hi Tobias,

    How are you?
    sorry for the waiting.
    From our system engineer, they mentioned since AFE5401 datasheet does not
    cover such detail timing information (it may describe the major principle for user to use), therefore they suggest please measure from your system (using scope or FPGA)
    to double verify it.

    Thank you for using AFE5401 device.

    Best regards,
    Chen
  • Hello Tobias,

    For the TRIG to DSYNC2 latency, you can use the empirically derived sampling period and add to the DELAY_PHASE.
    The DCLK frequency will be AFE_CLK * Serialization factor / Decimation.
  • Hello Tobias,

    I am closing the post for now. If you have any further questions, feel free to post them here or as a new post (if the current thread is locked).