7.7 Standard Data Commands
The fuel gauge uses a series of 2-byte standard commands to enable system reading and writing of battery information. Each standard command has an associated command-code pair, as indicated in Table 8. Each protocol has specific means to access the data at each Command Code. Data RAM is updated and read by the gauge only once per second. Standard commands are accessible in NORMAL operation mode.
Table 8. Standard Commands
COMMAND NAME |
COMMAND CODE |
UNIT |
SEALED ACCESS |
Control()
|
0x00 and 0x01 |
— |
RW |
AtRate()
|
0x02 and 0x03 |
mA |
RW |
UnfilteredSOC()
|
0x04 and 0x05 |
% |
R |
Temperature()
|
0x06 and 0x07 |
0.1°K |
R |
Voltage()
|
0x08 and 0x09 |
mV |
R |
Flags()
|
0x0A and 0x0B |
— |
R |
NomAvailableCapacity()
|
0x0C and 0x0D |
mAh |
R |
FullAvailableCapacity()
|
0x0E and 0x0F |
mAh |
R |
RemainingCapacity()
|
0x10 and 0x11 |
mAh |
R |
FullChargeCapacity()
|
0x12 and 0x13 |
mAh |
R |
AverageCurrent()
|
0x14 and 0x15 |
mA |
R |
TimeToEmpty()
|
0x16 and 0x17 |
min |
R |
FilteredFCC()
|
0x18 and 0x19 |
mAh |
R |
SafetyStatus()
|
0x1A and 0x1B |
— |
R |
UnfilteredFCC()
|
0x1C and 0x1D |
mAh |
R |
Imax()
|
0x1E and 0x1F |
mA |
R |
UnfilteredRM()
|
0x20 and 0x21 |
mAh |
R |
FilteredRM()
|
0x22 and 0x23 |
mAh |
R |
BTPSOC1Set()
|
0x24 and 0x25 |
mAh |
RW |
BTPSOC1Clear()
|
0x26 and 0x27 |
mAh |
RW |
InternalTemperature()
|
0x28 and 0x29 |
0.1°K |
R |
CycleCount()
|
0x2A and 0x2B |
Counts |
R |
StateofCharge()
|
0x2C and 0x2D |
% |
R |
StateofHealth()
|
0x2E and 0x2F |
%/num |
R |
ChargingVoltage()
|
0x30 and 0x31 |
mV |
R |
ChargingCurrent)
|
0x32 and 0x33 |
mA |
R |
PassedCharge()
|
0x34 and 0x35 |
mAh |
R |
DOD0()
|
0x36 and 0x37 |
hex |
R |
SelfDischargeCurrent()
|
0x38 and 0x39
|
mA |
R |