DS2780 Standalone Fuel Gauge IC
19 of 31
CONTROL REGISTER
All CONTROL register bits are read and write accessible. The CONTROL register is recalled from Parameter
EEPROM memory at power-up. Register bit values can be modified in shadow RAM after power-up. Shadow RAM
values can be saved as the power up default values by using the Copy Data command.
Figure 15. Control Register Format
Address 60h Bit Definition
Field Bit Format Allowable Values
Reserved
7 Undefined
UVEN
6 Read/Write Under Voltage SLEEP Enable
0: Disables transition to SLEEP mode based on VIN voltage
1: Enables transition to SLEEP mode if,
VIN < V
SLEEP
AND DQ stable at either logic level for t
SLEEP
PMOD
5 Read/Write Power Mode Enable
0: Disables transition to SLEEP mode based on DQ logic state
1: Enables transition to SLEEP mode if DQ at a logic low for t
SLEEP
RNAOP
4 Read/Write Read Net Address Opcode
0: Read Net Address Command = 33h
1: Read Net Address Command = 39h
Reserved 0:3 Undefined
SPECIAL FEATURE REGISTER
All Special Feature Register bits are read and write accessible, with default values specified in each bit definition.
Figure 16. Special Feature Register Format
Address 15h Bit Definition
Field Bit Format Allowable Values
Reserved
1:7 Undefined
PIOSC
0 Read/Write PIO Sense and Control
Read values
0: PIO pin Vil
1: PIO pin Vih
Write values
0: Activates PIO pin open-drain output driver, forcing the PIO pin low
1: Disables the output driver, allowing the PIO pin to be pulled high or
used as an input
Power-up and SLEEP mode default: 1 (PIO pin is hi-Z)
Note: PIO pin has weak pulldown
EEPROM REGISTER
The EEPROM register provides access control of the EEPROM blocks. EEPROM blocks can be locked to prevent
alteration of data within the block. Locking a block disables write access to it. Once a block is locked, it cannot be
unlocked. Read access to EEPROM blocks is unaffected by the lock/unlock status.
DS2780 Standalone Fuel Gauge IC
20 of 31
Figure 17. EEPROM REGISTER FORMAT
Address 1Fh Bit Definition
Field Bit Format Allowable Values
EEC
7 Read Only EEPROM Copy Flag
Set to 1 when: Copy Data command executed
Cleared to 0 when: Copy Data command completes
Note: While EEC = 1, writes to EEPROM addresses are ignored
Power-up default: 0
LOCK
6 Read /
Write to 1
EEPROM Lock Enable
Host write to 1: Enables the Lock command. Host must issue Lock
command as next command after writing Lock Enable bit to 1.
Cleared to 0 when: Lock command completes or when the Lock
command is not issued immediately following the setting of the Lock
Enable bit.
Power-up default: 0
Reserved
2:6 Undefined
BL1
1 Read Only EEPROM Block 1 Lock Flag (Parameter EEPROM 60h – 7Fh)
0: EEPROM is not locked
1: EEPROM block is locked
Factory default: 0
BL0
0 Read Only EEPROM Block 0 Lock Flag (User EEPROM 20h – 2Fh)
0: EEPROM is not locked
1: EEPROM block is locked
Factory default: 0
MEMORY
The DS2780 has a 256 byte linear memory space with registers for instrumentation, status, and control, as well as
EEPROM memory blocks to store parameters and user information. Byte addresses designated as “Reserved”
return undefined data when read. Reserved bytes should not be written. Several byte registers are paired into two-
byte registers in order to store 16-bit values. The most significant byte (MSB) of the 16 bit value is located at a
even address and the least significant byte (LSB) is located at the next address (odd) byte. When the MSB of a
two-byte register is read, the MSB and LSB are latched simultaneously and held for the duration of the read data
command to prevent updates to the LSB during the read. This ensures synchronization between the two register
bytes. For consistent results, always read the MSB and the LSB of a two-byte register during the same read data
command sequence.
EEPROM memory consists of the non-volatile EEPROM cells overlaid with volatile shadow RAM. The Read Data
and Write Data commands allow the 1-Wire interface to directly access the shadow RAM only. The Copy Data and
Recall Data function commands transfer data between the shadow RAM and the EEPROM cells. In order to modify
the data stored in the EEPROM cells, data must be written to the shadow RAM and then copied to the EEPROM.
In order to verify the data stored in the EEPROM cells, the EEPROM data must be recalled to the shadow RAM
and then read from the shadow RAM.
USER EEPROM
A 16 byte User EEPROM memory (block 0, addresses 20h - 2Fh) provides non-volatile memory that is
uncommitted to other DS2780 functions. Accessing the User EEPROM block does not affect the operation of the
DS2780. User EEPROM is lockable, and once locked, write access is not allowed. The battery pack or host system
manufacturer can program lot codes, date codes and other manufacturing, warranty, or diagnostic information and
then lock it to safeguard the data. User EEPROM can also store parameters for charging to support different size
batteries in a host device as well as auxiliary model data such as time to full charge estimation parameters.
PARAMETER EEPROM
Model data for the cells, as well as application operating parameters are stored in the Parameter EEPROM (block
1, addresses 60h - 7Fh). The ACR (MSB and LSB) and AS registers are automatically saved to EEPROM when
DS2780 Standalone Fuel Gauge IC
21 of 31
the RARC result crosses 4% boundaries. This allows the DS2780 to be located outside the protection FETs. In this
manner, if a protection device is triggered, the DS2780 cannot lose more that 4% of charge or discharge data.
Table 2. MEMORY MAP
ADDRESS (HEX) DESCRIPTION READ/WRITE
00 Reserved R
01 STATUS - Status Register R/W
02 RAAC - Remaining Active Absolute Capacity MSB R
03 RAAC - Remaining Active Absolute Capacity LSB R
04 RSAC - Remaining Standby Absolute Capacity MSB R
05 RSAC - Remaining Standby Absolute Capacity LSB R
06 RARC - Remaining Active Relative Capacity R
07 RSRC - Remaining Standby Relative Capacity R
08 IAVG - Average Current Register MSB R
09 IAVG - Average Current Register LSB R
0A TEMP - Temperature Register MSB R
0B TEMP - Temperature Register LSB R
0C VOLT - Voltage Register MSB R
0D VOLT - Voltage Register LSB R
0E CURRENT - Current Register MSB R
0F CURRENT - Current Register LSB R
10 ACR - Accumulated Current Register MSB R/W*
11 ACR - Accumulated Current Register LSB R/W *
12 ACRL – Low Accumulated Current Register MSB R
13 ACRL – Low Accumulated Current Register LSB R
14 AS - Age Scalar R/W *
15 SFR - Special Feature Register R/W
16 FULL - Full Capacity MSB R
17 FULL - Full Capacity LSB R
18 AE - Active Empty MSB R
19 AE - Active Empty LSB R
1A SE - Standby Empty MSB R
1B SE - Standby Empty LSB R
1C to 1E Reserved
1F EEPROM - EEPROM Register R/W
20 to 2F User EEPROM, Lockable, Block 0 R/W
30 to 5F Reserved
60 to 7F Parameter EEPROM, Lockable, Block 1 R/W
80 to FF Reserved
* Register value is automatically saved to EEPROM during ACTIVE mode operation and recalled from EEPROM
on power up.

DS2780G+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Battery Management Stand-Alone Fuel Gauge
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet