How to Interface LP5009 9-Channel LED Driver with STM32 NUCLEO-L452?

Thread Starter

Noobdesigns

Joined May 20, 2025
7
Hi everyone,
I'm currently working on a project where I need to integrate the LP5009 9-channel LED driver with an STM32 NUCLEO-L452 development board. I'm a bit stuck on how to get started with the communication and control between the two.
Here’s what I’ve got so far:
  • The LP5009 uses I2C for communication.
  • The NUCLEO-L452 has I2C support via the STM32Cube HAL/LL libraries.
  • I have access to STM32CubeMX and IAR Embedded workbench.
What I need help with:
  1. How to configure the I2C interface properly for this setup?
  2. Any example code or libraries for initializing and controlling the LP5009?
  3. Tips on setting up the LED channels and sending data to the driver.
If anyone has experience with this driver or similar setups, I’d really appreciate your guidance or any resources you can share.

Thanks in advance!
 

Futurist

Joined Apr 8, 2025
721
Hi everyone,
I'm currently working on a project where I need to integrate the LP5009 9-channel LED driver with an STM32 NUCLEO-L452 development board. I'm a bit stuck on how to get started with the communication and control between the two.
Here’s what I’ve got so far:
  • The LP5009 uses I2C for communication.
  • The NUCLEO-L452 has I2C support via the STM32Cube HAL/LL libraries.
  • I have access to STM32CubeMX and IAR Embedded workbench.
What I need help with:
  1. How to configure the I2C interface properly for this setup?
  2. Any example code or libraries for initializing and controlling the LP5009?
  3. Tips on setting up the LED channels and sending data to the driver.
If anyone has experience with this driver or similar setups, I’d really appreciate your guidance or any resources you can share.

Thanks in advance!
1748369204496.png
 
Top