The below steps are the same for each
of the three voltage measurements. In this example, the steps are shown for a
two-point calibration of the PACK pin voltage.
- Disable Sleep Mode (Subcommand
0x009A) to ensure voltage counts update quickly after applying a voltage.
- Apply a known voltage, VPACK_A, between PACK+ and
VSS.
- After 100ms, read the PACK Pin ADC Counts
(ADC_CountsPACK_A) using the READ_CAL1 subcommand 0xF081. For
best accuracy, take multiple readings and calculate the average.
- Apply a second known voltage, VPACK_B, between PACK+
and VS and read the PACK Pin ADC Counts. (ADC_CountsPACK_B).
- Calculate the Pack Gain:
Equation 2.
- Write the new Pack Gain value to RAM.
- Enter CONFIG_UPDATE mode (Subcommand 0x0090).
- Write Pack Gain to 0x91A0.
- Exit CONFIG UPDATE mode (Subcommand 0x0092).
- Re-check the Pack voltage reading. If the reading is not
accurate, repeat steps 1-5.
Table 2-3 TOS, PACK, LD Voltage
Calibration Settings
Parameter Name |
Physical Start Address |
Type |
Min |
Max |
Default |
Units |
Pack Gain |
0x91A0 |
I2 |
0 |
65535 |
35507 |
- |
TOS Gain |
0x91A2 |
I2 |
0 |
65535 |
35507 |
- |
LD Gain |
0x91A4 |
I2 |
0 |
65535 |
35507 |
- |
Vdiv Offset |
0x91B2 |
I2 |
-32767 |
32767 |
0 |
userV |
ADC Gain |
0x91A6 |
I2 |
-32767 |
32767 |
4166 |
- |