These registers mirror the SLVS-EC Configuration Register of the sensor. They are quasi-static: write them while the sensor is idle, before it starts streaming.
Pixel Bit of the sensor mode (SLVS-EC Configuration Register). Must be programmed before the sensor streams.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:5] | reserved | 0 | Reserved, write 0. | |
| [4:0] | PIX_BIT | RW | 0 | Bits per pixel: 8, 10, 12, 14 or 16. |
Line Length of the sensor mode, in pixels: the sensor’s pixels per line, for image lines and embedded data lines alike. A multiple of 4 at 1, 2, 4 and 6 lanes, a multiple of 8 at 8 lanes. The core cuts every line at this length, so payload stuffing never reaches an output. When the sensor carries the line length in the packet header, the core uses the header value.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:17] | reserved | 0 | Reserved, write 0. | |
| [16:0] | LINE_LENGTH | RW | 0 | Pixels per line. Multiple of 4 (1, 2, 4, 6 lanes) or 8 (8 lanes). The core uses bits [15:0]. |
Selects the payload ECC the sensor uses. Used by the ECC build, which keeps Option 1 or 2 on while an image streams; the supplied driver warns when it is off. Writing 0 also clears the three ECC counters.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:2] | reserved | 0 | Reserved, write 0. | |
| [1:0] | ECC_OPTION | RW | 0 | 00 = off; 01 = Option 1, 2 parity bytes per block, corrects 1 byte; 10 = Option 2, 4 parity bytes per block, corrects up to 2 bytes; 11 = reserved. |
Enables the payload CRC32 footer check when the sensor appends the footer. Used by the CRC build, which keeps it on while an image streams; the supplied driver warns when it is off.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:2] | reserved | 0 | Reserved, write 0. | |
| [1:0] | CRC_OPTION | RW | 0 | 00 = off; any other value = check the CRC32 footer of every packet. |
Where the last Reed-Solomon block of a line starts. Computed from Line Length and Pixel Bit; see Programming ECC_BLOCK. The supplied driver computes it for you.
| Bits | Field | Access | Reset | Description |
|---|---|---|---|---|
| [31:24] | reserved | 0 | Reserved, write 0. | |
| [23:16] | LAST_INFO_LEN | RW | 0 | Information length of the last block in bytes, multiple of 16 (16 to 224). |
| [15:8] | reserved | 0 | Reserved, write 0. | |
| [7:0] | LAST_BLOCK | RW | 0 | Index of the last block of the line. |