| Datenblatt-Suchmaschine für elektronische Bauteile |
|
ADP1055ACPZ-R7 Datenblatt(PDF) 55 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADP1055ACPZ-R7 Datenblatt(HTML) 55 Page - Analog Devices |
|
55 / 140 page ![]() Data Sheet ADP1055 Rev. A | Page 55 of 140 3. Read three bytes from Page 6. Note that the block read command can read a maximum of 255 bytes for any single transaction. WRITE OPERATION (BYTE WRITE AND BLOCK WRITE) Write to Main Block, Page 0 and Page 5 Page 0 and Page 1 of the main block are reserved for storing the default settings and user settings, respectively. Page 2 through Page 5 of the main block are reserved for storing the black box information, GUI settings, and factory tracking information. The user cannot perform a direct write operation to any page from Page 0 to Page 5 using the EEPROM_PAGE_00 to EEPROM_ PAGE_05 commands. A user write to these pages 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 0x15). See the Save Register Settings to User Settings section. Write to Main Block, Page 6 to Page 15 Before performing a write to Page 6 through Page 15 of the main block, the user must first unlock the EEPROM (see the Unlock the EEPROM section). Data in Page 6 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_PAGE_xx commands (Register 0xB6 to Register 0xBF). 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 (Register 0xD3). 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 256th byte of that page. 1. Set address offset = 256. 2. Write four bytes to Page 9. Note that the block write command can write a maximum of 255 bytes for any single transaction. EEPROM PASSWORD On power-up, the EEPROM is locked and protected from accidental writes or erases. Only reads from Page 6 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 erasing. Unlock the EEPROM To unlock the EEPROM, perform two consecutive writes with the correct password (default = 0xFF) using the EEPROM_ PASSWORD command (Register 0xD5). The EEPROM_ UNLOCKED flag (Register 0xFE93, Bit 15) 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 password using the EEPROM_PASSWORD command (Register 0xD5). The EEPROM_UNLOCKED flag (Register 0xFE93, Bit 15) is cleared to indicate that the EEPROM is locked from write access. Change the EEPROM Password To change the EEPROM password, follow these steps: 1. Enter the correct 32-bit key code using the KEY_CODE command (Register 0xD7). 2. Write the old password using the EEPROM_PASSWORD command (Register 0xD5). 3. Immediately write the new password using the EEPROM_ PASSWORD command (Register 0xD5). The password is now changed to the new password. Save the new password to the user settings by executing the STORE_USER_ALL command (Register 0x15). S 7-BIT SLAVE ADDRESS 7-BIT SLAVE ADDRESS W A A R A 0xB6 Sr BYTE COUNT = 0x03 DATA BYTE 3 A A NA P DATA BYTE 1 ... = MASTER-TO-SLAVE = SLAVE-TO-MASTER S 7-BIT SLAVE ADDRESS W A A 0x00 AA P 0xD3 0x01 = MASTER-TO-SLAVE = SLAVE-TO-MASTER S 7-BIT SLAVE ADDRESS BYTE COUNT = 4 W A A A 0xB9 DATA BYTE 1 DATA BYTE 4 A A P ... = MASTER-TO-SLAVE = SLAVE-TO-MASTER |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |