SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Address Offset | 0x0000 0000 | ||
Physical Address | 0x489B 0800 0x489B 0900 | Instance | CAMERARX_CORE_0 CAMERARX_CORE_1 |
Description | First register. Note: For detailed description on parameter functionality, refer to MIPI D-PHY Specification v1.00.00. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESERVED | HSCLOCKCONFIG | RESERVED | THS_TERM | THS_SETTLE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:25 | RESERVED | Reserved fields | NA | 0x00 |
24 | HSCLOCKCONFIG | Disable clock missing detector | RW | 0 |
23:16 | RESERVED | Read returns zero | R | 0x00 |
15:8 | THS_TERM | THS_TERM timing parameter in multiples of DDR clock frequency. Effective time for enabling of termination = synchronizer delay + timer delay + LPRX delay + combinational routing delay ~ (1–2)* DDRCLK + THS-TERM + ~ (1 –15) ns. Programmed value = floor(20 ns/DDR_CLK), where DDR_CLK is the period of the CSI-2 I/O lane rate. Default value: 4 (for 400 MHz). | RW | 0x04 |
7:0 | THS_SETTLE | THS_SETTLE timing parameter in multiples of DDR clock frequency. Effective THS_SETTLE seen on line (starting to look for sync pattern) = synchronizer delay + timer delay + LPRX delay + combinational routing delay – pipeline delay in HS data path ~ (1–2)* DDRCLK + THS-SETTLE + ~ (1–15) ns –1*DDRCLK. Programmed value = floor(105 ns/DDR_CLK) + 4, where DDR_CLK is the period of the CSI-2 I/O lane rate. Default value: 39 (for 400 MHz). Minimum supported THS-SETTLE programmed value = 3. | RW | 0x27 |
CAMSS Functional Description |
CAMSS Register Manual |
Address Offset | 0x0000 0004 | ||
Physical Address | 0x489B 0804 0x489B 0904 | Instance | CAMERARX_CORE_0 CAMERARX_CORE_1 |
Description | Second register. Note: For detailed description on parameter functionality, refer to MIPI D-PHY Specification v1.00.00. | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RESVD_READ_BIT | RESET_DONE_STATUS | RESERVED | CLOCK_MISS_DETECTOR_STATUS | TCLK_TERM | DPHY_HS_SYNC_PATTERN | CTRLCLK_DIV_FACTOR | TCLK_SETTLE |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:30 | RESVD_READ_BIT | Reserved bit | NA | 0x0 |
29:28 | RESET_DONE_STATUS | Reset done read bits. | R | 0x0 |
28: RESETDONERXBYTECLK Note: BYTECLK is provided to the CSI2 low level protocol | ||||
29: RESETDONECTRLCLK Note: This is the CTRLCLK provided to the PHY from the PRCM module. | ||||
27:26 | RESERVED | Write 0 for future compatibility. | RW | 0x0 |
25 | CLOCK_MISS_DETECTOR_STATUS | Clock missing detector status. Internal debug bit. 1: Error in clock missing detector. | R | 0 |
0: Clock missing detector successful Note: CLKMISS detector is likely to malfunction, if tclk-trail section CAMSS Interrupt Events (60ns) is not honoured. | ||||
24:18 | TCLK_TERM | TCLK_TERM timing parameter in multiples of CTRLCLK Effective time for enabling of termination = synchronizer delay + timer delay + LPRX delay + combinational routing delay ~ (1–2)* CTRLCLK + TCLK_TERM + ~ (1–15) ns Programmed value = ceil(9.5 / CTRLCLK period) – 1 Default value : 0 (for 96 MHz) | RW | 0x00 |
17:10 | DPHY_HS_SYNC_PATTERN | DPHY mode HS sync pattern in byte order (reverse of received order) See Section 10.4.5.4, CSI2 PHY Error Signals. | RW | 0xB8 |
9:8 | TCLK_DIV | CTRLCLK_DIV_FACTOR Divide factor for CTRLCLK for CLKMISS detector Programmed value = ceil (15ns/CTRLCLK Period) - 1 Default value: 1 (for 96 MHz) CLKMISS detection time = (5*TCLK_DIV+1)*(CTRLCLK period) < 60ns Note: Only the CTRLCLK frequencies that satisfie above relationship are allowed. Typically, 96MHz will be used at CTRLCLK. | RW | 0x1 |
7:0 | TCLK_SETTLE | TCLK_SETTLE timing parameter in multiples of CTRLCLK Clock Effective TCLK_SETTLE = synchronizer delay + timer delay + LPRX delay + combinational routing delay ~ (1–2)* CTRLCLK + Tclk-settle + ~ (1 –15) ns Programmed value = max[3, ceil(155 ns/CTRLCLK period) –1] Default value: 14 (for 96 MHz) | RW | 0x0E |
CAMSS Functional Description |
CAMSS Register Manual |
Address Offset | 0x0000 0008 | ||
Physical Address | 0x489B 0808 0x489B 0908 | Instance | CAMERARX_CORE_0 CAMERARX_CORE_1 |
Description | Third register | ||
Type | RW |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TRIGGER_CMD_RXTRIGESC0 | TRIGGER_CMD_RXTRIGESC1 | TRIGGER_CMD_RXTRIGESC2 | TRIGGER_CMD_RXTRIGESC3 | CCP2_SYNC_PATTERN |
Bits | Field Name | Description | Type | Reset |
---|---|---|---|---|
31:30 | TRIGGER_CMD_RXTRIGESC0 | Mapping of Trigger escape entry command to PPI output RXTRIGGERESC0 00 : "01100010" 01 : "01011101" 10: "00100001" 11: "10100000" | RW | 0x0 |
29:28 | TRIGGER_CMD_RXTRIGESC1 | Mapping of Trigger escape entry command to PPI output RXTRIGGERESC1 00 : "01011101" 01 : "00100001" 10: "10100000" 11: "01100010" | RW | 0x0 |
27:26 | TRIGGER_CMD_RXTRIGESC2 | Mapping of Trigger escape entry command to PPI output RXTRIGGERESC2 00 : "00100001" 01 : "01100010" 10: "01100010" 11: "01011101" | RW | 0x0 |
25:24 | TRIGGER_CMD_RXTRIGESC3 | Mapping of Trigger escape entry command to PPI output RXTRIGGERESC3 00 : "10100000" 01 : "01100010" 10: "01011101" 11: "00100001" | RW | 0x0 |
23:0 | CCP2_SYNC_PATTERN(1) | CCP2 mode sync pattern in byte order (reverse of received order) See Section 10.4.5.4, CSI2 PHY Error Signals. | R | 0x0000FF |
CAMSS Functional Description |
CAMSS Register Manual |