DS2782
21 of 28
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 the block. Once a block is locked, it
cannot be unlocked. Read access to EEPROM blocks is unaffected by the lock/unlock status.
Figure 21. 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 Lock command
not the command issued immediately following the Write command
used to set 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
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 22. When not writing the slave address, the SAWE bit
should be written to a 0.
Figure 22. Slave Address Format
ADDRESS 7Eh
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.