Datasheet

bq34z100
SLUSAU1B MAY 2012REVISED DECEMBER 2012
www.ti.com
DATA COMMANDS
STANDARD DATA COMMANDS
The bq34z100 uses a series of 2-byte standard commands to enable host reading and writing of battery
information. Each standard command has an associated command-code pair, as indicated in Table 2. Because
each command consists of two bytes of data, two consecutive HDQ/I
2
C transmissions must be executed both to
initiate the command function and to read or write the corresponding two bytes of data. Standard commands are
accessible in NORMAL operation. Also, two block commands are available to read Manufacturer Name and
Device Chemistry. Read/Write permissions depend on the active access mode.
Table 2. Standard Commands
UNSEALED
NAME COMMAND CODE UNITS SEALED ACCESS
ACCESS
Control() CNTL 0x00 / 0x01 N/A R/W R/W
StateOfCharge() SOC 0x02 / 0x03 % R R
RemainingCapacity() RM 0x04 / 0x05 mAh R R
FullChargeCapacity() FCC 0x06 / 0x07 mAh R R
Voltage() VOLT 0x08 / 0x09 mV R R
AverageCurrent() AI 0x0a / 0x0b mA R R
Temperature() TEMP 0x0c / 0x0d 0.1ºK R R
Flags() FLAGS 0x0e / 0x0f N/A R R
Mfr Date DATE 0x6B / 0x6c N/A R R
Mfr Name Length NAMEL 0x6d N/A R R
Mfr Name NAME 0x6e – 0x78 N/A R R
Device Chemistry
CHEML 0x79 N/A R R
Length
Device Chemistry CHEM 0x7a – 0x7d N/A R R
Serial Number SERNUM 0x7e / 0x7f N/A R R
Control(): 0x00/0x01
Issuing a Control() command requires a subsequent two-byte sub-command. These additional bytes specify the
particular control function desired. The Control() command allows the host to control specific features of the
bq34z100 during normal operation, and additional features when the bq34z100 is in different access modes, as
described in Table 3.
Table 3. Control() Subcommands
CNTL FUNCTION CNTL DATA SEALED ACCESS DESCRIPTION
CONTROL_STATUS 0x0000 Yes Reports the status of DF Checksum, IT, for example.
Reports the device type of 0x0541 (indicating
DEVICE_TYPE 0x0001 Yes
bq34z100)
FW_VERSION 0x0002 Yes Reports the firmware version on the device type
HW_VERSION 0x0003 Yes Reports the hardware version of the device type
RESET_DATA 0x0005 No Returns reset data
PREV_MACWRITE 0x0007 No 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_OFFSET 0x000A No Forces the device to measure the internal CC offset
CC_OFFSET_SAVE 0x000B No Forces the device to store the internal CC offset
DF_VERSION 0x000C Yes Reports the data flash version on the device
SET_FULLSLEEP 0x0010 No Set the [FULLSLEEP] bit in the control register to 1
STATIC_CHEM_CHKSUM 0x0017 Yes Calculates chemistry checksum
10 Submit Documentation Feedback Copyright © 2012, Texas Instruments Incorporated
Product Folder Links: bq34z100