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.

BQ25792: RGB LED Control Using BQ25792 – Design Clarification

Part Number: BQ25792

Tool/software:

Hi team,

We are currently designing a battery-powered system utilizing the BQ25792 charger IC. One of our requirements is to control an RGB LED based on the battery status. The RGB LED has four terminals: Red, Green, Blue, and a common anode. We intend to control each color channel independently.

We would appreciate your guidance on the following points:

  1. Is it feasible to use the P1, P2, and P5 pins of the BQ25792 to directly control the Red, Green, and Blue channels of the LED?

  2. Can these pins be individually configured and controlled via I²C using the P3 (SCL) and P4 (SDA) interfaces?

  3. Alternatively, would it be more appropriate to use an external MCU’s GPIOs to control the RGB LED, with the MCU receiving battery status information from the BQ25792 via I²C?

We want to ensure the most reliable and efficient implementation and would be grateful for your recommendations or best practices for this use case.

  • Hi ayana,

    Regarding 1 and 2, P1 (STAT) can be enabled or disabled via I2C.  However, if enabled, STAT goes low when the device is charging, high impedance when charge completes and blinks if there is an error/fault.  P2 (VBUS) is input power and so cannot be controlled.  P5 (REGN) is the output of an internal linear regulator and its output cannot be controlled via I2C.  If you are not using D+/D- pins 6 and 7 for communicating with a legacy USB BC 1.2 host, you could disable auto D+/D- detection at power up and use I2C to output different voltages up to 3.3V on those pins.

    Regarding 3, MCU GPIO is another option.

    Regards,

    Jeff