This device does not have a BAT terminal and therefore the VC2 input is the BAT terminal:
- Apply known voltages in mV to the voltage input:
- VBAT between VC2 terminal and VSS terminal
- If ManufacturerStatus()[CAL] = 0, send 0x002D to AltManufacturerAccess() to enable the [CAL] flag.
- Send 0xF081 or 0xF082 to AltManufacturerAccess() to enable raw cell voltage output on MACData().
- Poll MACData() until the 8-bit counter value increments by 2 before reading data.
- Read ADC conversion readings of cell stack voltage from MACData():
- ADCBAT = LLll of MACData()
- Average several readings for higher accuracy. Poll MACData() until ZZ increments to indicate that updated values are available:
- ADCBAT = [ADCBAT(reading n) + … + ADCBAT(reading 1)]/n
- Calculate gain value:
- Write the new BAT Gain value to data flash.
- Recheck the voltage readings and if they are not accurate, repeat Steps 4 through 6.
- Send 0x002D to AltManufacturerAccess() to clear the [CAL] flag if all calibration is complete.