Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

BQ35100: Force reset won't clear the accumulatedcapacity buffer

$
0
0

Part Number: BQ35100

Dear TI-Forum users,

As the title describes, a force reset in unsealed mode doesn't clear the 0x02 flash read register.

This is what I do now as referred in 8.2.2.2.1 of the datasheet:

Step 0: Reset the BQ35100, set it to the ACC mode. (GE is high)

Step 1: Set GE high to power up the BQ35100 gauge and wait for ALERT to go low due to INITCOMP = 1.
Step 2: Clear ALERT (read BatteryStatus()) and send GAUGE_START().
Step 3: Read AccumulatedCapacity() for the latest passed discharge data since GAUGE_START().

Running some code here

Step 4: Send GAUGE_STOP() and wait for ALERT to go low due to G_DONE = 1.
Step 5: Read final AccumulatedCapacity() value.
Step 6: Set GE low to power down the BQ35100 device.

Back to step 0 if devices wakes up

The battery is discharging so the AccumulatedCapacity should decrease from its max value to 0.
In the TRM there is no clear explanation about the max value except telling its maximum value is 4.29E9 uAh. It seems like they refer to 2^32 (max value 4 bytes) 
or 4294967295 to be more specific. If so please agree. Also there is no clear way described in the TRM to reset this value.  

Thanks a lot for the help!

Yours Sincerely,

Jorg 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>