Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21216 Discussions

The rx_is_lockedtoref in Native PHY cannot be stabilized at 1

lancewang
Beginner
427 Views

I am using L-Tile/H-Tile Transceiver Native PHY Intel Stratix 10 FPGA IP and configured as RX Simplex Transceiver Mode. Select the Enable rx_is_lockedtoref port and Enable rx_is_lockedtodata port in RX PAM from RX PMA.

TX connects to the FPGA platform through FMCP and sends a stable set of values from TX to the FPGA. According to the waveform captured by QUARTUS,  rx_is_lockedtodata has always been 1, but  rx_is_lockedtoref keeps switching between 0 and 1.

What are the reasons for the above phenomenon? How to make  rx_is_lockedtoref stable at 1?

Labels (1)
0 Kudos
6 Replies
FvM
Honored Contributor II
398 Views

Hi,
it's expected behaviour, please review XCVR PHY user guide, pg. 361

5.1.2.2.2. Lock-to-Data Mode
During normal operation, the CDR must be in LTD mode to recover the clock from the incoming serial data. In LTD mode, the PD in the CDR tracks the incoming serial data at the receiver input. Depending on the phase difference between the incoming data and the CDR output clock, the PD controls the CDR charge pump that tunes the VCO.

Note:
The PFD is inactive in LTD mode. The rx_is_lockedtoref status signal goes high and low randomly, and is not significant in LTD mode.

Regards

Frank

0 Kudos
lancewang
Beginner
343 Views

HI Frank,

What are the conditions for entering LTD mode?

How to make the rx_is_lockedtoref signal always be 1?

0 Kudos
FvM
Honored Contributor II
312 Views

Hi,
not sure what you want to achieve. CDR PLL can be either locked to reference clock or data, not both. To receive data, LTD mode must be enabled. User guide describes operation with automatic mode switching:
"The CDR initially locks onto the reference clock, causing it to operate near the received data rate. After locking to the reference clock, the CDR transitions to lock-to-data mode where it adjusts the clock phase and frequency based on incoming data."

lancewang
Beginner
290 Views

The problem I'm having now is that at a serial data rate of 16Gpbs, the locktodata signal is always 1, the locktoref signal is toggle between 0 and 1 , and the link is bit errored. So I want to know if the generation of this bit error is related to the B signal? If it is not related to the B signal, what could be the cause?

The configuration under menu Datapath Options is as follows,

1.Transceiver channel type : GX

2.Transceiver configuration rules : Basic(Enhanced PCS)

3.PMA configuration rules : basic

4.Transceiver mode : RX Simplex

5.Number of data channels : 1

6.Data rate : 16000Mbps

7.Enable datapath and interface reconfiguration : Not selected

8.Enable simplified data interface : Selected

9.Enable double rate transfer mode : Not selected

The configuration under menu RX PMA is as follows,

1.Number of CDR reference clock :1

2.Selected CDR refclock : 0

3.Selected CDR refclock frequency: 100.000000MHz

4.PPM detector threshold : 1000PPM

All other menu contents use the default values.

0 Kudos
FvM
Honored Contributor II
258 Views

Where do you see link error?

0 Kudos
lancewang
Beginner
143 Views

I've found the reason, thank you for your help

0 Kudos
Reply