Altera_Forum
Honored Contributor
16 years agorx_locktodata and rx_locktorefclk
I have a problem whit the Clock Recovery Unit.
I'm using the Serial RapidIO protocol through ALT2GXB megafunction. I tried to train the CRU by asserting the rx_locktorefclk at a certain frequency (for example 125MHz to rx_cruclk clock). After this, i switch from lock-to-reference to lock-to-data asserting rx_locktodata (and optionally de-asserting rx_locktorefclk). To rx_datain port, i send 2-byte-encoded (i.e. 20 bits/clock cycle, at 2,5GHz frequency). Thanks to the encoder 8b10b, rx_datain port reads 6 "ones" and 6 "zeros" during a clock cycle. The problem is that the CRU PLL continues to operate in lock-to-reference mode. In fact, if i change the frequency at rx_cruclk port, the rx_clkout follows it!