34
SLUUBH1C–August 2016–Revised March 2018
Submit Documentation Feedback
Copyright © 2016–2018, Texas Instruments Incorporated
Data Commands
Chapter 11
SLUUBH1C–August 2016–Revised March 2018
Data Commands
11.1 Command Summary
(1)
mV when [EXTVCELL] = 0 and ADC counts when [EXTVCELL] = 1
Table 11-1. Data Command Summary
CMD MODE NAME FORMAT
SIZE IN
BYTES
MIN
VALUE
MAX
VALUE
DEFAULT
VALUE
UNIT
0x00...0x01 R/W Control Hex 2 0x00 0xff — —
0x02…0x05 R AccumulatedCapacity Signed Int 4 0 4.29E9 — µAh
0x06…0x07 R Temperature
Unsigned
Int
2 –32768 32767 — 0.1°K
0x08...0x09 R Voltage Signed Int 2 0 65535 — mV
0x0A R BatteryStatus Hex 1 0x00 0xff — —
0x0B R BatteryAlert Hex 1 0x00 0xff — —
0x0C…0x0D R Current Signed Int 2 –32768 32767 — mA
0x16…0x17 R Scaled R
Unsigned
Int
2 0 65535 — mΩ
0x22…0x23 R Measured Z
Unsigned
Int
2 0 65535 — mΩ
0x28…0x29 R InternalTemperature
Unsigned
Int
2 –32768 32767 — 0.1°K
0x2E R StateOfHealth
Unsigned
Int
1 0 100 — %
0x3C…0x3D R DesignCapacity
Unsigned
Int
2 0 65535 — mAh
0x79 R Cal_Count Hex 1 0x00 0xff — —
0x7A…0x7B R Cal_Current Signed Int 2 0 65535 — mA
0x7C…0x7D R Cal_Voltage Signed Int 2 0 32767 —
mV or
Counts
(1)
0x7E…0x7F R Cal_Temperature
Unsigned
Int
2 0 65535 — °K
11.2 Control(): 0x00/0x01
Issuing a Control() (or Manufacturer Access Control or MAC) command requires a 2-byte subcommand.
The subcommand specifies the particular MAC function desired. The Control() command enables the
system to control specific features of the gas gauge during normal operation and additional features when
the device is in different access modes, as described below. On this device, Control() commands may
also be sent to ManufacturerAccessControl().
Any subcommand that has a data response will be read back on MACData(). Reading the Control()
registers will always report the CONTROL_STATUS() data field, except after the DEVICE_TYPE() and
FW_VERSION() subcommands. After these subcommands, CONTROL_STATUS() will report the value
0xFFA5 one time before reverting to the normal data response. This is a flag to indicate that the data
response has been moved to MACData(). Writing a 0x0000 to Control() is not necessary to read the
CONTROL_STATUS(); however, doing so is okay.