Other Parts Discussed in Thread: BQSTUDIO
Hi
Reference current calibration manual, cc_ gain = (I_2 - I_1) / (cc2_counts_2 - cc2_counts_1).
In practice, When I_1=0, cc2_ counts_ 1 It is very small, and the new formula cc_ gain = I_ 2 / cc2_ counts_ 2, so only one set of data is needed to calculate cc_gain.
In fact, the calibration interface of bqstudio also uses 1 calibration current for cc_ Gain calibration, as shown in the following figure:

In the figure, directly input the calibration current - 200mA, at this time, the logic analyzer grabs 0X91A8 the cc_ gain data is 0x41726C9B.
After IEEE float conversion, the value is about cc_ Gain=15.15, at this time, the logic analyzer grabs cc2_counts of READ_CAL1 is 0xffff796B (- 34453).
And this cc2_counts value is the original data for calculating cc_gain = 15.15
<1> Calculated according to cc_gain = I_2 / cc2_counts_2 = -2000mA / -34453 = 0.058 is far less than 15.15, where is wrong?
<2>The value calculated according to cc_gain = (I_2 - I_1) / (cc2_counts_2 - cc2_counts_1) is also much smaller than the correct cc_gain value.
Please help confirm?
Thanks
Star
