Visible to Intel only — GUID: yiu1558444886125
Ixiasoft
Visible to Intel only — GUID: yiu1558444886125
Ixiasoft
5.4. SYSREF Sampling
You can choose to enable continuous SYSREF sampling or a single SYSREF detection.
The software logic programs the clock cleaner to the SPI to enable SYSREF generation. To resample SYSREF , the software logic writes to the SYSREF_CTRL registers to enable either a continuous sampling or a single detection. If both bits are enabled, continuous sampling takes precedence.
You may want to disable SYSREF sampling after some time. Disabling SYSREF sampling also disables the continuous sampling mode, and subsequently programs the clock cleaner to disable SYSREF output.
Consider one of the following recommendations to configure the SYSREF resampling flow:
- Set the sysref_singledet, sysref_alwayson, and sysref_lemc_err_en_reinit register bits to 1.
- If a new SYSREF edge is detected, the JESD204C IP clears the sysref_singledet bit and automatically starts a link reinitialization.
- All the Avalon® streaming interface signals return to default state.
- The LEMC block resets to reflect the newly detected SYSREF edge.
- All the Avalon® streaming interface signals are active again based on a new LEMC data.
- If LEMC error interrupt is enabled, the JESD204C needs to service and clear the error.
- Set the sysref_singledet bit to 1 and sysref_alwayson bit to 0.
- If a new SYSREF edge is detected, the JESD204C IP clears the sysref_singledet bit, but no automatic start of link reinitialization.
- All the Avalon® streaming interface signals remain active.
- The LEMC block resets to reflect the newly detected SYSREF edge.
- In the TX IP, the egress sync header (SH) adjusts as LEMC undergoes realignment to the new SYSREF edge. The corresponding RX (that receives the adjusted SH) may subject to SH-related errors.
- In the RX IP, the ingress Avalon® streaming data does not get affected because the change of LEMC does not impact the already streaming data. However, the link loses its deterministic latency characteristic. To restore the deterministic latency behavior, a link reinitialization is required.
- You must set the link_reinit bit to 1 after sysref_singledet clears to start a link reinitialization.
- All the Avalon® streaming interface signals return to default state, and get reactivated based on a new LEMC data.
- For TX core: If the the link_reinit bit asserts), the Avalon® streaming interface deactivates. After the link reinitialization is complete, the Avalon® streaming interface gets activated only when the sysref_singledet deasserts.
- For RX core: If the the link_reinit bit asserts, the Avalon® streaming interface deactivates. After the link reinitialization is complete, the Avalon® streaming interface gets activated only when the sysref_singledet deasserts, and SH (j204c_rx_sh_lock) and EMB (j204c_rx_emb_lock) have achieved lock.