| Electronic Components Datasheet Search |
|
MCP79412 Datasheet(PDF) 43 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP79412 Datasheet(HTML) 43 Page - Microchip Technology |
|
43 / 66 page ![]() 2010-2016 Microchip Technology Inc. DS20002266H-page 43 MCP79410/MCP79411/MCP79412 6.3 Protected EEPROM The MCP7941X features a 64-bit protected EEPROM block that requires a special unlock sequence to be followed in order to write to the memory. Note that reading from the memory does not require the unlock sequence to be performed. The protected EEPROM can be used for storing crucial information such as a unique serial number. The MCP79411 and MCP79412 include an EUI-48 and EUI-64 node address, respectively, pre-programmed into the protected EEPROM block. Custom programming is also available. The protected EEPROM block is located at addresses 0xF0 to 0xF7 and is accessed using the ‘1010111X’ control byte. 6.3.1 PROTECTED EEPROM UNLOCK SEQUENCE The protected EEPROM block requires a special unlock sequence to prevent unintended writes, utilizing the EEUNLOCK register. The EEUNLOCK register is not a physical register; it is used exclusively in the EEPROM write sequence. Reading from EEUNLOCK will read all 0’s. To unlock the block, the following sequence must be followed: 1. Write 0x55 to the EEUNLOCK register 2. Write 0xAA to the EEUNLOCK register 3. Write the desired data bytes to the EEPROM Figure 6-12 illustrates the sequence. The entire EEPROM block does not have to be written in a single operation. However, the block is locked after each write operation and must be unlocked again to start a new Write command. FIGURE 6-12: PROTECTED EEPROM UNLOCK AND SEQUENTIAL WRITE Note: Attempts to access invalid addresses (Figure 5-1) will result in the MCP7941X not acknowledging the address. Note 1: Diverging from any step of the unlock sequence may result in the EEPROM remaining locked and the write operation being ignored. 2: Unlocking the EEPROM is not required in order to read from the memory. BUS ACTIVITY MASTER SDA LINE BUS ACTIVITY S T A R T CONTROL BYTE ADDRESS BYTE DATA S T O P A C K A C K A C K S 11 01 0 1 P 0 BUS ACTIVITY MASTER SDA LINE BUS ACTIVITY S T A R T CONTROL BYTE ADDRESS BYTE DATA BYTE 0 S T O P A C K A C K A C K DATA BYTE n A C K S 10 1 0 0 P 1 000 1 0 0 1 0 10 101 0 1 BUS ACTIVITY MASTER SDA LINE BUS ACTIVITY S T A R T CONTROL BYTE ADDRESS BYTE DATA S T O P A C K A C K A C K S 11 0 1 0 1 P 0 0 00 10 01 1 0 1 010 10 11 10 11 1 11 11 1. Write 0x55 to EEUNLOCK 2. Write 0xAA to EEUNLOCK 3. Write Data to EEPROM Register Register |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |