Other Parts Discussed in Thread: BQSTUDIO
Tool/software:
Hello,
I am attempting to calibrate the CCgain on my device to be very sensitive. I have a nominal Rsense of 0.5 mOhms, which gives me an effective ccGain of 15.1368, based on the below equation for CCGain:
This is not sensitive enough, however, and I need to be able to run this calculation in an automated way to calibrate the gain for each board I am working on, since each board will have an Rsense that varies up to +/-10%
From SLUAA32A (BQ769x2 Calibration and OTP Programming Guide), I have the following equation/procedure for calculating ccGain:
When I run this procedure, I get the following values:
Ib = -1000 (1A)
Ia = 0 (0A)
CC_CountsB = -17000
CC_CountsA = 158
Running the above calibration calculation I get ccGain = (-1000-0)/(-17000-158) = 0.0582818
Back-calculating for Rsense = 129.858, which is nowhere near correct. Setting ccGain (and capacity gain) to that value gives me an effective
What is going wrong here? Am I running the wrong calculation for ccGain?