I'm having an issue measuring average current with the BQ27421 gas gauge IC. It will sometimes give the correct value (8-10mA for my system), but for long stretches it will output 0mA, which is obviously incorrect. Sometimes it will randomly jump back to the correct values after a little bit, other times I need to reset the device.
I thought the IC automatically entering sleep mode might have been the cause so I disabled sleep mode in the OpConfig register, but that had no effect. Reading battery voltage and state of charge always give the right values, so I know I'm talking to the IC correctly.
Has anyone seen this before, and is there a fix?
Thanks,
Ben