Other Parts Discussed in Thread: AFE7900
Tool/software:
Hello,
We are working on establishing communication between our JESD204B design, developed on our FPGA, and the AFE7900 EVM. Our current situation is as follows:
The FPGA RX line successfully completes the CGS and ILA states and deasserts the SYNC signal after the CGS state. We are also able to see data coming from the AFE side.
However, when we observe the FPGA TX line, we see that it remains stuck in the CGS state. The expected SYNC signal from the AFE side is not being deasserted. Furthermore, when programming the AFE through the Latte GUI, we encounter the following errors:
########### Device DAC JESD-RX 0 Link Status ###########
CS State TX0: 0b10101010 — Expected: 0b10101010
FS State TX0: 0b00000000 — Expected: 0b01010101
Couldn't get the link up for device RX: 0; Alarms: 0x0
###################################
########### Device DAC JESD-RX 1 Link Status ###########
CS State TX0: 0b10101010 — Expected: 0b10101010
FS State TX0: 0b00000000 — Expected: 0b01010101
Couldn't get the link up for device RX: 1; Alarms: 0x0
###################################
No additional alarms or errors are reported by the Latte program. We have also manually checked the related registers and confirmed that no other errors are present.
To better understand the problem, we removed the AFE79 board and connected a loopback card instead. In this test, our FPGA design successfully synchronized with the loopback card, and we were able to observe the same data pattern on both the TX and RX lines.
Therefore, our main question is: why is the JESD204B RX interface of the AFE7900 EVM unable to synchronize with the FPGA TX synchronization pattern?
After confirming that the loopback card was working properly, we attempted the same test using the SERDES loopback function of the AFE7900 EVM. Instead of observing a continuous data flow on the TX and RX lines as expected, we found that both lines showed no data activity and remained stuck at a constant value.
While researching online, we came across a discussion with TI (link) that seems quite similar to the issue we are experiencing. However, since the conversation eventually continued via email, we could not access the full details. This is why we are reaching out to you directly.
We would greatly appreciate your advice on the following points:
- How can we identify JESD204-related errors on the AFE79?
- Which registers can be used to gather more information regarding these errors and to control the SYNC output?
- In the Latte interface error log provided above, what exactly do the “CS state” and “FS state” represent? We checked the register list but could not find a definition, only the required values. Do you have any insights or suggestions regarding this?
- Is it necessary to complete the CGS and ILA states in order to use the SERDES loopback properly? In other words, is the SYNC signal required on both the RX and TX sides?
Any information you could share would be extremely valuable to us. Thank you in advance for your time and support.
Regards,

