PACK voltage calibration is illustrated in Figure 2-3.
- Apply known voltages in mV to the voltage input:
- VPACK between PACK 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 pack voltage from ManufacturerData() :
- ADCPACK = FFff of ManufacturerData()
- Average several readings for higher accuracy. Poll ManufacturerData() until ZZ increments to indicate that updated values are available:
- ADCPACK = [ADCPACK(reading n) + … + ADCPACK(reading 1)]/n
- Calculate gain value:
Equation 3.
- Write the new PACK 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.