2021-06-08 08:57 AM
I am using STC3100 Battery monitor IC with Coulomb counter/gas gauge IC for measuring by 2500mAh Li-ion battery capacity over I2C interface with my Nordic NRF52 BLE SOC chip .
I have followed the reference design which is provided in the datasheet ( Attached Image ).
and referred below SDK code for porting .
https://github.com/st-sw/STC3100_GenericDriver
I have following issues while working on the gauge .
1) I am able to read Battery millivolt ( REG_VOLTAGE) but charge values(REG_CHARGE) always shows 0xffff . I can see the variation in voltage while charging or discharging but charge values always prints the same (i.e. 0xffff).
2) If I connect to charging ( through attached charging circuit ) , then the battery read voltage suddenly increases to higher value ( if current voltage is 3.87 V then once I connect charging , it jumps to 4.1 V and as soon as I remove my charging it comes back to original voltage )
.
3) While reading Voltage after CPU Power On Reset , it takes 5-6 seconds to read the actual battery voltage , until then it shows 0 volt .
Kindly clarify on above issues and provide necessary solution if possible .
Note : VCC_BAT and VCC_3V7_BAT are same and connected to battery Positive .