BAT Voltage Calibration is shown in Figure 2-2.
- Apply known voltages in mV to the voltage input:
- VBAT between VC4 pin and VSS pin
- If ManufacturerStatus()[CAL] = 0, send 0x002D to ManufacturerAccess() to enable the [CAL] flag.
- Send 0xF081 or 0xF082 to ManufacturerAccess() to enable raw cell voltage output on ManufacturerData().
- Poll ManufacturerData() until the 8-bit counter value increments by 2 before reading data.
- Read ADC conversion readings of cell stack voltage from ManufacturerData():
- ADCBAT = GGgg of ManufacturerData(),
- Average several readings for higher accuracy. Poll ManufacturerData() until ZZ increments to indicate that updated values are available:
- ADCBAT = [ADCBAT(reading n) + … + ADCBAT(reading 1)]/n
- Calculate gain value:
Equation 2.
- Write the new BAT Gain value to data flash.
- Re-check voltage readings and if these are not
accurate, repeat steps 4 – 6.
- Send 0x002D to ManufacturerAccess() to clear the [CAL] flag if all calibration is complete.