Electronic Components Datasheet Search
ADP1046AW Datasheet(PDF) 42 Page - Analog Devices
AD [Analog Devices]
ADP1046AW Datasheet(HTML) 42 Page - Analog Devices
/ 88 page
Rev. 0 | Page 42 of 88
WRITE OPERATION (BYTE WRITE AND BLOCK
Write to Main Block, Page 0 and Page 1
Page 0 and Page 1 of the main block are reserved for storing the
default settings and user settings, respectively. The user cannot
perform a direct write operation to Page 0 or Page 1 using the
EEPROM_DATA_00 and EEPROM_DATA_01 commands. A
user write to Page 0 or Page 1 returns a no acknowledge. To
program the register contents of Page 1 of the main block, it is
recommended that the STORE_USER_ALL command be used
(Register 0x82). See the Save Register Settings to User Settings
Write to Main Block, Page 2 and Page 3
Page 2 and Page 3 of the main block are reserved for internal
use and their contents should not be written to. Only Page 4
to Page 15 should be used to store data.
Write to Main Block, Page 4 to Page 15
Before performing a write to Page 4 through Page 15 of the
main block, the user must first unlock the EEPROM (see the
Unlock the EEPROM section).
Data in Page 4 to Page 15 of the EEPROM main block can be
programmed (written to) one byte at a time or in multiple bytes in
series using the EEPROM_DATA_xx commands (Register 0x8B
to Register 0x9A). Before executing this command, the user can
program the offset from the page boundary where the first byte
is written using the EEPROM_ADDR_OFFSET command
If the targeted page has not yet been erased, the user can erase
the page as described in the Page Erase Operation section.
In the following example, four bytes are written to Page 9,
starting from the 256
byte of that page.
1. Set address offset = 256.
2. Write four bytes to Page 9.
COUNT = 4
DATA BYTE 1
DATA BYTE 4
Note that the block write command can write a maximum
of 256 bytes for any single transaction (set the byte count = 0).
On power-up, the EEPROM is locked and protected from
accidental writes or erases. Only reads from Page 2 to Page 15
of the main block are allowed when the EEPROM is locked.
Before any data can be written (programmed) to the EEPROM,
the EEPROM must be unlocked for write access. After it is
unlocked, the EEPROM is opened for reading, writing, and
Unlock the EEPROM
To unlock the EEPROM, perform two consecutive writes
with the correct password (default = 0xFF) using the EEPROM_
PASSWORD command (Register 0x88). The EEPROM unlocked
flag (Bit 0 of Register 0x03) is set to indicate that the EEPROM
is unlocked for write access.
Lock the EEPROM
To lock the EEPROM, write any byte other than the correct pass-
word using the EEPROM_PASSWORD command (Register 0x88).
The EEPROM unlocked flag (Bit 0 of Register 0x03) is cleared
to indicate that the EEPROM is locked from write access.
Change the EEPROM Password
To change the EEPROM password, first write the correct password
using the EEPROM_PASSWORD command (Register 0x88).
Immediately write the new password using the same command.
The password is now changed to the new password.
DOWNLOADING EEPROM SETTINGS TO INTERNAL
Download User Settings to Registers
The user settings are stored in Page 1 of the EEPROM main
block. These settings are downloaded from the EEPROM into
the registers under the following conditions:
On power-up. The user settings are automatically down-
loaded into the internal registers, powering the part up in
a state previously saved by the user.
On execution of the RESTORE_USER_ALL command
(Register 0x83). This command allows the user to force a
download of the user settings from Page 1 of the EEPROM
main block into the internal registers.
Download Factory Default Settings to Registers
The factory default settings are stored in Page 0 of the EEPROM
main block. The factory default settings can be downloaded from
the EEPROM into the internal registers using the RESTORE_
DEFAULT_ALL command (Register 0x81).
When this command is executed, the EEPROM password is also
reset to the factory default setting of 0xFF.
Does ALLDATASHEET help your business so far?
[ DONATE ]
All Rights Reserved©
| English :
| Chinese :
| German :
| Japanese :
| Korean :
| Spanish :
| French :
| Italian :
| Polish :
| Vietnamese :