Datasheet
DS2786 Stand-Alone OCV-Based Fuel Gauge
17 of 22
STATUS/CONFIG REGISTER
The Status/Config Register is read/write with individual bits designated as read only. Bit values indicate status as
well as program or select device functionality. Bits 3 though 6 are EEPROM backed at memory location 7Ch. Note
that their bit positions differ between these locations.
Figure 22. Status/Config Register Format
ADDRESS 01h
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
X PORF SMOD LDIS VODIS ITEMP AIN1 AIN0
Bit 7: X—Reserved.
Bit 6: PORF—The Power-On-Reset Flag is set to indicate initial power-up. PORF is not cleared internally. The
user must write this flag value to a 0 in order to use it to indicate subsequent power-up events. POR event will
cause a reset of the fuel gauge. PORF is read/write-to-zero.
Bit 5: SMOD—Sleep Mode Enable. A value of 1 allows the DS2786 to enter Sleep mode when SCL AND SDA are
low for t
SLEEP
. A value of 0 disables the transition to Sleep mode. This bit is EEPROM backed by bit 7 of memory
location 7Ch. The factory programmed value is 1.
Caution: SMOD Sleep feature must be disabled when a battery is charged on an external charger that does not
connect to the SDA or SCL pins. SMOD Sleep can be used if the charger pulls SDA or SCL high. The DS2786
remains in Sleep on a charger that fails to properly drive SDA or SCL and therefore does not adjust Relative
Capacity when a battery is charged.
Bit 4: LDIS—LEARN Disable. A value of 1 disables cell capacity learning by the DS2786. A value of 0 allows cell
capacity learning to occur normally. This bit is EEPROM backed by bit 6 of memory location 7Ch. The factory
programmed value is 0.
Bit 3 : VODIS—V
OUT
Disable. A value of 1 disables the V
OUT
output. When set to 0 this output is driven t
PRE
before
the AIN0 conversion begins, and disabled after the AIN1 conversion ends. This bit is EEPROM backed by bit 5 of
memory location 7Ch. The factory-programmed value is 0.
Bit 2: ITEMP—ITEMP. A value of 1 enables measurement of temperature using the internal sensor during the
AIN1 conversion timeslot. AIN1 input is not selected and V
OUT
is not enabled during the AIN1 timeslot. A value of 0
restores the measurement of AIN1 and enables V
OUT
during the AIN1 timeslot. This bit is EEPROM backed by bit 4
of memory location 7Ch. The factory-programmed value is 1.
Bit 1 : AIN1—AIN1 Conversion Valid. This read only bit indicates that the V
OUT
output was enabled, and a
conversion has occurred on the AIN1 pin. When using the VODIS bit, before reading the AIN1 Registers, read the
AIN1 bit. Only once the AIN1 bit is set, should the AIN1 Register be read.
Bit 0 : AIN0—AIN0 Conversion Valid. This read only bit indicates that the V
OUT
output was enabled, and a
conversion has occurred on the AIN0 pin. When using the VODIS bit, before reading the AIN0 Registers, read the
AIN0 bit. Only once the AIN0 bit is set, should the AIN0 Register be read.










