SNVU926 October 2024 LP5810
Table 2-5 lists the memory-mapped registers for the Config registers. All register offset addresses not listed in Table 2-5 should be considered as reserved locations and the register contents should not be modified.
| Offset | Acronym | Register Name | Section |
|---|---|---|---|
| 1h | Dev_Config_0 | Device configuration register 0, including max current sinks current settings | Go |
| 2h | Dev_Config_1 | Device configuration register 1, including LED configuration and PWM frequency settings | Go |
| 3h | Dev_Config_2 | Device configuration register 2, reserved | |
| 4h | Dev_Config_3 | Device configuration register 3, including autonomous enable settings for LED_0 to LED_3 | Go |
| 5h | Dev_Config_4 | Device configuration register 4, reserved | |
| 6h | Dev_Config_5 | Device configuration register 5, including exponential curve enable settings for LED_0 to LED_3 | Go |
| 7h | Dev_Config_6 | Device configuration register 6, reserved | |
| 8h | Dev_Config_7 | Device configuration register 7, including phase shiftt settings for LED_0 to LED_3 | Go |
| 9h | Dev_Config_8 | Device configuration register 8, reserved | |
| Ah | Dev_Config_9 | Device configuration register 9, reserved | |
| Bh | Dev_Config_10 | Device configuration register 10, reserved | |
| Ch | Dev_Config_11 | Device configuration register 11, including line change time and VSYNC settings | Go |
| Dh | Dev_Config_12 | Device configuration register 12, including threshold and action settings for LOD, LSD and clamp | Go |
Complex bit access types are encoded to fit into small table cells. Table 2-6 shows the codes that are used for access types in this section.
| Access Type | Code | Description |
|---|---|---|
| Read Type | ||
| R | R | Read |
| Write Type | ||
| W | W | Write |
| Reset or Default Value | ||
| -n | Value after reset or the default value | |
Dev_Config_0 is shown in Figure 2-2 and described in Table 2-7.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | max_current | ||||||
| R-0h | R/W-0h | ||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-1 | RESERVED | R | 0h | Reserved |
| 0 | max_current | R/W | 0h | Max output current setting; 0h = 25.5mA; 1h = 51mA |
Dev_Config_1 is shown in Figure 2-3 and described in Table 2-8.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| pwm_fre | led_mode | RESERVED | |||||
| R/W-0h | R/W-0h | R-0h | |||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7 | pwm_fre | R/W | 0h | PWM dimming frequency setting; 0h = 24kHz; 1h = 12kHz |
| 6-4 | led_mode | R/W | 0h | LED mode configuration; 0h = Direct drive mode; |
| 3-0 | RESERVED | R | 0h | Reserved |
Dev_Config_2 is shown in Figure 2-4 and described in Table 2-9.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-0 | RESERVED | R | 0h | Reserved |
Dev_Config_3 is shown in Figure 2-5 and described in Table 2-10.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | auto_en_3 | auto_en_2 | auto_en_1 | auto_en_0 | |||
| R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-4 | RESERVED | R | 0h | Reserved |
| 3 | auto_en_3 | R/W | 0h | LED_3 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode |
| 2 | auto_en_2 | R/W | 0h | LED_2 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode |
| 1 | auto_en_1 | R/W | 0h | LED_1 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode |
| 0 | auto_en_0 | R/W | 0h | LED_0 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode |
Dev_Config_4 is shown in Figure 2-6 and described in Table 2-11.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-0 | RESERVED | R | 0h | Reserved |
Dev_Config_5 is shown in Figure 2-7 and described in Table 2-12.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | exp_en_3 | exp_en_2 | exp_en_1 | exp_en_0 | |||
| R-0h | R/W-0h | R/W-0h | R/W-0h | R/W-0h | |||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-4 | RESERVED | R | 0h | Reserved |
| 3 | exp_en_3 | R/W | 0h | LED_3 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve |
| 2 | exp_en_2 | R/W | 0h | LED_2 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve |
| 1 | exp_en_1 | R/W | 0h | LED_1 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve |
| 0 | exp_en_0 | R/W | 0h | LED_0 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve |
Dev_Config_6 is shown in Figure 2-8 and described in Table 2-13.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-0 | RESERVED | R | 0h | Reserved |
Dev_Config_7 is shown in Figure 2-9 and described in Table 2-14.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| phase_align_3 | phase_align_2 | phase_align_1 | phase_align_0 | ||||
| R/W-0h | R/W-0h | R/W-0h | R/W-0h | ||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-6 | phase_align_3 | R/W | 0h | LED_3 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align |
| 5-4 | phase_align_2 | R/W | 0h | LED_2 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align |
| 3-2 | phase_align_1 | R/W | 0h | LED_1 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align |
| 1-0 | phase_align_0 | R/W | 0h | LED_0 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align |
Dev_Config_8 is shown in Figure 2-10 and described in Table 2-15.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-0 | RESERVED | R | 0h | Reserved |
Dev_Config_9 is shown in Figure 2-11 and described in Table 2-16.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-0 | RESERVED | R | 0h | Reserved |
Dev_Config_10 is shown in Figure 2-12 and described in Table 2-17.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | |||||||
| R-0h | |||||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-0 | RESERVED | R | 0h | Reserved |
Dev_Config_11 is shown in Figure 2-13 and described in Table 2-18.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RESERVED | vsync_out_en | blank_time | |||||
| R-0h | R/W-0h | R/W-0h | |||||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-3 | RESERVED | R | 0h | Reserved |
| 2 | vsync_out_en | R/W | 0h | Vsync used as output to export internal oscilator clock; 0h = Vsync is input; 1h = Vsync is output |
| 1-0 | blank_time | R/W | 0h | Line change time; 0h = 1us; 1h = 1.3us; 2h = 1.7us; 3h = 2us |
Dev_Config_12 is shown in Figure 2-14 and described in Table 2-19.
Return to the Summary Table.
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| vmid_sel | clamp_sel | clamp_dis | lod_action | lsd_action | lsd_threshold | ||
| R/W-0h | R/W-0h | R/W-0h | R/W-1h | R/W-0h | R/W-0h | ||
| Bit | Field | Type | Reset | Description |
|---|---|---|---|---|
| 7-6 | vmid_sel | R/W | 0h | Clamp voltage selection; 0h = VOUT-1.1V; 1h = VOUT-1.3V; 2h = VOUT-1.5V; 3h = VOUT-1.7V |
| 5 | clamp_sel | R/W | 0h | Clamp behavior selection; 0h = Clamp the OUTs only during line change time; 1h = Clamp the OUTs once current sink turns off |
| 4 | clamp_dis | R/W | 0h | Clamp behavior disable; 0h = Enale clamp; 1h = Disable clamp |
| 3 | lod_action | R/W | 1h | Action when LED open fault happens; 0h = No action; 1h = Shutdown current sink |
| 2 | lsd_action | R/W | 0h | Action when LED short fault happens; 0h = No action; 1h = All OUTs shut down |
| 1-0 | lsd_threshold | R/W | 0h | LSD threshold; 0h = 0.35 * VOUT; 1h = 0.45 * VOUT; 2h = 0.55 * VOUT; 3h = 0.65 * VOUT |