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.

BQ25970: TPS25750 + BQ25792 interrupt spamming IINDPM_FLAG and CHG_FLAG when battery is full and charging

Part Number: BQ25792
Other Parts Discussed in Thread: TPS25750, BQ25970,

Hello,

We have the custom patch in TPS25750, given here https://e2e.ti.com/support/interface-group/interface/f/interface-forum/1049261/tps25750-configuration-request-tomas

We get this interrupt spamming IINDPM_FLAG and CHG_FLAG when battery is full and charging (connected to USB).

Here is serial log of the charger flags printed after receiving BQ_INT signal. These interrupts continue to spam about 1-10 interrupts per second. Charger Flag 0-3 corresponds to registers in datasheet.

ChargerFlag_0_Reg 0x80
ChargerFlag_1_Reg 0x80
ChargerFlag_2_Reg 0x0
ChargerFlag_3_Reg 0x0
Charge status changed to: 4 

ChargerFlag_0_Reg 0x80
ChargerFlag_1_Reg 0x80
ChargerFlag_2_Reg 0x0
ChargerFlag_3_Reg 0x0

ChargerFlag_0_Reg 0x0
ChargerFlag_1_Reg 0x0
ChargerFlag_2_Reg 0x0
ChargerFlag_3_Reg 0x0
Charge status changed to: 4 

ChargerFlag_0_Reg 0x80
ChargerFlag_1_Reg 0x80
ChargerFlag_2_Reg 0x0
ChargerFlag_3_Reg 0x0

ChargerFlag_0_Reg 0x0
ChargerFlag_1_Reg 0x0
ChargerFlag_2_Reg 0x0
ChargerFlag_3_Reg 0x0
Charge status changed to: 4 


We read&clear all interrupts in charger flags 0-3 once we have received BQ_INT signal.

Are we doing something wrong, is there problem in our configuration, or is there another bug in this patch?

Why is the BQ25972 spamming this interrupt when battery is full and charger is attached after we clear it?