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.

BQ27421-G1: Setting BAT_DET with BAT_INSERT command does not work

Part Number: BQ27421-G1

Hi all,

I'm developing the fw for a device having not-replaceable battery, so the pin BIN is pulled down to ground thru 10k resistor.

I've seen that at power up the opConfig BIE bit is true and BAT_DET flag is false. According to documentation sluuac5c, at initialization I set BIE to zero,
and send a BAT_INSERT command, but despite that the BAT_DET flag is still false, so the gauge doesn't work properly.

I can painlessly read voltage, currents, temperatures, set battery energy, capacity and taper rate so I'm confident about my i2c access, but no way to set BAT_DET
then the resulting SOC% value is completely unreliable, I read values 0..3 for a completely charged battery.

Thanks in advance for any help and suggestion

Giuseppe