Forum Discussion
Hi HPB,
Thanks for your update. As I understand it, you are using Enhanced PCS and thus the rx signal detect feature is not available. In this case, you may use the CDR lock-to-data status to tell if the TX has gone into electrical idle state. Additional info to share is that the CDR lock-to-data status will toggle when there is no valid data. Only when the assertion remain high for more than 4us would indicate the CDR has achieve LTD.
Regarding the RX data valid signal from the FIFO, this is part of the FIFO which is after the CDR. Thus, I think using CDR lock status would be more appropriate.
Please let me know if there is any concern. Thank you.
Best regards,
Chee Pin
- HBhat25 years ago
Contributor
Hi,
"
I understand that whenever transmitter is active both lock to data & lock to ref are asserted (1). Whenever the transmitter goes into electrical IDLE, the lock to data status in the corresponding receiver in the other side goes low (de-asserted) and receiver will continue to lock to ref only. Whenever the linked transmitter exits electrical IDLE, the CDR status of the receiver (lock to data) asserted again.
"
That means above understanding is correct & based on lock to data de-assertion & assertion, I can arrive at the conclusion that corresponding TX is in IDLE or not. [Apart from some delay to assert & de-assert the status]
With regards,
HPB
- CheepinC_altera5 years ago
Regular Contributor
Hi HPB, Just would like to further clarify on the behavior lock-to-data and lock-to-ref signals: "I understand that whenever transmitter is active both lock to data & lock to ref are asserted (1)." [CP] When transmitter is active and valid data present at the RX, the CDR will achieve LTD mode. The lock-to-data signal will be High. The lock-to-ref signal can be ignored (it may stay at High or toggling) "Whenever the transmitter goes into electrical IDLE, the lock to data status in the corresponding receiver in the other side goes low (de-asserted) and receiver will continue to lock to ref only." [CP] When there is no valid data present at the RX, the lock-to-data and lock-to-ref signals will be toggling. Please let me know if there is any concern. Thank you. Best regards, Chee Pin - HBhat25 years ago
Contributor
Hi,
Thanks for clarification. The toggling may not have any particular duration right? Is it possible to know what is the maximum time the LTD will be high (during toggling LTD will become High for some time & low for some time) although no valid data is present at RX?
With Regards,
HPB
- CheepinC_altera5 years ago
Regular Contributor
Hi HPB, Regarding what is the toggling duration of the RX LTD signal, sorry as there seems to be no specific information on this. However, as per my previous note, if the duration of assertion is > 4us, it means that the RX has achieve LTD. This 4us information is available in the user guide -> reset chapter. Please let me know if there is any concern. Thank you. Best regards, Chee Pin