Visible to Intel only — GUID: aql1590514634752
Ixiasoft
2.6.3. PMA Adaptation Flow
The Interlaken (2nd Generation) Intel® FPGA IP does not start PMA adaptation in L- and H-tile device variations. If you want to enable PMA adaptation, you must start through transceiver PHY reconfiguration interface. Refer to Adaptation Control- Start section of the Intel® Stratix® 10 L- and H-tile Transceiver PHY User Guide for information on how to start PMA adaptation through transceiver PHY reconfiguration interface.
For your E-tile Interlaken IP core variations, perform the following steps to start PMA adaptation:
- Set the operation mode:
- Write 0x200 = 0x1F.
- Write 0x201 = 0x00.
- Write 0x202 = 0x00
- Write 0x203 = 0x93. This picks the opcode for SET_OPERATION_MODE.
Note: Values set for 0x200 and 0x201 are just examples. Refer to Figure: Loading PMA Configuration Register SET_OPERATION_MODE in E-tile Transceiver PHY User Guide for 32-bits decoding and set it according to your design intent. - Load recipe3:
- Write 0x40143 = 0x80. Loads the PMA configuration to all channels ( 0x40143 and 0x40144 can only be accessed from channel 0).
- Read 0x40144[0] until it reports 0x1. This ensures the process is not timed out.
- Start adaptation:
- Write 0x200 = 0xF2.
- Write 0x201 = 0x03.
- Write 0x202 = 0x01.
- Write 0x203 = 0x96.
Note: Values set for 0x200, 0x201, and 0x202 are just examples. Refer to Figure: Loading PMA Configuration Register START_ADAPTATION in E-tile Transceiver PHY User Guide for 32-bits decoding and set it according to your design intent.Note: PRBS will not be disabled automatically after calibration if you have already enabled it in SET_OPERATION_MODE and START_ADAPTATION. You need to turn it off manually. - Check ical status:
check_stat_cal command can be run after start_cal command to return the calibration status:
- Write 0x200 = 0x01.
- Write 0x201 = 0x00.
- Write 0x202 = 0x00.
- Write 0x203 = 0x97.
- Poll on 0x204 and process the following status:
- If 0x204 = 0x91, PMA adaptation in progress
- If 0x204 = 0x80, PMA adaptation done
- If 0x204 = 0xe2, Continuous adaptation is running
- If 0x204 = 0xa2, One time adaptation in progress
3 If load recipe is required.