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.

LP5036EVM: LP5036EVM with ESP32 LED don't work

Part Number: LP5036EVM
Other Parts Discussed in Thread: LP5036,

Hi everyone,

I am writing a simple ESP32 I2C driver for LP5036 device. I am using ESP32-C3 and LP5036EVM evaluation board. This is the current situation

  • LP5036EVM has external 5V power supply, attached to VIN_EXT pin
  • LP5036EVM jumpers are all in default positions, exactly the same when evaluation kit arrived
  • LP5036EVM has I2C (SCL, SDA and GND) connection to ESP32-C3 board
  • I am able to read and write LP5036 registers from my ESP32-C3 firmware

However, I am not able to light any of LED's with my test code. For example, to set LED0 to white color, my presumption was that host code only has to set Chip_EN to 1, and write FF to LED0 corresponding RGB registers. But LED0 won't work. Here is the output of my ESP32-C3 code.

```

LP5036_DEVICE_CONFIG0  [00h]   [WRITE]   40h
LP5036_OUT0_COLOR         [14h]   [WRITE]   FFh
LP5036_OUT1_COLOR         [15h]   [WRITE]   FFh
LP5036_OUT2_COLOR         [16h]   [WRITE]   FFh
 
LP5036_DEVICE_CONFIG0  [00h]   [READ ]     0h
LP5036_DEVICE_CONFIG1  [01h]   [READ ]   3Ch
LP5036_OUT0_COLOR         [14h]   [READ ]   FFh
LP5036_OUT1_COLOR         [15h]   [READ ]   FFh
LP5036_OUT2_COLOR         [16h]   [READ ]   FFh

```

Am I missing something obvious here? I read LP5036 datasheet carefully, and could not find any precise requirements on what has to be done prior to individual LED setup, except to set Chip_EN to 1. Also, it's strange that after writing 40h to the LP5036_DEVICE_CONFIG register (bit Chip_EN set), I could only read it's still 0, like LP5036 did not accept it.

I can confirm that EN pin (evaluation kit jumper) is set to 5V, so LP5036 is enabled.

Does anyone have idea what may be wrong with my code, or with the LP5036EVM setup?