Other Parts Discussed in Thread: BQ25792, TPS25750, EV2400, BQ25790, TPS65992D
Hello,
I am using the USB-PD-CHG-EVM-01 to charge a 3S battery. This works when using the default binary that came with the EVM, but binaries generated from the online GUI appear to be causing an incorrect register write to the BQ25792.
The Battery Charger Configuration is: BQ25792, 12.6V charging voltage, 1A charge current, 0.2A charge termination current, 0.52A pre-charge current.
After flashing a binary created by the GUI, restarting the evaluation module, and connecting the battery, the BQ25792's LED blinks to indicate a fault. Watching the I2C lines between the TPS25750 and BQ25792, I see the TPS25750 write zeroes to REG0A_Re-charge_Control Register, configuring REG0A's CELL field for a 1S battery. See the I2C dump below:
Initial power-up after connecting the battery:
Start, hD6 [ h6B | WR ], h01, h04, hEC, Stop Start, hD6 [ h6B | WR ], h10, h80, Stop Start, hD6 [ h6B | WR ], h06, h01, h2C, Stop Start, hD6 [ h6B | WR ], h03, h00, h64, Stop Start, hD6 [ h6B | WR ], h14, h1C, Stop Start, hD6 [ h6B | WR ], h11, h00, Stop Start, hD6 [ h6B | WR ], h08, h0D, Stop Start, hD6 [ h6B | WR ], h09, h05, Stop After connecting a power supply via USB Type-C:
Start, hD6 [ h6B | WR ], h03, h00, h64, Stop Start, hD6 [ h6B | WR ], h01, h04, hEC, Stop Start, hD6 [ h6B | WR ], h0A, h00, h00, Stop Start, hD6 [ h6B | WR ], h16, hC0, Stop |
If I write 0xA3 (CELL=3s, default TRECHG and VRECHG) to REG0A_Re-charge_Control Register after this, the fault is cleared and the battery begins to charge.
Any idea what's going on? The GUI is very basic; I am not sure what I could have done wrong there. Below is the exported settings and a hex dump of a generated binary.
{"questionnaire":{"version":"7.0.2.1","answers":[0,0,4,1,2,1,1,null,1,null,0,12.6,1,0.2,0.52],"options":{},"configID":"0000","vendorID":"0000"}}