DS2764 High-Precision Li+ Battery Monitor With 2-Wire Interface
13 of 20
POWER SWITCH INPUT
The DS2764 provides a power control function that uses the discharge protection FET to gate battery power to the
system. The PS pin, internally pulled to V
DD
through a 1A current source, is continuously monitored for a low-
impedance connection to V
SS
. If the DS2764 is in sleep mode, the detection of a low on the PS pin causes the
device to transition into active mode, turning on the discharge FET. If the DS2764 is already in active mode, activity
on PS has no effect on the FET control.
The host system has the option of monitoring activity on the PS pin by reading the PS bit in the Special Feature
Register. The PS bit latches a 0 value when a logic low occurs on the PS pin regardless of the operating mode of
the DS2764. If the host intends to monitor future PS pin events, it must write a 1 to the PS bit to ensure that a
subsequent low forced on the PS pin is latched into the PS bit. The PS bit value has no effect on operation of the
DS2764 and can be ignored if PS pin monitoring is not required.
MEMORY
The DS2764 has a 256-byte linear address space. Registers for instrumentation, status, and control are mapped
in the lower 32 bytes, with lockable EEPROM blocks and the unique ROM ID occupying portions of the remaining
address space. The Function Command Register occupies location FEh. All EEPROM memory is general purpose
except byte addresses 31h, 32h and 33h, which should be written with the default values for the Status register, 2-
Wire slave address and Current Offset register, respectively. When reading two-byte registers, (Current, ACR,
Voltage and Temperature), the MSB should be read first. When the MSB of two-byte registers is read, the MSB
and LSB are latched simultaneously and held for the duration of the Read Data transaction. This prevents register
updates during the read and ensures synchronization between the MSB and LSB of two byte register values. For
consistent results, always read the MSB and the LSB of a two-byte register during the same Read Data
transaction.
EEPROM memory is shadowed by RAM to eliminate programming delays between writes and to allow the data to
be verified by the host system before being copied to EEPROM. The Read Data and Write Data protocols to/from
EEPROM memory addresses access the shadow RAM. The Recall Data function command transfers data from the
EEPROM to the shadow RAM. The Copy Data function command transfers data from the shadow RAM to the
EEPROM and requires t
EEC
to complete programming of the EEPROM cells. In unlocked EEPROM blocks, writing
data updates shadow RAM. In locked EEPROM blocks, attempts to write data are ignored. The Copy Data
function command copies the contents of shadow RAM to EEPROM in an unlocked block of EEPROM but has no
effect on locked blocks. The Recall Data function command copies the contents of a block of EEPROM to shadow
RAM regardless of whether the block is locked or not.
Figure 10. EEPROM Access via Shadow RAM
Serial
Interface
Write
Read
Shadow RAM
EEPROM
Copy
Recall
DS2764 High-Precision Li+ Battery Monitor With 2-Wire Interface
14 of 20
Table 2. Memory Map
ADDRESS (HEX) DESCRIPTION READ/WRITE
00 Protection Register R/W
01 Status Register R
02–06 Reserved
07 EEPROM Register R/W
08 Special Feature Register R/W
09–0B Reserved
0C Voltage Register MSB R
0D Voltage Register LSB R
0E Current Register MSB R
0F Current Register LSB R
10 Accumulated Current Register MSB R/W
11 Accumulated Current Register LSB R/W
12–17 Reserved
18 Temperature Register MSB R
19 Temperature Register LSB R
1A–1F Reserved
20–2F EEPROM, block 0 R/W*
30–3F EEPROM, block 1 R/W*
40–47 EEPROM, block 2 R/W*
50–EF Reserved
F0–F7 Unique ID R
+
F8–FD Reserved
FE Function Command Register W
FF Reserved
* Each EEPROM block is read/write until locked by the LOCK command, after which it is read-only.
+ Unique 64 bit ID is a factory option available by special order. Units with IDs do not allow access to block 2 of user EEPROM
PROTECTION REGISTER
The protection register consists of flags that indicate protection circuit status and switches that give conditional
control over the charging and discharging paths. Bits OV, UV, COC, and DOC are set when corresponding
protection conditions occur and remain set until cleared by the host system. The default values of the CE and DE
bits of the protection register are stored in lockable EEPROM in the corresponding bits in address 30h. A recall
data command for EEPROM block 1 recalls the default values into CE and DE. Figure 11 shows the format of the
protection register. The function of each bit is described in detail in the following paragraphs.
Figure 11. Protection Register Format
ADDRESS 00
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
OV UV COC DOC
CC DC
CE DE
OV—Overvoltage Flag. When set to 1, this bit indicates the battery pack has experienced an overvoltage condition.
This bit must be reset by the host system.
UV—Undervoltage Flag. When set to 1, this bit indicates the battery pack has experienced an undervoltage
condition. This bit must be reset by the host system.
COC—Charge Overcurrent Flag. When set to 1, this bit indicates the battery pack has experienced a charge-
direction overcurrent condition. This bit must be reset by the host system.
DOC—Discharge Overcurrent Flag. When set to 1, this bit indicates the battery pack has experienced a discharge-
direction overcurrent condition. This bit must be reset by the host system.
DS2764 High-Precision Li+ Battery Monitor With 2-Wire Interface
15 of 20
CCCC Pin Mirror. This read-only bit mirrors the state of the CC output pin.
DCDC Pin Mirror. This read-only bit mirrors the state of the DC output pin.
CE—Charge Enable. Writing a 0 to this bit disables charging (CC output high, external charge FET off) regardless
of cell or pack conditions. Writing a 1 to this bit enables charging, subject to override by the presence of any
protection conditions. The DS2764 automatically sets this bit to 1 when it transitions from sleep mode to active
mode.
DE—Discharge Enable. Writing a 0 to this bit disables discharging (DC output high, external discharge FET off)
regardless of cell or pack conditions. Writing a 1 to this bit enables discharging, subject to override by the presence
of any protection conditions. The DS2764 automatically sets this bit to 1 when it transitions from sleep mode to
active mode.
STATUS REGISTER
The read-only Status register shows the status of bits which enable or disable selected functions of the DS2764.
Functions are enabled or disabled by programming a default value for the corresponding bits in lockable EEPROM
address 31h. After writing the desired value to 31h, the Copy Data and Recall Data commands for EEPROM block
1 are required to transfer the default values into the status register bits and activate the selected functions. The
selected functions become the default mode of the DS2764 since a recall from block 1 occurs on power-up. The
format of the Status register is shown in Figure 12.
Figure 12. Status Register Format
ADDRESS 01
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
X X PMOD X X X X X
X—Reserved Bits.
PMOD—Sleep Mode Enable. A value of 1 in this bit enables the DS2764 to enter sleep mode when the bus is low
for greater than 2s and to leave sleep mode when the SCL OR SDA line goes high. A value of 0 disables bus-
related transitions into and out of sleep mode. This bit is read-only. The desired default value should be set in bit 5
of address 31h. The factory default is 0.
EEPROM REGISTER
The format of the EEPROM register is shown in Figure 13. The function of each bit is described in detail in the
following paragraphs.
Figure 13. EEPROM Register Format
ADDRESS 07
BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0
EEC LOCK X X X BL2 BL1 BL0
EEC—EEPROM Copy Flag. A 1 in this read-only bit indicates that a Copy Data or Lock function command is in
progress. While this bit is high, writes to EEPROM addresses are ignored and Copy Data and Lock function
commands cannot be issued. A 0 in this bit indicates that data may be written to unlocked EEPROM blocks.
LOCK—EEPROM Lock Enable. When this bit is 0, the Lock function command is ignored. Writing a 1 to this bit
enables the Lock function command. After the Lock function command is executed, the LOCK bit is reset to 0. The
factory default is 0.

DS2764AE+025

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Battery Management Ic Mon Batt Li-Ion Hp
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet