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

4.5Link status and control

0x050CXP_STATUSRO

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

BitsFieldAccessDescription
[31:21]reservedReserved.
[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 transmitter 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]HS_STREAM_ACTIVEROThe stream is on.
[9]HS_HRTBT_DONEROHeartbeat generator idle.
[8]HS_EVENT_FIFO_FULLROEvent FIFO full.
[7]HS_EVENT_FIFO_RSTROEvent FIFO in reset.
[6]HS_CNTRL_FIFO_FULLROAcknowledge FIFO full.
[5]HS_CNTRL_FIFO_RSTROAcknowledge FIFO in reset.
[4]LS_CNTRL_FIFO_EMPTYROReceived command FIFO empty.
[3]LS_CNTRL_FIFO_RSTROReceived command FIFO in reset.
[2]LS_WORD_ALIGNEDROUplink receiver word aligned: a Host is there.
[1]LS_BYTE_ALIGNEDROUplink receiver byte aligned.
[0]TX_RESET_DONEROTransmitter reset done.
0x05CCXP_TIMEOUTSW1C

Set when the stream or the test path does not confirm an on or off request within ACK_TIMEOUT. Any flag raises ACK_ERR.

BitsFieldAccessDescription
[31:4]reservedReserved.
[3]TEST_OFFW1CTest packets off not confirmed.
[2]TEST_ONW1CTest packets on not confirmed.
[1]STREAM_OFFW1CStream off not confirmed.
[0]STREAM_ONW1CStream on not confirmed.
0x060CXP_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. The Device refuses rate code 7 with SLVERR.

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.
0x080CXP_LS_MODERW

Bit 0: CXP 2.x operation (tagged commands, heartbeat). Bit 1: extra low-speed trigger.

BitsFieldAccessDescription
[31:2]reservedReserved.
[1]LS_TRIG_EXTRARWExtra low-speed trigger.
[0]CXP2RW1 = CXP 2.x: tagged commands and heartbeat.
Table 4-4.Error flags, packet size and Host ID.
OffsetNameAccessMeaning
0x054CXP_ERRORS_HSW1CSticky flags of the downlink packet builders, including errors in an acknowledge built by firmware (bits [6:0]). Write 1 to clear. Any flag raises HS_ERR.
0x058CXP_ERRORS_LSW1CSticky flags of the uplink receiver. Write 1 to clear. Any flag raises LS_ERR.
0x068CXP_STREAM_PCKT_MAXRWStreamPacketSizeMax agreed with the Host. 0 = no stream packets.
0x0B0CXP_TX_MSTR_IDRWThe MasterHostConnectionID written by the Host at discovery. Goes into event and heartbeat packets.