| Os motores de busca de Datasheet de Componentes eletrônicos |
|
ADP1055ACPZ-R7 Folha de dados(PDF) 54 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADP1055ACPZ-R7 Folha de dados(HTML) 54 Page - Analog Devices |
|
54 / 140 page ![]() ADP1055 Data Sheet Rev. A | Page 54 of 140 EEPROM The ADP1055 has a built-in EEPROM controller that is used to communicate with the embedded 8k × 8-byte EEPROM. The EEPROM, also called Flash®/EE, is partitioned into two major blocks: the INFO block and the main block. The INFO block contains 128 8-bit bytes (for internal use only), and the main block contains 8k 8-bit bytes. The main block is further partitioned into 16 pages; each page contains 512 bytes. OVERVIEW The EEPROM controller provides an interface between the ADP1055 core logic and the built-in Flash/EE. The user can control data access to and from the EEPROM through this controller interface. Different I2C commands are available for the different operations to the EEPROM. Communication is initiated by the master device sending a command to the I2C slave device to access data from or send data to the EEPROM. Using read and write commands, data is transferred between devices in a byte wide format. Using a read command, data is received from the EEPROM and transmitted to the master device. Using a write command, data is received from the master device and stored in the EEPROM through the EEPROM controller. Send commands are also supported; a send command is executed by the slave device upon receiving the stop bit. The stop bit is the last bit in a complete data transfer, as defined in the I2C communication protocol. For a complete description of the I2C protocol, see the Philips I2C Bus Specification, Version 2.1, dated January 2000. PAGE ERASE OPERATION The main block consists of 16 equivalent pages of 512 bytes each, numbered Page 0 to Page 15. Page 0 and Page 1 of the main block are reserved for storing the default settings and user settings, respectively. Page 2 and Page 3 are reserved for storing the black box information, and Page 4 and Page 5 are used to store the GUI settings and factory tracking information. The user cannot perform a page erase operation to any of Page 0 to Page 5. Only Page 6 to Page 15 of the main block can be used to store data. To erase any page from Page 6 to Page 15, the EEPROM must first be unlocked for access. For instructions on how to unlock the EEPROM, see the Unlock the EEPROM section. Page 6 to Page 15 of the main block can be individually erased using the EEPROM_PAGE_ERASE command (Register 0xD4). For example, to perform a page erase of Page 10, execute the following command: Figure 82. Example Erase Command In this example, command code = 0xD4 and data byte = 0x0A. Wait at least 35 ms for the page erase operation to complete before executing the next I2C command. The EEPROM allows erasing of whole pages only; therefore, to change the data of any single byte in a page, the entire page must first be erased (set high) for that byte to be writable. Subsequent writes to any bytes in that page are allowed as long as that byte has not been written to a logic low previously. READ OPERATION (BYTE READ AND BLOCK READ) Read from Main Block, Page 0 to Page 5 Page 0 and Page 1 of the main block are reserved for storing the default settings and user settings, respectively. Page 2 and Page 3 are reserved for storing the black box information, and Page 4 and Page 5 are used to store the GUI settings and factory tracking information. These pages are intended to prevent third- party access to this data. To read a page from Page 0 to Page 5, the user must first unlock the EEPROM (see the Unlock the EEPROM section). After the EEPROM is unlocked, Page 0 to Page 5 are readable using the EEPROM_PAGE_xx commands, as described in the Read from Main Block, Page 6 to Page 15 section. Note that when the EEPROM is locked, a read from Page 0 to Page 5 returns invalid data. Read from Main Block, Page 6 to Page 15 Data in Page 6 to Page 15 of the main block is always readable, even with the EEPROM locked. The data in the EEPROM main block can be read one byte at a time or in multiple bytes in series using the EEPROM_PAGE_xx commands (Register 0xB0 to Register 0xBF). Before executing this command, the user must program the number of bytes to read using the EEPROM_NUM_RD_BYTES command (Register 0xD2). The user can also program the offset from the page boundary where the first read byte is returned using the EEPROM_ADDR_OFFSET command (Register 0xD3). In the following example, three bytes from Page 6 are read from the EEPROM, starting from the fifth byte of that page. 1. Set the number of return bytes = 3. 2. Set address offset = 5. S 7-BIT SLAVE ADDRESS W A A P DATA BYTE COMMAND CODE A = MASTER-TO-SLAVE = SLAVE-TO-MASTER S 7-BIT SLAVE ADDRESS W A A P 0xD2 0x03 A = MASTER-TO-SLAVE = SLAVE-TO-MASTER S 7-BIT SLAVE ADDRESS W A A A A P 0xD3 0x00 0x05 = MASTER-TO-SLAVE = SLAVE-TO-MASTER |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes 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 |