20AT25SF321B
DS-25SF321B–179B–6/2019
operation has been suspended. In addition, the RDY/BSY bit in the Status Register will indicate that the device is ready
for another operation. The complete opcode must be clocked into the device before the CS pin is deasserted, and the CS
pin must be deasserted on a byte boundary (multiples of eight bits). Otherwise, no suspend operation will be performed.
If a read operation is attempted to a suspended area (page for programming or block for erasing), then the device will
output undefined data. Therefore, when performing a Read Array operation to an unsuspended area and the device's
internal address counter increments and crosses into the suspended area, the device will then start outputting undefined
data until the internal address counter crosses to an unsuspended area.
A program operation is not allowed to a block that has been erase suspended. If a program operation is attempted to an
erase suspended block, then the program operation will abort and the WEL bit in the Status Register will be reset back to
a logical "0" state. Likewise, an erase operation is not allowed to a block that included the page that has been program
suspended. If attempted, the erase operation will abort and the WEL bit in the Status Register will be reset to a logical "0"
state.
If an attempt is made to perform an operation that is not allowed during a program or erase suspend, such as a Write
Status Register operation, then the device will simply ignore the opcode and no operation will be performed. The state of
the WEL bit in the Status Register will not be affected.
7.5 Program/Erase Resume (7Ah)
The Program/Erase Resume command allows a suspended program or erase operation to be resumed and continue
programming a Flash page or erasing a Flash memory block where it left off. The Program/Erase Resume instruction will
be accepted by the device only if the SUS bit in the Write Status Register equals 1 and the RDY/BSY bit equals 0. If the
SUS bit equals 0 or the RDY/BSY bit equals to 1, the Program/Erase Resume command will be ignored by the device. As
with the Program/Erase Suspend command, the Write Enable command does not need to be issued prior to the
Program/Erase Resume command being issued. Therefore, the Program/Erase Resume command operates
independently of the state of the WEL bit in the Status Register.
To perform Program/Erase Resume, the CS pin must first be asserted and opcode 7Ah must be clocked into the device.
No address bytes need to be clocked into the device, and any data clocked in after the opcode will be ignored. When the
CS pin is deasserted, the program or erase operation currently suspended will resume. The E_SUS or P_SUS bit in the
Status Register is reset back to the logical "0" state to indicate the program or erase operation is no longer suspended. In
addition, the RDY/BSY bit in the Status Register will indicate that the device is busy performing a program or erase
operation. The complete opcode must be clocked into the device before the CS pin is deasserted, and the CS pin must
be deasserted on a byte boundary (multiples of eight bits). Otherwise, no resume operation will perform.
During a simultaneous Erase Suspend/Program Suspend condition, issuing the Program/Erase Resume command will
result in the program operation resuming first. After the program operation has been completed, the Program/Erase
Resume command must be issued again in order for the erase operation to be resumed.
While the device is busy resuming a program or erase operation, any attempts at issuing the Program/Erase Suspend
command will be ignored. Therefore, if a resumed program or erase operation needs to be subsequently suspended
again, the system must either wait before issuing the Program/Erase Suspend command, or it must check the status of
the RDY/BSY bit or the E_SUS or P_SUS bit in the Status Register to determine if the previously suspended program or
erase operation has resumed.