![Texas Instruments bq27441-G1 Скачать руководство пользователя страница 18](http://html1.mh-extra.com/html/texas-instruments/bq27441-g1/bq27441-g1_technical-reference_1095321018.webp)
Control(): 0x00 and 0x01
4.1.1 CONTROL_STATUS: 0x0000
Instructs the fuel gauge to return status information to
Control()
addresses 0x00 and 0x01. The read-only
status word contains status bits that are set or cleared either automatically as conditions warrant or
through using specified subcommands.
Table 4-3. CONTROL_STATUS Bit Definitions
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
High Byte
SHUTDOWNEN
WDRESET
SS
CALMODE
CCA
BCA
QMAX_UP
RES_UP
Low Byte
INITCOMP
HIBERNATE
RSVD
SLEEP
LDMD
RUP_DIS
VOK
RSVD
High Byte
SHUTDOWNEN = Indicates the fuel gauge has received the
SHUTDOWN_ENABLE
subcommand and is enabled for
SHUTDOWN. Active when set.
WDRESET = Indicates the fuel gauge has performed a Watchdog Reset. Active when set.
SS = Indicates the fuel gauge is in the SEALED state. Active when set.
CALMODE = Indicates the fuel gauge is in calibration mode. Active when set.
CCA = Indicates the fuel gauge Coulomb Counter Auto-Calibration routine is active. The CCA routine will take place
approximately 3 minutes and 45 seconds after the initialization as well as periodically as conditions permit.
Active when set.
BCA = Indicates the fuel gauge board calibration routine is active. Active when set.
QMAX_UP = Indicates Qmax has updated. True when set. This bit is cleared after a POR or when the
Flags() [BAT_DET]
bit is set. When this bit is cleared, it enables fast learning of battery Qmax.
RES_UP = Indicates that resistance has been updated. True when set. This bit is cleared after a POR or when the
Flags() [BAT_DET]
bit is set. Also, this bit can only be set after Qmax is updated (
[QMAX_UP]
bit is set).
When this bit is cleared, it enables fast learning of battery impedance.
Low Byte
INITCOMP = Initialization completion bit indicating the initialization is complete. True when set.
HIBERNATE = Indicates a request for entry into HIBERNATE from SLEEP mode has been issued. True when set.
RSVD = Reserved
SLEEP = Indicates the fuel gauge is in SLEEP mode. True when set.
LDMD = Indicates the algorithm is using constant-power model. True when set. Default is 1.
RUP_DIS = Indicates the fuel gauge Ra table updates are disabled. Updates are disabled when set.
VOK = Indicates cell voltages are ok for Qmax updates. True when set.
RSVD = Reserved
4.1.2 DEVICE_TYPE: 0x0001
Instructs the fuel gauge to return the device type to addresses 0x00 and 0x01. The value returned is
0x0421. (Note: Value returned is 0x0421 even if the product is bq27441-G1 so the distinguishing
identification requires both DEVICE_TYPE and DM_CODE)
4.1.3 FW_VERSION: 0x0002
Instructs the fuel gauge to return the firmware version to addresses 0x00 and 0x01.
4.1.4 DM_CODE: 0x0004
Instructs the fuel gauge to return the 8-bit
DM Code
as the least significant byte of the 16-bit return value
at addresses 0x00 and 0x01. The
DM_CODE
subcommand provides a simple method to determine the
configuration code stored in Data Memory.
4.1.5 PREV_MACWRITE: 0x0007
Instructs the fuel gauge to return the previous command written to addresses 0x00 and 0x01. The value
returned is limited to less than 0x0015.
18
Standard Commands
SLUUAC9A – December 2013 – Revised May 2015
Copyright © 2013–2015, Texas Instruments Incorporated