2018-04-16 01:27 AM
Hi,
We are using a STC13117 on a qualcom based SOM, msm8998. We have used this one before in another product, worked fine.
We use the driver from
The stc3117 actually seems to be measuring current and voltages properly, but they appear in avg current register(Reg 11 and 12) and for voltage in ocv registers(Reg 13 and 14). The values seem to be fairly accurate - current calculated is ~800mA when stress running apps while battery is discharging. Also ocv regs report 4.1V, decreasing continuously.
Why do regs 0-7 and 9-11 always read 0. Reg 8(voltage) reads 0x80, but looks incorrect. The driver makes use of these registers.
For eg reg 0 and 1 ought to have some default values, but i read all 0. What could cause this?
Thanks
--Ismail
#fuel-guage #power-management #battery-charging