Forum Discussion

lancewang's avatar
lancewang
Icon for New Contributor rankNew Contributor
1 year ago

The rx_is_lockedtoref in Native PHY cannot be stabilized at 1

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?

6 Replies

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    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

    • lancewang's avatar
      lancewang
      Icon for New Contributor rankNew Contributor

      HI Frank,

      What are the conditions for entering LTD mode?

      How to make the rx_is_lockedtoref signal always be 1?

      • FvM's avatar
        FvM
        Icon for Super Contributor rankSuper Contributor

        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."

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    Where do you see link error?

    • lancewang's avatar
      lancewang
      Icon for New Contributor rankNew Contributor

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