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