View Single Post
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#7
Maybe its because bme replacement. It's well know fact it behave strange e.g. in specific situation it can give you no information about your charge level.
Did you try watch -n 5 bq27200.sh (probably you will need add -f option to i2cget commands)? It will give you much more info.

From documentation:
A learning cycle can be disqualified by any of the following conditions:
1. Cold temperature: Temperature ≤ TCOMP[3:0] (°C) when the EDV1 threshold voltage is reached.
2. Light load: A capacity learning cycle is disqualified if average current is less than or equal to 2 times the
initial standby load when the EDV1 threshold voltage is reached.
3. Fast voltage drop: VOLT ≤ (EDV1 – 256 mV) before EDV1 is set.
4. Excessive charging: Cumulative Charge > 255 NAC counts (910 µVh) during a learning discharge cycle
(alternating discharge/charge/discharge before EDV1 is set).
5. Reset: VDQ is cleared on all resets.
6. Excessive self-discharge: NAC reduction from self-discharge estimate (0.195%) performed 64 times.
7. Self-discharge at termination of learning cycle. If self-discharge estimate causes NAC ≤ LMD/16, VDQ is cleared.

http://www.ti.com/lit/ds/symlink/bq27200.pdf

Last edited by elros34; 2016-07-18 at 12:26. Reason: Add datasheet
 

The Following 2 Users Say Thank You to elros34 For This Useful Post: