The user can refer to “ adi_board_adrv9010_JesdBringup “ API function in adi_adrv9010_daughter_board.c file. Take the link set up of De-framer 0 as an example. The JESD204 De-framer link bring up procedure in general follows the following steps on ADI EVB platform:
1. Mask all ADRV9010 De-framer sysref by call API function adi_adrv9010_DeframerSysrefCtrlSet();
2. Mask all sysref in FPGA side by call API function adi_fpga9010_SysRefEnableSet();
3. Disable all the FPGA framer by call API function adi_fpga9010_FramerDisable();
4. Disable all the ADRV9010 De-framers by call API function adi_adrv9010_ DfrmLinkStateSet ();
5. Override FPGA side DFE LPM in PHY before sending sysref by call API function adi_fpga9010_ChannelDfeLpmOverrideSet()
6. Unmask incoming sysref in FPGA framer;
7. Reset FPGA Framer;
8. Clock chip send out one shot sysref to FPGA framer to start the data sending;
9. Mask the sysref of the FPGA Framer;
10. Disable ADRV9010 De-framer0 by call API function adi_adrv9010_DfrmLinkStateSet() ;
11. Enable ADRV9010 De-framer0 by call API function adi_adrv9010_DfrmLinkStateSet ();
12. Unmask incoming sysref in ADRV9010 De-framer0 by call API function adi_adrv9010_DeframerSysrefCtrlSet ();
13. Clock chip send out one shot sysref to ADRV9010 De-framer;
14. Mask incoming sysref in ADRV9010 De-framer0 by call API function adi_adrv9010_DeframerSysrefCtrlSet ();
15. Check ADRV9010 De-framer status by call API function adi_adrv9010_DeframerStatusGet();