Agilex E-TILE CPRI PHY
HI
I use the Intel Agilex FPGA – AGFB014R24B2E2V.
I created the CPRI Phy IP to Line-rate 8 (LR8 (64/66)) and below (LR7 (8/10), LR6 and etc.) – It is not allowed to attache the IP.
When I load the FPGA with the SOF file I can immediately set the line rate to LR8 by setting the CPRI PHY Register 0xC00 to 0x9 (as mentioned in page 320 of the attached UG20160) and it works great (no need even calibration or adaptation).
However, when I want to change the line rate to LR7 by changing the CPRI PHY Register 0xC00 to 0x6 (as mentioned in the UG same page) and changing also the ref_clk to the 153.6 MHz input (changing the phy register 0xEC), the o_sl_rx_ready stays low
no matter if I do calibration, initial/continuous adaptation, reset the Data path, the PMA and/or Rx/Tx PCS or changing PMA attributes such Rx Phase Slip (0x000E to 0x9000), TX/RX Width Mode (0x0014 to 0x0011 or the TX/Rx Channel Divide By Ratio (0x0005 to 0x8120).
Also, when I go back to LR8 – again by changing the CPRI PHY Register 0xC00 to 0x9 and the ref_clk to the 184.32 MHz input – the ready port (o_sl_rx_pcs_ready) stays low.
Another aspect is the Rx Parallel recovered clock (o_rx_clkout2) and the Tx Parallel running clock (o_tx_clkout2).
When I change the line rate from LR8 to LR7 (doing the above steps) the parallel clocks don’t changed from 153.6 MHz (10,137.6 MHz/66) to 491.52 MHz (9,830.4 MHz/20) as expected.
So as I asked before my question is what are the exact steps I should do to change the line rate from LR8 to LR7 and vice versa.
Another thing is that in the UG683860 (Atached page 127 - chp. 4.4.2.1) it is said that in order to make the transition from LR8 to LR7 we need to do the procedure which is described in the c3_reconfig.c file which is in the example design directory (under the Software directory). However, when I created the example design (and I did it several times) the software directory with all its C files was not created.
Can you please send me the example design C files (including th c3_reconfig.c file)?
Best Regards,
Arik
Ubiqam