This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ35100: Calculating remaining battery percentage in accumulator mode

Part Number: BQ35100
Other Parts Discussed in Thread: BQSTUDIO, EV2400

Hi!
 I am trying to calculate the remaining battery capacity with LiSocI2 battery. Is accumulator mode the correct mode to do this?

I do the following sequence:
-Check that [GMSEL1:0] in Operation Config A = 00.
-Setting GE=1.
-GAUGE_START 
-Check that  ControlStatus() [GA] = set
-Read AccumulatedCapacity
-(try to) calculate (designCapacity - accumulatedCapacity)/designcapacity to get the percentage
(and then repeat the last 2 steps to get the changing value)

The problem is, that the AccumulatedCapacity() is over 4,29E9 and it lessens every round. For example, the uint values I get are:
4,294,962,398 (first round)
4,294,962,289 (second round, 10s after first round)

Am I doing something incorrectly? Or how should I be able to read the correct Accumulated capacity?

  • Hi
    Are you discharging the battery? Can you ps share a log file from bqstuduio and your gg file?

    thanks
    Onyx
  • Hello!
     I am not using bqstudio, because I don't have EV2300. I am directly sending commands through I2C. For example, reading the voltage of the battery works fine, so I would like to know what are the correct commands to send to be able to read the accumulated capacity.

    Br, Kaisa

  • And some further information: I am using Saft LS14500 Li-SOCl2 battery. Do I need to configure/calibrate before usage? Should I set the ChemID, and if so, what is the correct ChemID for this battery?

    Br, Kaisa
  • Hi Kaisa
    if you are using the gauge in accumulator mode, you do not need to program the chem id. You need to set the gmsel bits for accumulator mode.. Pls pls read the technical reference manual to understand how to use and configure the gauge. I am unable to type and explain all that is needed to be done as that will be cumbersome. That is why we provided those documents. In the event you do not understand a portion of it, then you ask clarifying questions on here. You need to get an EVM and ev2400 if you haven't already done so to familiarize your self with the device before attempting to use your host for configuration

    thanks
    Onyx