Tool/software:
Hi,
I am using BQ76952 using I2C communication. I am using 0.5mOhm shunt resistor (1mOhm X 2 resistors in parallel). I am trying to read CC3 ADC counts for currents 5 A and 10 A and I am finding that it is not varying linearly with the Voltage across shunt resistors. Also, many times when I turn on and off the system, I find the CC3 current count range is shifted. I am using default 80 samples for averaging the CC2 count in CC3.
I am getting CC3 counts as following
CC3 Count | Voltage(mV) across Shunt resistor | Current(A) |
11900 | 1.1 | 2 |
52700 | 2.1 | 4 |
67400 | 2.7 | 5 |
84600 | 3.2 | 6 |
108000 | 3.5 | 7.3 |
173000 | 5.1 | 10 |
I am using following setting for gain callibratition. But due to this CC3 values, the current values are also not correct.
Cc gain=(7.5684/Rsense)=(7.5684/0.5)=15.1368 |
Cc gain (float to hex)=0x41723055 |
Capacity gain= Cc gain * 298261.6178= 15.1368* 298261.6178=4514726.4563 |
Capacity gain (float to hex)= 0x4a89c74d |