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.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:22] | reserved | Reserved. | |
| [21] | ALL_LANES_LOCKED | RO | Every connection in STREAM_LANES is locked. |
| [20:18] | RECONFIG_STATE | RO | Line 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_RETRIES | RO | Extra PLL resets the last request needed. |
| [15:14] | RECONFIG_ERR_CODE | RO | Error of the last request: 1 DRP no answer, 2 reset not acknowledged, 3 reset done never back. |
| [13] | RECONFIG_ERR | RO | The last request failed. |
| [12] | RECONFIG_PEND | RO | A request is latched and not yet launched. |
| [11] | RECONFIG_BUSY | RO | A line rate change is running. |
| [10] | VIDEO_FIFO_FULL | RO | Video FIFO full. |
| [9] | VIDEO_FIFO_RST | RO | Video FIFO in reset. |
| [8] | EVENT_FIFO_EMPTY | RO | Event FIFO empty. |
| [7] | EVENT_FIFO_RST | RO | Event FIFO in reset. |
| [6] | ACK_FIFO_EMPTY | RO | Control acknowledge FIFO empty. |
| [5] | ACK_FIFO_RST | RO | Control acknowledge FIFO in reset. |
| [4] | CMD_FIFO_FULL | RO | Control command FIFO full. |
| [3] | CMD_FIFO_RST | RO | Control command FIFO in reset. |
| [2] | RX_LOCKED | RO | Connection 0 word aligned and locked. |
| [1] | MMCM_LOCKED | RO | Low-speed clock MMCM locked. |
| [0] | XCVR_READY | RO | Transceiver reset done. |
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.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:4] | reserved | Reserved. | |
| [3] | APPLY | RW | 1 = start the rate change. |
| [2:0] | RATE | RW | Line rate code, CXP-1 to CXP-12. The supplied driver holds the code table. |
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).
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:2] | reserved | Reserved. | |
| [1] | LS_RATE | RW | 0 = 20.83 Mb/s, 1 = 41.67 Mb/s. |
| [0] | TAGGED | RW | 1 = tagged control commands (CXP 2.x). |
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.
| Bits | Field | Access | Description |
|---|---|---|---|
| [31:8] | reserved | Reserved. | |
| [7] | TEST_START | WP | Start sending test packets. |
| [6] | TEST_STOP | WP | Stop sending test packets. |
| [5] | CTRL_CMD | WP | Send the control command. |
| [4] | TRIG_ACK | WP | Send a trigger acknowledge. |
| [3:0] | TRIG | WP | Send a trigger. |
| Offset | Name | Access | Meaning |
|---|---|---|---|
| 0x054 | CXP_ERRORS_HS | W1C | One sticky flag per high-speed error counter (0x0F0 to 0x13C). Write 1 to clear. Any flag raises the HS_ERR interrupt. |
| 0x058 | CXP_ERRORS_LS | W1C | One sticky flag per uplink error counter (0x140, 0x144). Write 1 to clear. Any flag raises the LS_ERR interrupt. |
| 0x064 | STREAM_PCKT_MAX | RW | Stream packets larger than this are counted in STREAM_PCKT_MAX_ERRS. Set it to the StreamPacketSizeMax negotiated with the Device. |