| 数据搜索系统,热门电子元器件搜索 |
|
AT24C01C 数据表(PDF) 18 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
AT24C01C 数据表(HTML) 18 Page - Microchip Technology |
|
18 / 45 page ![]() 7. Write Operations All write operations for the AT24C01C/AT24C02C begin with the master sending a Start condition, followed by a device address byte with the R/W bit set to logic ‘0’, and then by the word address byte. The data value(s) to be written to the device immediately follow the word address byte. 7.1 Byte Write The AT24C01C/AT24C02C supports the writing of a single 8-bit byte. Selecting a data word in the AT24C01C requires a 7-bit word address, while selecting a data word in the AT24C02C requires an 8-bit word address. Upon receipt of the proper device address and the word address bytes, the EEPROM will send an Acknowledge. The device will then be ready to receive the 8-bit data word. Following receipt of the 8‑bit data word, the EEPROM will respond with an ACK. The addressing device, such as a bus master, must then terminate the write operation with a Stop condition. At that time, the EEPROM will enter an internally self-timed write cycle, which will be completed within tWR, while the data word is being programmed into the nonvolatile EEPROM. All inputs are disabled during this write cycle, and the EEPROM will not respond until the write is complete. Figure 7-1. Byte Write SCL SDA Device Address Byte Word Address Byte Data Word Start by Master ACK from Slave MSB MSB Stop by Master MSB 1 2 3 4 5 6 7 8 9 1 0 1 0 A 2 A 1 A 0 0 0 1 2 3 4 5 6 7 8 9 D7 D6 D5 D4 D3 D2 D1 D0 0 A7 A6 A5 A4 A3 A2 A1 A0 0 1 2 3 4 5 6 7 8 9 ACK from Slave ACK from Slave 7.2 Page Write A page write operation allows up to 8 bytes to be written in the same write cycle, provided all bytes are in the same row of the memory array (where address bits A7 to A3 are the same). Partial page writes of less than 8 bytes are also allowed. A page write is initiated the same way as a byte write, but the bus master does not send a Stop condition after the first data word is clocked in. Instead, after the EEPROM acknowledges receipt of the first data word, the bus master can transmit up to seven additional data words. The EEPROM will respond with an ACK after each data word is received. Once all data to be written has been sent to the device, the bus master must issue a Stop condition (see Figure 7-2) at which time the internally self-timed write cycle will begin. The lower three bits of the word address are internally incremented following the receipt of each data word. The higher order address bits are not incremented and retain the memory page row location. Page write operations are limited to writing bytes within a single physical page, regardless of the number of bytes actually being written. When the incremented word address reaches the page boundary, the address counter will roll-over to the beginning of the same page. Nevertheless, creating a roll‑over event should be avoided as previously loaded data in the page could become unintentionally altered. AT24C01C/AT24C02C Write Operations © 2018 Microchip Technology Inc. Datasheet DS20006111A-page 18 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |