This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LP8866S-Q1: Power management forum

Part Number: LP8866S-Q1


Tool/software:

Hello,

I am using the LP8866 and can successfully control the backlight brightness using PWM as the input. Now, I want to control the backlight brightness by writing to the `DISPLAY_BRT` register via I2C. However, the backlight brightness does not change. When I read back the value of the register, it matches the value I wrote, so it seems there is no issue with writing to the register. Could you please advise on how to control the backlight brightness via I2C?

The initialization configuration is as follows:


- `MODE_SEL`: 3 (Direct PWM), I2C address: 0x2B
- `AUTO_BOOST_FREQ_SEL`: 3 (400 kHz)
- `AUTO_LED_STRING_CFG`: 0 (6 Separate strings)
- `AUTO_PWM_FREQ_SEL`: 5 (4883 Hz)

```c
#define USER_CONFIG1_VALUE (uint16)0x7AB3
#define USER_CONFIG2_VALUE (uint16)0x013F
#define SUPPLY_INT_EN_VALUE (uint16)0x5554
#define BOOST_INT_EN_VALUE (uint16)0x0055
#define LED_INT_EN_VALUE (uint16)0x00FF
#define SUPPLY_INT_CLR_FAULT_VALUE (uint16)0xFFFF
#define BOOST_INT_CLR_FAULT_VALUE (uint16)0xFFFF
#define LED_INT_CLR_FAULT_VALUE (uint16)0xFFFF
```

Thank you!