| Zakładka z wyszukiwarką danych komponentów |
|
AN3002 Arkusz danych(PDF) 8 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3002 Arkusz danych(HTML) 8 Page - STMicroelectronics |
|
8 / 22 page ![]() I2C password mechanisms AN3002 8/22 Doc ID 15912 Rev 2 When the bus master generates a Stop condition immediately after the Ack bit (during the “10th bit” time slot), an internal delay equivalent to the write cycle time is triggered. A Stop condition at any other time does not trigger the internal delay. During that delay, the M24LRxx compares the 32 received data bits with the 32 bits of the stored I2C password. If the values match, the write access rights to all protected sectors are modified after the internal delay. If the values do not match, the protected sectors remain protected. During the internal delay, Serial Data (SDA) is disabled internally, and the device does not respond to any requests. Figure 3. I2C Present Password command 2.1.2 I2C Write Password command description The I2C Write Password command is used to write a 32-bit block into the M24LRxx I2C password system area. This command is used in I2C mode to update the I2C password value. It cannot be used to update any of the RF passwords. After the write cycle, the new I2C password value is automatically activated. The I2C password value can only be modified after issuing a valid I2C Present Password command. On delivery, the I2C default password value is set to 0000 0000h and is activated. Following a Start condition, the bus master sends a device select code with the Read/Write bit (RW) reset to 0 and the Chip Enable bit E2 at 1. The device acknowledges this, as shown in Figure 4, and waits for the two I2C password address bytes, 09h and 00h. The device responds to each address byte with an acknowledge bit, and then waits for the 4 password data bytes, the validation code, 07h, and a resend of the 4 password data bytes. The most significant byte of the password is sent first, followed by the least significant bytes. It is necessary to send twice the 32-bit password to prevent any data corruption during the write sequence. If the two 32-bit passwords sent are not exactly the same, the M24LRxx does not modify the I2C password value. When the bus master generates a Stop condition immediately after the Ack bit (during the 10th bit time slot), the internal write cycle is triggered. A Stop condition at any other time does not trigger the internal write cycle. During the internal write cycle, Serial Data (SDA) is disabled internally, and the device does not respond to any requests. ai15125b Device select code Password address 09h Password address 00h Password [31:24] Ack R/W Ack Ack Ack Device select code = 1010 1 E1 E0 Password [23:16] Password [15:8] Password [7:0] Ack Ack Ack Ack generated during 9th bit time slot. Validation code 09h Ack Password [31:24] Ack Password [23:16] Password [15:8] Password [7:0] Ack Ack Ack |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |