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.

AFE7950EVM: JESD TX and RX data is not receiving

Part Number: AFE7950EVM
Other Parts Discussed in Thread: AFE7950

Tool/software:

We are currently testing a JESD204B project using the ZCU106 Evaluation FPGA Board in conjunction with the AFE7950 EVM. On the FPGA side, the LMFSH value is set to 24410, and the LMFSH value on the AFE side is also 24410, with only one instance in use.We are using the DC135-AFE7950EVM board, but we have been unable to locate its schematic. As an alternative, we have referenced the schematic for the DC150A-AFE7950EVM board. Could you kindly confirm if this approach is acceptable? If not, could you please guide me to where I can find the required schematic?

The following steps were performed:

  1. The setup.py and devinit.py scripts were executed.
  2. The FPGA board was successfully programmed after the bitfile was loaded.
  3. After the bit file programming, the associated configuration script was run.

Please refer to the attached configuration script for additional details. after running the below script we are facing below errors in the Latte log.
 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#fpgaside 24410 afeside 12410 1 inst's are there
############## Read me ##############
#In HSDC Pro DAC tab, Select AFE79xx_2x2TX_44210; Data Rate = 245.76M
#In HSDC Pro ADC tab, Select AFE79xx_2x2RX_44210; Data Rate = 245.76M ---> To capture 4 RX channels
sysParams=AFE.systemParams
sysParams.__init__();sysParams.chipVersion=chipVersion
setupParams.skipFpga = 1 # setup FPGA (TSW14J56) using HSDC Pro
############## Top Level ##############
sysParams.FRef = 491.52
sysParams.FadcRx = 2949.12
sysParams.FadcFb = 2949.12
sysParams.Fdac = 2949.12*4
sysParams.externalClockRx=False
sysParams.externalClockTx=False
############## Digital Chain ##############
##### RX #####
sysParams.ddcFactorRx = [12,12,12,12] #DDC decimation factor for RX A, B, C and D
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

In the design, we are configuring some of the internal registers of the JESD204C on both the RX core and TX core sides using the AXI protocol. We are sending counter data to the ADC while simultaneously collecting data from the DAC.

Upon receiving the GT_POWERGOOD signal, we assert the reset and, after a brief period, de-assert the reset. This reset process occurs simultaneously with the configuration of the AFE board.

Currently, eventhough we got errors in log file,we are observing that the TX_RESET_DONE and RX_RESET_DONE signals are being asserted as expected; however, the SYNC signal is not coming from the DAC_JESD_rx or the RX_FPGA JESD. Interestingly, if I manually assert the reset again after configuring the AFE, the TX_SYNC signal is generated, but the RX_SYNC signal is still absent.

For further reference, please find the attached screenshot detailing the issue. If the RX_SYNC signal is not being generated, the ADC JESD_TX should be sending comma characters. However, I am observing random data instead.


In a separate scenario, I reset the system and started configuring the AFE board, but I de-asserted the reset before the AFE configuration was completed.This time is didn't get any errors in latte log,And I was able to observe both RX_SYNC and TX_SYNC signals; however, random data is being received from the ADC on the RX side, which does not appear to be correct. I have attached a screenshot for reference.

Could you please help identify where I may have gone wrong and confirm if the reset procedure I am using is correct?  And Could you please help identify the cause of this behavior or confirm if there might be an issue with my configuration? Additionally, I attempted to send constant data using the Latte GUI, but this did not work either. Could you kindly explain how to proceed further?"

  • Hi Ajay,

    I believe that the issue you are facing is caused by the bringup sequence. If the FPGA is not sending data to the AFE before device configuration then you would receive the errors you show above.

    Can you try following the sequence below and see if that fixes the errors you are seeing?

    1. Run setup and devInit scripts
    2. Configure clock (Program LMK)
    3. Program FPGA
    4. Take TX IP out of reset and begin transmitting data to the AFE
    5. Configure AFE
    6. Take RX IP out of reset to bringup link

    Regards,

    David Chaparro 

  • Hi David,

    Thank you so much for your valuable assistance. We followed your instructions, and the issue has been resolved.