This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
resources:fpga:peripherals:jesd204:jesd204_troubleshooting [23 Jan 2020 10:15] – Laszlo Nagy | resources:fpga:peripherals:jesd204:jesd204_troubleshooting [06 Feb 2020 16:52] – removed wraps Laszlo Nagy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Troubleshooting | + | ===== Troubleshooting JESD20B Tx/DAC links ===== |
- | + | ||
- | ==== JESD20B Tx/DAC links ==== | + | |
Running one of the below commands on a Linux based system will return the status of the JESD link. | Running one of the below commands on a Linux based system will return the status of the JESD link. | ||
Line 26: | Line 24: | ||
- | <WRAP important> | + | ====Missing JESD link layer peripheral, *.axi-jesd*/ |
+ | <WRAP center round box 100%> | ||
- | <WRAP alert> | + | **Cause:** Base address mismatch between HDL and device tree, adi, |
- | **Cause:**\\ | + | |
- | <WRAP tip> | + | **Identify: |
- | **Identify: | + | |
- | **Fix:**\\ Adjust addresses. For ZCU102 add 0x20000000 offset to the address used in HDL. | + | **Fix:** Adjust addresses. For ZCU102 add 0x20000000 offset to the address used in HDL. |
- | + | ||
- | </ | + | |
- | </ | + | |
</ | </ | ||
+ | ---- | ||
- | <WRAP important> | + | ====Link is DISABLED, In Linux boot log following appears: |
- | Link is DISABLED, In Linux boot log following appears: | + | < |
- | < | + | **Cause:** QPLL or CLL does not lock due missing reference clock. |
- | **Cause:**\\ | + | |
- | QPLL or CLL does not lock due missing reference clock. | + | |
- | <WRAP tip> | + | |
- | **Identify: | + | |
- | Check reference clock location constraints. Check if ref clock reaches the in use quads. | + | |
- | **Fix:**\\ | + | **Identify:** Check reference clock location constraints. |
- | Adjust | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP alert> | + | **Fix:** Adjust location constraints. |
- | **Cause:**\\ | + | |
- | QPLL or CLL does not lock due incorrect synthesis parameters. | + | |
- | <WRAP tip> | ||
- | **Identify: | ||
- | Check channel and common util_adxcvr parameters against ones created with the transceiver wizard. | ||
- | |||
- | **Fix:**\\ | ||
- | Adjust synthesis parameters of the util_adxcvr component. | ||
- | </ | ||
</ | </ | ||
- | < | + | < |
- | **Cause:**\\ | + | **Cause:** QPLL or CLL does not lock due incorrect synthesis parameters. |
- | QPLL or CLL does not lock due frequency mismatch of reference clock. Reference clock frequency is not the one the CPLL or QPLL was set to handle forcing the VCO go out of range. | + | |
- | <WRAP tip> | + | |
- | **Identify: | + | |
- | Check reference clock generation settings. | + | |
- | **Fix:**\\ | + | **Identify:** Check channel and common util_adxcvr parameters against ones created with the transceiver wizard. |
- | Adjust setting of the clock chip to generate the correct frequency. | + | |
- | </ | + | |
- | </ | + | |
+ | **Fix:** Adjust synthesis parameters of the util_adxcvr component. | ||
</ | </ | ||
- | < | + | < |
- | Link is DISABLED, In Linux boot log following appears: | + | **Cause:** QPLL or CLL does not lock due frequency mismatch of reference clock. Reference clock frequency |
- | <WRAP alert> | + | **Identify:** Check reference clock generation settings. |
- | **Cause:**\\ | + | |
- | QPLL can't find a configuration for desired lane rate with the given reference clock. | + | |
- | <WRAP tip> | + | **Fix:** Adjust setting of the clock chip to generate |
- | **Identify:**\\ | + | </ |
- | Check boot log. Check the required lane rate ref clock combination against | + | |
- | **Fix: | + | ---- |
- | Configure the clock chip for different reference clock or switch to CPLL. | + | |
- | </ | + | ====Link is DISABLED, In Linux boot log following appears: |
- | </WRAP> | + | < |
- | </ | + | **Cause:** QPLL can't find a configuration for desired lane rate with the given reference clock. |
+ | **Identify: | ||
+ | **Fix:** Configure the clock chip for different reference clock or switch to CPLL. | ||
+ | </ | ||
+ | ---- | ||
- | <WRAP important> | + | ====Link status stays in CGS and SYNC~ stays asserted==== |
+ | <WRAP center round box 100%> | ||
+ | **Cause:** SYNC~ signal does not reach link layer hdl component | ||
- | <WRAP alert> | + | **Identify:** Check location constraints against schematic |
- | **Cause:**\\ SYNC~ signal does not reach link layer hdl component | + | |
- | <WRAP tip> | + | **Fix:** Adjust location constraints to match the schematic |
- | **Identify: | + | |
- | Check location constraints against schematic | + | |
- | + | ||
- | **Fix:**\\ | + | |
- | Adjust location constraints to match the schematic | + | |
- | </ | + | |
</ | </ | ||
- | < | + | < |
- | **Cause:**\\ SYNC~ signal polarity reversed | + | **Cause:** SYNC~ signal polarity reversed |
- | <WRAP tip> | + | **Identify: |
- | **Identify: | + | |
- | Check constraints and schematic, look for any polarity inversion | + | |
- | **Fix:**\\ | + | **Fix:** Adjust location constraints to match the schematic |
- | Adjust location constraints to match the schematic | + | |
</ | </ | ||
- | </ | ||
- | |||
- | <WRAP alert> | ||
- | **Cause: | ||
+ | <WRAP center round box 100%> | ||
+ | **Cause:** JESD Rx can’t detect the CGS characters due different lane rate settings | ||
- | <WRAP tip> | + | **Identify: |
- | **Identify: | + | |
* Check if “Measured Link Clock” matches “Reported Link Clock” and “Lane Rate / 40” | * Check if “Measured Link Clock” matches “Reported Link Clock” and “Lane Rate / 40” | ||
- | * Check is lane rate is as expected | + | * Check is lane rate is as expected |
- | * If OUTDIV_CLK is used for link clock adjust out-clk-select to match Lane Rate/ 40 | + | * If OUTDIV_CLK is used for link clock adjust out-clk-select to match Lane Rate/ 40 |
* If dedicated link clock is used adjust the external clock chip from device tree to output a clock of Lane Rate / 40 | * If dedicated link clock is used adjust the external clock chip from device tree to output a clock of Lane Rate / 40 | ||
- | **Fix:**\\ | + | **Fix:** Some general rules that always should hold: |
- | Some general rules that always should hold: | + | |
* < | * < | ||
* < | * < | ||
* < | * < | ||
* If OUTDIV_CLK is used: < | * If OUTDIV_CLK is used: < | ||
- | Where: | + | Where: |
* M - // | * M - // | ||
* L - number of lanes per link, parameter of JESD IP | * L - number of lanes per link, parameter of JESD IP | ||
* NP - // | * NP - // | ||
* RefClock – reference clock for the transceivers | * RefClock – reference clock for the transceivers | ||
- | * SampleRate - rate of sample that feeds the JESD link | + | * SampleRate - rate of sample that feeds the JESD link |
- | * DACrate – DAC raw sample rate after interpolation, | + | * DACrate – DAC raw sample rate after interpolation, |
- | * TotalInterpolation – product of selected interpolations on the datapath e.g dacInterpolation *channelInterpolation | + | * TotalInterpolation – product of selected interpolations on the datapath e.g dacInterpolation *channelInterpolation |
* OutClkSel - // | * OutClkSel - // | ||
</ | </ | ||
- | </ | ||
- | </ | ||
- | <WRAP important> | + | ---- |
- | < | + | |
- | <WRAP tip> | + | ====Link status stays in DATA but output tone not as expected, raised noise floor==== |
- | **Identify: | + | < |
- | **Fix:** For each in use lane adjust the corresponding bit in the TX_LANE_INVERT parameter of the util_adxcvr component to match any polarity inversion from the schematic | + | **Cause:** Lane polarity inversion |
- | </ | + | |
- | </ | + | **Identify: |
+ | |||
+ | **Fix:** For each in use lane adjust the corresponding bit in the TX_LANE_INVERT parameter of the util_adxcvr component to match any polarity inversion from the schematic | ||
</ | </ | ||
- | <WRAP important> | + | ---- |
- | E.g.: Expected signal | + | |
- | {{ : | + | ====Link status stays in DATA but output not as expected==== |
- | < | + | E.g.: For a Link Clock: 184.320 MHz; Nothing |
- | <WRAP tip> | + | {{ : |
- | **Identify: | + | < |
+ | **Cause:** Mismatch in scrambling configuration. | ||
+ | |||
+ | **Identify: | ||
**Fix:** Adjust the above bits to match configuration. | **Fix:** Adjust the above bits to match configuration. | ||
- | </ | ||
- | </ | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ====Link status stays in DATA but output tone not as expected==== | ||
+ | <WRAP center round box 100%> | ||
+ | **Cause:** Swapped lanes, source ‘Lane n’ connects to other than sink ‘Lane n’; | ||
+ | |||
+ | **Identify: | ||
- | <WRAP important> | ||
- | <WRAP alert> **Cause: | ||
- | <WRAP tip> | ||
- | **Identify: | ||
**Fix:** Adjust link layer to physical layer connections in the FPGA block design through ad_xcvrcon procedure lane_map parameter; or \\Adjust crossbar from the DAC through the device tree nodes | **Fix:** Adjust link layer to physical layer connections in the FPGA block design through ad_xcvrcon procedure lane_map parameter; or \\Adjust crossbar from the DAC through the device tree nodes | ||
- | </ | ||
</ | </ | ||
- | </ | + | ---- |
+ | ====Link status stays in DATA but output tone not as expected, signal and its spectrum presents randomness==== | ||
+ | |||
+ | <WRAP center round box 100%> | ||
+ | **Cause:** Incorrect or missing constraint of the device clock (lane rate / 40) | ||
+ | |||
+ | **Identify: | ||
- | <WRAP important> | ||
- | <WRAP alert> **Cause: | ||
- | <WRAP tip> | ||
- | **Identify: | ||
**Fix:** In the constraints file define/ | **Fix:** In the constraints file define/ | ||
- | </ | ||
</ | </ | ||
- | </ | + | ---- |
- | <WRAP important> | + | ====SYSREF alignment error: Yes==== |
- | <WRAP alert> | ||
- | **Cause: | ||
- | < | + | < |
- | **Identify:**\\ template | + | **Cause:** |
- | **Fix:**\\ template | + | **Identify:** Check SYSREF generator parameters. |
+ | **Fix:** Set the frequency of SYSREF to be integer multiple of the reported local multiframe clock (LMFC) | ||
</ | </ | ||
+ | |||
+ | <WRAP center round box 100%> | ||
+ | **Cause: | ||
+ | |||
+ | **Identify: | ||
+ | |||
+ | **Fix:** Define timing constraints for SYSREF in edge aligned source synchronous interface mode and adjust device clock and SYSREF phase from the clock chip accordingly. | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Template ==== | ||
+ | <WRAP center round box 100%> | ||
+ | **Cause: | ||
+ | |||
+ | **Identify: | ||
+ | |||
+ | **Fix:** template | ||
</ | </ | ||
+ | ---- | ||
===== More Information ===== | ===== More Information ===== | ||
Line 221: | Line 203: | ||
===== Support ===== | ===== Support ===== | ||
Analog Devices will provide limited online support for anyone using the core with Analog Devices components (ADC, DAC, Video, Audio, etc) via the [[https:// | Analog Devices will provide limited online support for anyone using the core with Analog Devices components (ADC, DAC, Video, Audio, etc) via the [[https:// | ||
+ | |||
+ | ~~NOTOC~~ | ||