
DS2782: Stand-Alone Fuel Gauge IC
19 of 25
Figure 17. EEPROM REGISTER FORMAT
Address
1Fh
Field
Bit
Bit Definition
Format
Allowable Values
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
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 Lock command
not the command issued immediately following the Write command
used to set the Lock Enable bit.
Power-up default: 0
Undefined
EEPROM Block 1 Lock Flag (Parameter EEPROM 60h – 7Fh)
0: EEPROM is not locked
1: EEPROM block is locked
Factory default: 0
EEPROM Block 0 Lock Flag (User EEPROM 20h – 2Fh)
0: EEPROM is not locked
1: EEPROM block is locked
Factory default: 0
EEC
7
Read Only
LOCK
6
Read /
Write to 1
Reserved
2:6
BL1
1
Read Only
BL0
0
Read Only
PROGRAMMABLE SLAVE ADDRESS
The 2-Wire slave address of the DS2782 is stored in the parameter EEPROM block, address 7Eh. Programming
the slave address requires a write to set the SAWE (Slave Address Write Enable) bit in the Special Features
register, followed by a write to 7Eh with the desired slave address. The new slave address value is effective
following the write to 7Eh, and must be used to address the DS2782 on subsequent bus transactions. The slave
address value is not stored to EEPROM until a Copy EEPROM block 1 command is executed. Prior to executing
the Copy command, power cycling the DS2782 restores the original slave address value. The data format of the
slave address value in address 7Eh is shown in Figure 18. When not writing the slave address, the SAWE bit
should be written to a 0.
Figure 18. Slave Address Format
ADDRESS 7E
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
A6
A5
A4
A3
A2
A1
A0
X
A6-A0:
Slave Address. A6-A0 contains the 7-bit slave address of the DS2782. The factory default is 0110100b.
X:
Reserved Bits.