8.1. MIPI DSI-2 IP Base Registers
The following 32-bit status registers are accessible when the Control and Status Registers (CSRs) option is enabled. Addresses are given as byte offsets from the base address of the MIPI DSI-2 instance. When accessed using 32-bit word addresses, these offsets should be divided by four.
| Address | Register Name | Access | Default | Bits | Description |
|---|---|---|---|---|---|
| 0x00 | LANES | RO | 0x02 | 3:0 | Data lanes configured in IP. |
| 0x04 | PIXELS_IN_PARALLEL | RO | 0x02 | 3:0 | Pixels in parallel configured in IP. |
| 0x08 | DATA_TYPE | RO |
0x3E | 5:0 | MIPI DSI-2 video data type value configured in IP. |
| 0x0C | FRAME_WIDTH_PIXELS | RO | 0x0080 | 15:0 | Frame width (pixels per video line) configured in IP. |
| 0x10 | BYTES_PER_LANE | RO | 0x02 | 4:0 | PPI width in bytes configured in IP. |
| 0x14 | FEATURE_ENABLE | RO | 0x03 | 1 | ECC insertion configured in IP, 1 = enabled. |
| 0 | CRC insertion configured in IP, 1 = enabled. | ||||
| 0x18 | FRAME_COUNT | RO | 0x00 | 31:0 | Counter incremented on each video frame start sent. |
| 0x1C | LINE_COUNT | RO | 0x00 | 31:0 | Counter incremented on each video line start sent. |
| 0x20 | PIXEL_COUNT | RO | 0x00 | 31:0 | Counter incremented on each video pixel sent. |
| 0x24 | COLLISION | RO | 0x00 | 1:0 | Internal collision detection. If either of these bits is set then an internal fault has occurred. |