Disable Sleep Mode (Subcommand
0x009A) to ensure voltage counts update quickly after applying a voltage.
Apply a known current ICAL of 0 mA and ensure no
current is flowing through the sense resistor connected between the SRP and SRN
pins.
After 100ms, read CC2 Counts using the READ_CAL1 subcommand
0xF081. While the CC2 Counts reading is four bytes, only the middle two bytes
need to be read (16-bit value). For best accuracy, take multiple readings and
calculate the average.
Read the Coulomb Counter Offset Samples settings
at RAM location 0x91C6. This parameter is defined as the number of counts of
offset error that would accumulate over this many coulomb counter conversions.
The default value is 64.
Calculate the Board Offset:
Equation 3.
Write the new Board Offset value to RAM.
Enter CONFIG_UPDATE mode (Subcommand 0x0090).
Write Board Offset to 0x91C8.
Exit CONFIG_UPDATE mode (Subcommand 0x0092).
Re-check the CC2 Counts reading. If the reading is not close to
zero, repeat steps 1-5.