Hi team,
I use the BQ76952 for a battery management.I should use the coulomb counter to calculated the SOC and I don't understand exactly how it's work.
In the technical reference, it's indicated: subcommand 0x0076:
- Accumulated charge (integer portion) signed int32 user AH.
- Accumulated charge (fractional portion), fractionnal portion 32 Bit
In the TI's web site: it's completed, the second 32-bit (unsigned) data reports the fractional charge in units of userAh/2^32.
The Bq is configured in mAH for the units of userAh.
I have battery connected, with a discharge current of 280 mA. I read the coulomb counter all the 10s. and I have the following frame:
- FF FF FF FF (integer portion)
- E0 C2 C1 D3 (fractionnal portion)
My questions are:
- How I decode these data (what is the calculation) to obtain a number in mAh ?
- How is indicated the current direction (charge or discharge) in the fractionnal portion?
Thank you very much for your help.
Best regards,