4.1.1.1 Control( ): 0x00/0x01
bq27500
bq27501
System-Side Impedance Track Fuel Gauge
SLUS785D – SEPTEMBER 2007 – REVISED APRIL 2008
www.ti.com
Issuing a Control( ) command requires a subsequent 2-byte subcommand. These additional bytes specify
the particular control function desired. The Control( ) command allows the system to control specific
features of the bq27500/1 during normal operation and additional features when the bq27500/1 is in
different access modes, as described in
Table 4-2.
Table 4-2. Control( ) Subcommands
CNTL
SEALED
CNTL FUNCTION
DESCRIPTION
DATA
ACCESS
CONTROL_STATUS
0x0000
Yes
Reports the status of DF checksum, hibernate, IT, etc.
DEVICE_TYPE
0x0001
Yes
Reports the device type (eg: "bq27500")
FW_VERSION
0x0002
Yes
Reports the firmware version on the device type
HW_VERSION
0x0003
Yes
Reports the hardware version of the device type
Enables a data flash checksum to be generated and
DF_CHECKSUM
0x0004
No
reports on a read
RESET_DATA
0x0005
Yes
Returns reset data
Reserved
0x0006
No
Not to be used
PREV_MACWRITE
0x0007
Yes
Returns previous MAC command code
Reports the chemical identifier of the Impedance Track
CHEM_ID
0x0008
Yes
configuration
BOARD_OFFSET
0x0009
No
Forces the device to measure and store the board offset
CC_INT_OFFSET
0x000a
No
Forces the device to measure the internal CC offset
WRITE_OFFSET
0x000b
No
Forces the device to store the internal CC offset
SET_HIBERNATE
0x0011
Yes
Forces CONTROL_STATUS [HIBERNATE] to 1
CLEAR_HIBERNATE
0x0012
Yes
Forces CONTROL_STATUS [HIBERNATE] to 0
SEALED
0x0020
No
Places the bq27500/1 in SEALED access mode
IT_ENABLE
0x0021
No
Enables the Impedance Track algorithm
IF_CHECKSUM
0x0022
No
Reports the instruction flash checksum
CAL_MODE
0x0040
No
Places the bq27500/1 in calibration mode
RESET
0x0041
No
Forces a full reset of the bq27500/1
4.1.1.1.1 CONTROL_STATUS: 0x0000
Instructs the fuel gauge to return status information to control addresses 0x00/0x01. The status word
includes the following information.
Table 4-3. CONTROL_STATUS Bit Definitions
Flags( )
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
High byte
–
FAS
SS
CSV
CCA
BCA
–
Low byte
–
HIBERNATE
–
SLEEP
LDMD
RUP_DIS
VOK
QEN
FAS = Status bit indicating the bq27500/1 is in FULL ACCESS SEALED state. Active when set.
SS = Status bit indicating the bq27500/1 is in SEALED state. Active when set.
CSV = Status bit indicating a valid data flash checksum has been generated. Active when set.
CCA = Status bit indicating the bq27500/1 coulomb counter calibration routine is active. Active when set.
BCA = Status bit indicating the bq27500/1 board calibration routine is active. Active when set.
HIBERNATE = Status bit indicating a request for entry into HIBERNATE from SLEEP mode. True when set. Default is 0.
SLEEP = Status bit indicating the bq27500/1 is in SLEEP mode. True when set.
LDMD = Status bit indicating the bq27500/1 Impedance Track algorithm is using constant-power mode. True when set. Default is 0
(constant-current mode).
RUP_DIS = Status bit indicating the bq27500/1 Ra table updates are disabled. Updates disabled when set.
VOK = Status bit indicating the bq27500/1 voltages are okay for Qmax. True when set.
QEN = Status bit indicating the bq27500/1 Qmax updates enabled. True when set.
GENERAL DESCRIPTION
10