Other Parts Discussed in Thread: LP5810
Tool/software:
How to set the LP5810 to direct drive mode with manual control or auto control? Does the direct drive mode refer to the analog dimming mode?
I tried the settings below, but the LED light does not turn on. I am sure the register configuration was successful (read and write are normal).
- Enable the device : Set chip_en = 1h (Write 01h to register<0x000>)
- Set LED drive mode as direct drive mode : Set led_mode = 0h (Write 00h to register<0x002>)
- Send Update command to complete configuration setting above (Write 55h to register<0x010>)
- Enable all 4 LEDs : Set LED_en = 1h (Write 0Fh to register<0x020>)
- Set 5mA peak current for all LEDs in manual_mode : Set manual_dc = 32h (Write 32h to register<0x030~0x033>)
Even when working in direct drive mode (analog dimming), is it necessary to set the PWM duty cycle in register<0x040~0x043>)?