SNVU926 October   2024 LP5810

 

  1.   1
  2.   Read This First
    1.     About This Manual
    2.     Notational Conventions
    3.     Glossary
    4.     Related Documentation
    5.     Support Resources
    6.     Trademarks
  3. 1Introduction/Feature Overview
    1. 1.1 Overview
  4. 2 Register Maps
    1. 2.1  Register Map Table
    2. 2.2  Device_Enable Registers
    3. 2.3  Config Registers
    4. 2.4  Command Registers
    5. 2.5  LED_Enable Registers
    6. 2.6  Fault_Clear Registers
    7. 2.7  Reset Registers
    8. 2.8  Manual_DC Registers
    9. 2.9  Manual_PWM Registers
    10. 2.10 Autonomous_DC Registers
    11. 2.11 LED_0_Autonomous_Animation Registers
    12. 2.12 LED_1_Autonomous_Animation Registers
    13. 2.13 LED_2_Autonomous_Animation Registers
    14. 2.14 LED_3_Autonomous_Animation Registers
    15. 2.15 Flag Registers
  5.   Revision History

Config Registers

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.

Table 2-5 CONFIG Registers
OffsetAcronymRegister NameSection
1hDev_Config_0Device configuration register 0, including max current sinks current settingsGo
2hDev_Config_1Device configuration register 1, including LED configuration and PWM frequency settingsGo
3hDev_Config_2Device configuration register 2, reserved
4hDev_Config_3Device configuration register 3, including autonomous enable settings for LED_0 to LED_3Go
5hDev_Config_4Device configuration register 4, reserved
6hDev_Config_5Device configuration register 5, including exponential curve enable settings for LED_0 to LED_3Go
7hDev_Config_6Device configuration register 6, reserved
8hDev_Config_7Device configuration register 7, including phase shiftt settings for LED_0 to LED_3Go
9hDev_Config_8Device configuration register 8, reserved
AhDev_Config_9Device configuration register 9, reserved
BhDev_Config_10Device configuration register 10, reserved
ChDev_Config_11Device configuration register 11, including line change time and VSYNC settingsGo
DhDev_Config_12Device configuration register 12, including threshold and action settings for LOD, LSD and clampGo

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.

Table 2-6 Config Access Type Codes
Access TypeCodeDescription
Read Type
RRRead
Write Type
WWWrite
Reset or Default Value
-nValue after reset or the default value

2.3.1 Dev_Config_0 Register (Offset = 1h) [Reset = 00h]

Dev_Config_0 is shown in Figure 2-2 and described in Table 2-7.

Return to the Summary Table.

Figure 2-2 Dev_Config_0 Register
76543210
RESERVEDmax_current
R-0hR/W-0h
Table 2-7 Dev_Config_0 Register Field Descriptions
BitFieldTypeResetDescription
7-1RESERVEDR0h Reserved
0max_currentR/W0h Max output current setting; 0h = 25.5mA; 1h = 51mA

2.3.2 Dev_Config_1 Register (Offset = 2h) [Reset = 00h]

Dev_Config_1 is shown in Figure 2-3 and described in Table 2-8.

Return to the Summary Table.

Figure 2-3 Dev_Config_1 Register
76543210
pwm_freled_modeRESERVED
R/W-0hR/W-0hR-0h
Table 2-8 Dev_Config_1 Register Field Descriptions
BitFieldTypeResetDescription
7pwm_freR/W0h PWM dimming frequency setting; 0h = 24kHz; 1h = 12kHz
6-4led_modeR/W0h LED mode configuration; 0h = Direct drive mode;
3-0RESERVEDR0h Reserved

2.3.3 Dev_Config_2 Register (Offset = 3h) [Reset = 00h]

Dev_Config_2 is shown in Figure 2-4 and described in Table 2-9.

Return to the Summary Table.

Figure 2-4 Dev_Config_2 Register
76543210
RESERVED
R-0h
Table 2-9 Dev_Config_2 Register Field Descriptions
BitFieldTypeResetDescription
7-0RESERVEDR0h Reserved

2.3.4 Dev_Config_3 Register (Offset = 4h) [Reset = 00h]

Dev_Config_3 is shown in Figure 2-5 and described in Table 2-10.

Return to the Summary Table.

Figure 2-5 Dev_Config_3 Register
76543210
RESERVEDauto_en_3auto_en_2auto_en_1auto_en_0
R-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 2-10 Dev_Config_3 Register Field Descriptions
BitFieldTypeResetDescription
7-4RESERVEDR0h Reserved
3auto_en_3R/W0h LED_3 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode
2auto_en_2R/W0h LED_2 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode
1auto_en_1R/W0h LED_1 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode
0auto_en_0R/W0h LED_0 autonomous control enable; 0h = Disabled, LED in manual mode; 1h = Enabled, LED in autonomous mode

2.3.5 Dev_Config_4 Register (Offset = 5h) [Reset = 00h]

Dev_Config_4 is shown in Figure 2-6 and described in Table 2-11.

Return to the Summary Table.

Figure 2-6 Dev_Config_4 Register
76543210
RESERVED
R-0h
Table 2-11 Dev_Config_4 Register Field Descriptions
BitFieldTypeResetDescription
7-0RESERVEDR0h Reserved

2.3.6 Dev_Config_5 Register (Offset = 6h) [Reset = 00h]

Dev_Config_5 is shown in Figure 2-7 and described in Table 2-12.

