Voltage(): 0x08 and 0x09
58
SLUUBE8 – September 2018
Copyright © 2018, Texas Instruments Incorporated
Data Commands
4.3
Voltage(): 0x08 and 0x09
This read-word function returns an unsigned integer value of the measured cell-pack voltage in mV with a
range of 0 to 6000 mV.
4.4
BatteryStatus(): 0x0A and 0x0B
This read-word function returns the contents of the gas gauge status register, depicting the current battery
status.
Table 4-7. Battery Status Bit Definitions
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
High Byte
RSVD
SOCLOW
UTC
UTD
OTC
OTD
BATHIGH
BATLOW
Low Byte
SLEEP
CHGINH
FD
FC
TCA
TDA
CHG
DSG
High Byte
RSVD = Reserved
SOCLOW = State-of-charge
UTC = Undertemperature Charge
UTD = Undertemperature Discharge
OTC = Overtemperature in charge condition is detected (
Alert_1 [OTC]
bit must be set).
OTD = Overtemperature in discharge condition is detected. True when set (
Alert_1 [OTD]
bit = 1).
BATHIGH = Battery voltage above high threshold
BATLOW = Battery voltage below low threshold
Low Byte
SLEEP = The device is operating in SLEEP mode when set. This will clear temporarily during AD measurements in
SLEEP mode.
CHGINH = Charge inhibit: If set, indicates that charging should not begin because
Temperature()
is outside the range
[Charge Inhibit Temp Low, Charge Inhibit Temp High]
. True when set.
FD = Full discharge is detected. This flag is set and cleared based on the selected
SOC Flag Config B
options.
FC = Full charged is detected. This flag is set and cleared based on the selected
SOC Flag Config A
and
SOC
Flag Config B
options.
TCA = Terminate Charge Alarm. This flag is set and cleared based on the selected
SOC Flag Config A
options.
TDA = Terminate Discharge Alarm. This flag is set and cleared based on the selected
SOC Flag Config A
options.
CHG = The device has detected charge current when set.
DSG = The device is in DISCHARGE mode when set; CHARGE or RELAXATION mode when clear.
4.5
Current(): 0x0C and 0x0D
This read-only function returns a signed integer value that is the instantaneous current flow through the
sense resistor. It is updated every second. Units are mA.
4.6
RemainingCapacity(): 0x10 and 0x11
This read-only command pair returns the battery remaining capacity. When CEDV
Smoothing Config
[SMEN]
is set, this will be the result of the smoothing engine. Otherwise, the unfiltered remaining capacity
is returned.
4.7
FullChargeCapacity(): 0x12 and 0x13
This read-only command pair returns the compensated capacity of a fully charged battery. Units are mAh.
FullChargeCapacity()
is updated at regular intervals, as specified by the CEDV algorithm.