English
Language : 

BQ27520-G4 Datasheet, PDF (17/34 Pages) Texas Instruments – System-Side Impedance Track Fuel Gauge
www.ti.com
bq27520-G4
SLUSB20B – NOVEMBER 2012 – REVISED DECEMBER 2015
8.5 Programming
8.5.1 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 1. Because
each command consists of two bytes of data, two consecutive I2C transmissions must be executed both to
initiate the command function and to read or write the corresponding two bytes of data. Additional options for
transferring data are described in Extended Data Commands. Read and write permissions depend on the active
access mode, SEALED or UNSEALED. For details, see bq27520-G4 Technical Reference Manual, SLUUA35.
See Communications for I2C details.
NAME
Control( )
AtRate( )
AtRateTimeToEmpty( )
Temperature( )
Voltage( )
Flags( )
NominalAvailableCapacity( )
FullAvailableCapacity( )
RemainingCapacity( )
FullChargeCapacity( )
AverageCurrent( )
TimeToEmpty( )
StandbyCurrent( )
StandbyTimeToEmpty( )
StateOfHealth( )
CycleCount( )
StateOfCharge( )
InstantaneousCurrent( )
InternalTemperature( )
ResistanceScale( )
OperationConfiguration( )
DesignCapacity( )
UnfilteredRM( )
FilteredRM( )
UnfilteredFCC( )
FilteredFCC( )
TrueSOC( )
Table 1. Standard Commands
CNTL
AR
ARTTE
TEMP
VOLT
FLAGS
NAC
FAC
RM
FCC
AI
TTE
SI
STTE
SOH
CC
SOC
INTTEMP
Op Config
UFRM
FRM
UFFCC
FFCC
UFSOC
COMMAND CODE
0x00 and 0x01
0x02 and 0x03
0x04 and 0x05
0x06 and 0x07
0x08 and 0x09
0x0A and 0x0B
0x0C and 0x0D
0x0E and 0x0F
0x10 and 0x11
0x12 and 0x13
0x14 and 0x15
0x16 and 0x17
0x18 and 0x19
0x1A and 0x1B
0x1C and 0x1D
0x1E and 0x1F
0x20 and 0x21
0x22 and 0x23
0x28 and 0x29
0x2A and 0x2B
0x2C and 0x2D
0x2E and 0x2F
0x6C and 0x6D
0x6E and 0x6F
0x70 and 0x71
0x72 and 0x73
0x74 and 0x75
UNIT
NA
mA
Minutes
0.1°K
mV
NA
mAh
mAh
mAh
mAh
mA
Minutes
mA
Minutes
% / num
num
%
mA
0.1°K
NA
mAh
mAh
mAh
mAh
mAh
%
SEALED
ACCESS
RW
RW
R
RW
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
8.5.2 Extended Data Commands
Extended commands offer additional functionality beyond the standard set of commands. They are used in the
same manner; however, unlike standard commands, extended commands are not limited to 2-byte words. The
number of command bytes for a given extended command range in size from single to multiple bytes is specified
in Table 2. See bq27520-G4 Technical Reference Manual, SLUUA35 for details on accessing the data flash.
Copyright © 2012–2015, Texas Instruments Incorporated
Product Folder Links: bq27520-G4
Submit Documentation Feedback
17