Return to the Summary Table.

Figure 2-7 Dev_Config_5 Register
76543210
RESERVEDexp_en_3exp_en_2exp_en_1exp_en_0
R-0hR/W-0hR/W-0hR/W-0hR/W-0h
Table 2-12 Dev_Config_5 Register Field Descriptions
BitFieldTypeResetDescription
7-4RESERVEDR0h Reserved
3exp_en_3R/W0h LED_3 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve
2exp_en_2R/W0h LED_2 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve
1exp_en_1R/W0h LED_1 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve
0exp_en_0R/W0h LED_0 exponential dimming enable; 0h = Disabled, LED PWM dimming with linear curve; 1h = Enabled, LED PWM dimming with exponential curve

2.3.7 Dev_Config_6 Register (Offset = 7h) [Reset = 00h]

Dev_Config_6 is shown in Figure 2-8 and described in Table 2-13.

Return to the Summary Table.

Figure 2-8 Dev_Config_6 Register
76543210
RESERVED
R-0h
Table 2-13 Dev_Config_6 Register Field Descriptions
BitFieldTypeResetDescription
7-0RESERVEDR0h Reserved

2.3.8 Dev_Config_7 Register (Offset = 8h) [Reset = 00h]

Dev_Config_7 is shown in Figure 2-9 and described in Table 2-14.

Return to the Summary Table.

Figure 2-9 Dev_Config_7 Register
76543210
phase_align_3phase_align_2phase_align_1phase_align_0
R/W-0hR/W-0hR/W-0hR/W-0h
Table 2-14 Dev_Config_7 Register Field Descriptions
BitFieldTypeResetDescription
7-6phase_align_3R/W0h LED_3 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align
5-4phase_align_2R/W0h LED_2 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align
3-2phase_align_1R/W0h LED_1 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align
1-0phase_align_0R/W0h LED_0 PWM phase align method; 0h = Forward align; 1h = Forward align; 2h = Middle align; 3h = Backward align

2.3.9 Dev_Config_8 Register (Offset = 9h) [Reset = 00h]

Dev_Config_8 is shown in Figure 2-10 and described in Table 2-15.

Return to the Summary Table.

Figure 2-10 Dev_Config_8 Register
76543210
RESERVED
R-0h
Table 2-15 Dev_Config_8 Register Field Descriptions
BitFieldTypeResetDescription
7-0RESERVEDR0h Reserved

2.3.10 Dev_Config_9 Register (Offset = Ah) [Reset = 00h]

Dev_Config_9 is shown in Figure 2-11 and described in Table 2-16.

Return to the Summary Table.

Figure 2-11 Dev_Config_9 Register
76543210
RESERVED
R-0h
Table 2-16 Dev_Config_9 Register Field Descriptions
BitFieldTypeResetDescription
7-0RESERVEDR0h Reserved

2.3.11 Dev_Config_10 Register (Offset = Bh) [Reset = 00h]

Dev_Config_10 is shown in Figure 2-12 and described in Table 2-17.

Return to the Summary Table.

Figure 2-12 Dev_Config_10 Register
76543210
RESERVED
R-0h
Table 2-17 Dev_Config_10 Register Field Descriptions
BitFieldTypeResetDescription
7-0RESERVEDR0h Reserved

2.3.12 Dev_Config_11 Register (Offset = Ch) [Reset = 00h]

Dev_Config_11 is shown in Figure 2-13 and described in Table 2-18.

Return to the Summary Table.

Figure 2-13 Dev_Config_11 Register
76543210
RESERVEDvsync_out_enblank_time
R-0hR/W-0hR/W-0h
Table 2-18 Dev_Config_11 Register Field Descriptions
BitFieldTypeResetDescription
7-3RESERVEDR0h Reserved
2vsync_out_enR/W0h Vsync used as output to export internal oscilator clock; 0h = Vsync is input; 1h = Vsync is output
1-0blank_timeR/W0h Line change time; 0h = 1us; 1h = 1.3us; 2h = 1.7us; 3h = 2us

2.3.13 Dev_Config_12 Register (Offset = Dh) [Reset = 08h]

Dev_Config_12 is shown in Figure 2-14 and described in Table 2-19.

Return to the Summary Table.

Figure 2-14 Dev_Config_12 Register
76543210
vmid_selclamp_selclamp_dislod_actionlsd_actionlsd_threshold
R/W-0hR/W-0hR/W-0hR/W-1hR/W-0hR/W-0h
Table 2-19 Dev_Config_12 Register Field Descriptions
BitFieldTypeResetDescription
7-6vmid_selR/W0h Clamp voltage selection; 0h = VOUT-1.1V; 1h = VOUT-1.3V; 2h = VOUT-1.5V; 3h = VOUT-1.7V
5clamp_selR/W0h Clamp behavior selection; 0h = Clamp the OUTs only during line change time; 1h = Clamp the OUTs once current sink turns off
4clamp_disR/W0h Clamp behavior disable; 0h = Enale clamp; 1h = Disable clamp
3lod_actionR/W1h Action when LED open fault happens; 0h = No action; 1h = Shutdown current sink
2lsd_actionR/W0h Action when LED short fault happens; 0h = No action; 1h = All OUTs shut down
1-0lsd_thresholdR/W0h LSD threshold; 0h = 0.35 * VOUT; 1h = 0.45 * VOUT; 2h = 0.55 * VOUT; 3h = 0.65 * VOUT