| Datenblatt-Suchmaschine für elektronische Bauteile |
|
AT25DF021A Datenblatt(PDF) 21 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
AT25DF021A Datenblatt(HTML) 21 Page - Renesas Technology Corp |
|
21 / 59 page ![]() DS-AT25DF021A-042 Rev. L Page 21 8/7/23 © 2023 Renesas Electronics AT25DF021A Datasheet 8.5 Block Erase A block of 4, 32, or 64 kBytes can be erased (all bits set to the logical 1 state) in a single operation by using one of three different opcodes for the Block Erase command. An opcode of 20h is used for a 4-kByte erase, an opcode of 52h for a 32-kByte erase, and an opcode of D8h is used for a 64-kByte erase. Before a Block Erase command can be started, the Write Enable command must have been previously issued to the device to set the WEL bit of the Status Register to a logical 1 state. To perform a Block Erase, the CS pin must first be asserted and the appropriate opcode (20h, 52h, or D8h) must be clocked into the device. After the opcode has been clocked in, the three address bytes specifying an address within the 4-, 32-, or 64-kByte block to be erased must be clocked in. Any additional data clocked into the device is ignored. When the CS pin is deasserted, the device erases the appropriate block. The erasing of the block is internally self-timed and takes place in a time of tBLKE. Since the Block Erase command erases a region of bytes, the lower order address bits do not need to be decoded by the device. Thus, for a 4-kByte erase, address bits A11-A0 are ignored by the device and their values can be either a logical 1 or 0. For a 32-kByte erase, address bits A14-A0 are ignored by the device. For a 64-kByte erase, address bits A15-A0 are ignored by the device. Despite the lower order address bits not being decoded by the device, the complete three address bytes must still be clocked into the device before the CS pin is deasserted, and the CS pin must be deasserted on an even byte boundary (multiples of eight bits); otherwise, the device stops the operation and no erase operation is performed. If the memory is in the protected state, then the Block Erase 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 back to the logical 0 state if the erase cycle stops due to an incomplete address being sent, the CS pin being deasserted on uneven byte boundaries, or because a memory location within the region to be erased is protected. While the device is executing a successful erase cycle, 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 tBLKE time to determine if the device has finished erasing. At some point before the erase cycle completes, the WEL bit in the Status Register is reset back to the logical 0 state. For fastest throughput and least power consumption, it is recommended that the Active Status Interrupt command 25h be used. After the initial 16 clocks, no more clocks are required. Once the BUSY cycle is done, SO is driven low immediately to signal the device has finished erasing. The device also incorporates an intelligent erase algorithm that can detect when a byte location fails to erase properly. If an erase error occurs, it is indicated by the EPE bit in the Status Register. Figure 17. Block Erase SCK CS SI SO MSB MSB 23 1 0 CCCCCCCC 67 5 410 11 9 812 31 29 30 27 28 26 OPCODE AAAA AAA AA A A A ADDRESS BITS A23-A0 High-Impedance |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |