| 数据搜索系统,热门电子元器件搜索 |
|
AT25DF512C 数据表(PDF) 14 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
AT25DF512C 数据表(HTML) 14 Page - Renesas Technology Corp |
|
14 / 47 page ![]() DS-AT25DF512C-030 Rev.H Page 14 2024-01-08 © 2024 Renesas Electronics AT25DF512C Datasheet 8. Program and Erase Commands 8.1 Byte/Page Program The Byte/Page Program command allows anywhere from a single byte of data to 256 bytes of data to be programmed into previously erased memory locations. An erased memory location is one that has all eight bits set to the logical 1 state (a byte value of FFh). Before a Byte/Page Program command can be started, the Write Enable command must have been previously issued to the device (see Section 9.1, Write Enable) to set the Write Enable Latch (WEL) bit of the Status Register to a logical 1 state. To perform a Byte/Page Program command, an opcode of 02h must be clocked into the device, followed by the three address bytes denoting the first byte location of the memory array to begin programming at. After the address bytes have been clocked in, data can then be clocked into the device and stored in an internal buffer. If the starting memory address denoted by A23-A0 does not fall on an even 256-byte page boundary (A7-A0 are not all 0), then special circumstances regarding which memory locations to be programmed apply. In this situation, any data that are sent to the device that goes beyond the end of the page wrap around to the beginning of the same page. For example, if the starting address denoted by A23-A0 is 0000FEh, and three bytes of data are sent to the device, then the first two bytes of data are programmed at addresses 0000FEh and 0000FFh, while the last byte of data is programmed at address 000000h. The remaining bytes in the page (addresses 000001h through 0000FDh) are not programmed and remain in the erased state (FFh). Also, if more than 256 bytes of data are sent to the device, then only the last 256 bytes sent are latched into the internal buffer. When the CS pin is deasserted, the device takes the data stored in the internal buffer and programs it into the appropriate memory array locations based on the starting address specified by A23-A0 and the number of data bytes sent to the device. If less than 256 bytes of data were sent to the device, then the remaining bytes within the page are not programmed and remain in the erased state (FFh). The programming of the data bytes is internally self-timed and takes place in a time of tPP or tBP if only programming a single byte. The three address bytes and at least one complete byte of data must be clocked into the device before the CS pin is deasserted, and the CS pin must be deasserted on even byte boundaries (multiples of eight bits); otherwise, the device stops the operation, and no data are programmed into the memory array. Also, if the memory is in the protected state (see Section 9.3, Block Protection), then the Byte/Page Program command is not executed, and the device returns to the idle state once the CS pin has been deasserted. The WEL bit in the Status Register is reset to the logical 0 state if the program cycle stops due to an incomplete address being sent, an incomplete byte of data being sent, the CS pin being deasserted on uneven byte boundaries, or because the memory location to be programmed is protected. While the device is programming, the Status Register can be read and indicates that the device is busy. For faster throughput, it is recommended that the Status Register be polled rather than waiting the tBP or tPP time to determine if the data bytes have finished programming. At some point before the program cycle completes, the WEL bit in the Status Register is reset to the logical 0 state. The device also incorporates an intelligent programming algorithm that can detect when a byte location fails to program properly. If a programming error arises, it is indicated by the EPE bit in the Status Register. Figure 10. Byte Program SCK CS SI SO MSB MSB 23 1 0 00000010 67 5 410 11 9 812 39 37 38 33 36 35 34 31 32 29 30 OPCODE HIGH-IMPEDANCE AAAA AAA A A MSB DDDDDDD D ADDRESS BITS A23-A0 DATA IN |
|
链接网址 |
| 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 |