Skip to main content
Ismail Riyaz
Visitor II
April 16, 2018
Question

STC3117 voltage/current values not reading

  • April 16, 2018
  • 0 replies
  • 627 views
Posted on April 16, 2018 at 10:27

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 

https://community.st.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2Fst-sw%2FSTGasGaugeLinuxDrivers

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
This topic has been closed for replies.