Hie,
I translated your description in mandarin as following:
Recently, when evaluating the 204B interface between A10 and ADI AD9161,
the hardware works in JESD204B subclass0, Lane rate=12.5Gbps.
The following problems are found during the actual evaluation. How can I troubleshoot the problem?
Ipcore's jesd204_tx_int model is pulled high,
I query the ipcore register address 0x60=8'h11, 0x80=8'h01, 0x54=8'h05,
through the register page:
https://www.altera.com/support/literature/ug /altera_jesd204_tx_regmap.html
The corresponding three register function explanations are explained in accordance with
https://www.intel.cn/content/www/cn/en/programmable/documentation/bhc1411117158599.html JESD204B Intel FPGA IP User Guide, Section 4.3. 4.
The description of Link Reinitialization (page 60), I still don't know how to reinitialize the entire jesd204b link, can I provide a more detailed Reinitialization process?
In addition, the JESD204B Intel FPGA IP User Guide page 61 has the following description: Hardware initiated link reinitialization can be globally disabled through the
csr_link_reinit_disable register for debug purposes. But I did not find the description of csr_link_reinit_disable register in altera_jesd204_tx_regmap.html,
only bit 0 with address 0x54 is csr_link_reinit. The literal meaning is not the function of Hardware initiated link reinitialization. Is this place I understand wrong?
How should I implement the Hardware initiated link reinitialization function?
Www.altera.com
Https://www.altera.com/support/literature/ug/altera_jesd204_tx_regmap.html
Please check my replies to your questions:
1. The following problems are found during the actual evaluation. How can I troubleshoot the problem?
Ipcore's jesd204_tx_int model is pulled high
jesd204_tx_int is the interrupt pin for JESD204B IP core. Interrupt is asserted when there is an error or sync is detected.
As described in Table 23, Pg 84 (of JESD204B user guide), please configure tx_err_enable register to identify the type of error.
https://www.intel.cn/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_jesd204b.pdf
You will need to disable the register bits by setting 0 to disable the specific error type from generating the interrupt.
Please let me know the type of error for further debug. I can provide my analysis and make recommendation based on this.
https://www.intel.com/content/www/us/en/programmable/support/literature/ug/altera_jesd204_tx_regmap.html
Another method is by observing the status signals in signaltap and system console to identify the issue. Please refer to section 6.7 on debugging JESD204B link using system console from the JESD204B user guide.
2. I still don't know how to reinitialize the entire jesd204b link, can I provide a more detailed Reinitialization process?
The Pg61 only describes the supported link re-initialization mode which is hardware and software for both Tx and Rx. This page does not provide the method how to trigger hardware link re-initialization.
I will describe below (in Question 4) on how to trigger link re-initialization.
3. But I did not find the description of csr_link_reinit_disable register in altera_jesd204_tx_regmap.html,
only bit 0 with address 0x54 is csr_link_reinit. The literal meaning is not the function of Hardware initiated link reinitialization. Is this place I understand wrong?
Yes the csr_link_reinit_disable is not meant to trigger link re-initialization. This CSR bit is only meant to disable the hardware link re-initialization capability for debugging purpose.
4. How should I implement the Hardware initiated link re-initialization function?
Hardware link re-initialization can only be issued as an interrupt when error occurs depending on error type. Hardware link re-initialization is automatic and cannot be triggered using CSR register write.
Software initiated link re-initialization is supported by both Tx and Rx IP core.
The software can request link re-initialization as following:
i. For TX, the software initiate IP core to transmits /K/ character. This re-trigger link re-initialization.
ii. For RX, the software initiate IP core to assert SYNC_N to request for link re-initialization.
Regards,
Nathan