Document ID
APT-DS-CXP-HOST-0001
Revision
1.0
IP version
2.2.1
Release date
November 2026
Chapter 4: Register Map

4.5Link status and control

0x050CXP_STATUSRO

Live status of the receiver. Bits [20:11] describe the last line rate request and are laid out the same in the Host and the Device core.

BitsFieldAccessDescription
[31:22]reservedReserved.
[21]ALL_LANES_LOCKEDROEvery connection in STREAM_LANES is locked.
[20:18]RECONFIG_STATEROLine rate change state: 0 idle, 1 DRP writes, 2 reset held, 3 waiting for the reset to be taken, 4 waiting for reset done.
[17:16]RECONFIG_RETRIESROExtra PLL resets the last request needed.
[15:14]RECONFIG_ERR_CODEROError of the last request: 1 DRP no answer, 2 reset not acknowledged, 3 reset done never back.
[13]RECONFIG_ERRROThe last request failed.
[12]RECONFIG_PENDROA request is latched and not yet launched.
[11]RECONFIG_BUSYROA line rate change is running.
[10]VIDEO_FIFO_FULLROVideo FIFO full.
[9]VIDEO_FIFO_RSTROVideo FIFO in reset.
[8]EVENT_FIFO_EMPTYROEvent FIFO empty.
[7]EVENT_FIFO_RSTROEvent FIFO in reset.
[6]ACK_FIFO_EMPTYROControl acknowledge FIFO empty.
[5]ACK_FIFO_RSTROControl acknowledge FIFO in reset.
[4]CMD_FIFO_FULLROControl command FIFO full.
[3]CMD_FIFO_RSTROControl command FIFO in reset.
[2]RX_LOCKEDROConnection 0 word aligned and locked.
[1]MMCM_LOCKEDROLow-speed clock MMCM locked.
[0]XCVR_READYROTransceiver reset done.
0x05CCXP_RATE_TRANSRW

Writing bit 3 = 1 starts a line rate change to the speed in bits [2:0]: the core rewrites the transceiver PLL and dividers over DRP, resets the PLL and datapath, and waits for the transceiver to come back. A request that arrives while one runs is kept (newest wins) and runs next. Progress and errors are in CXP_STATUS[20:11]; the RATE_DONE and RATE_ERR interrupts report the end.

BitsFieldAccessDescription
[31:4]reservedReserved.
[3]APPLYRW1 = start the rate change.
[2:0]RATERWLine rate code, CXP-1 to CXP-12. The supplied driver holds the code table.
0x070CXP_LS_MODERW

Bit 0: CXP 2.x tagged control commands. Bit 1: uplink rate, 0 = 20.83 Mb/s, 1 = 41.67 Mb/s (CXP-10 and CXP-12).

BitsFieldAccessDescription
[31:2]reservedReserved.
[1]LS_RATERW0 = 20.83 Mb/s, 1 = 41.67 Mb/s.
[0]TAGGEDRW1 = tagged control commands (CXP 2.x).
0x074CXP_LS_SENDWP

Writing a 1 sends the matching packet on the uplink: a trigger, a trigger acknowledge, the control command built in the control channel registers, or the connection test start and stop. Reads 0.

BitsFieldAccessDescription
[31:8]reservedReserved.
[7]TEST_STARTWPStart sending test packets.
[6]TEST_STOPWPStop sending test packets.
[5]CTRL_CMDWPSend the control command.
[4]TRIG_ACKWPSend a trigger acknowledge.
[3:0]TRIGWPSend a trigger.
Table 4-4.Error flags and packet size.
OffsetNameAccessMeaning
0x054CXP_ERRORS_HSW1COne sticky flag per high-speed error counter (0x0F0 to 0x13C). Write 1 to clear. Any flag raises the HS_ERR interrupt.
0x058CXP_ERRORS_LSW1COne sticky flag per uplink error counter (0x140, 0x144). Write 1 to clear. Any flag raises the LS_ERR interrupt.
0x064STREAM_PCKT_MAXRWStream packets larger than this are counted in STREAM_PCKT_MAX_ERRS. Set it to the StreamPacketSizeMax negotiated with the Device.