SLUUDN3 July   2026 LP5814 , LP5815 , LP5817

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Hardware Setup
  6. 3Software Setup
  7. 4Sample Code Structure
    1. 4.1 Design Requirements
    2. 4.2 Flow Diagram
    3. 4.3 Pattern Parameters
  8. 5Revision History

Design Requirements

The design parameters for the LP5815 device are listed in Table 4-1.

Table 4-1 LP5815 Design Parameters
Design Parameter LP5815
VCC and VLED 3.3V
OUT0 Max Current (Blue LED) 8mA
OUT1 Max Current (Green LED) 14mA
OUT2 Max Current (Red LED) 20mA
I2C Frequency 400kHz
I2C Target Address 0x2D

The I2C target address is defined as a macro in file lp5815_example.h. There are two address modes, independent and broadcast.

  1. Independent address, I2C_TARGET_ADDRESS_INDEPENDENT, is different when communication occurs with different devices.
    1. 0x2D to communicate with LP5815 and LP5817.
    2. 0x2C to communicate with LP5814 and LP5816.
    3. 0x2E to communicate with LP5814I.
  2. Broadcast address, I2C_TARGET_ADDRESS_BROADCAST, is the same when communication occurs with all devices. The address is 0x34.
#define I2C_TARGET_ADDRESS_INDEPENDENT (0x2D);  //b0010 1101 - LP5815, LP5817
#define I2C_TARGET_ADDRESS_BROADCAST (0x34);  //b0011 0100