Other commands and functions, 1 reset, If a reset operation (see – Rainbow Electronics AT25DQ321 User Manual

Page 48

Advertising
background image

48

AT25DQ321 [DATASHEET]

8718D–DFLASH–12/2012

12.

Other Commands and Functions

12.1 Reset

In some applications, it may be necessary to prematurely terminate a program or erase cycle early rather than wait the
hundreds of microseconds or milliseconds necessary for the program or erase operation to complete normally. The
Reset command allows a program or erase operation in progress to be ended abruptly and returns the device to an idle
state. Since the need to reset the device is immediate, the Write Enable command does not need to be issued prior to the
Reset command being issued. Therefore, the Reset command operates independently of the state of the WEL bit in the
Status Register.

The Reset command can only be executed if the command has been enabled by setting the Reset Enabled (RSTE) bit in
the Status Register to a Logical 1. If the Reset command has not been enabled (the RSTE bit is in the Logical 0 state),
then any attempts at executing the Reset command will be ignored.

To perform a Reset, the CS pin must first be asserted and the opcode of F0h must be clocked into the device. No
address bytes need to be clocked in, but a confirmation byte of D0h must be clocked into the device immediately after the
opcode. Any additional data clocked into the device after the confirmation byte will be ignored. When the CS pin is
deasserted, the program or erase operation currently in progress will be terminated within a time of t

RST

. Since the

program or erase operation may not complete before the device is reset, the contents of the page being programmed or
the block being erased cannot be guaranteed to be valid.

The Reset command has no effect on the states of the Sector Protection Registers, the Sector Lockdown Registers, the
Configuration Register or the SPRL, RSTE, and SLE bits in the Status Register. The WEL, PS and ES bits of the Status
Register, however, will be reset back to their default states. If a Reset operation is performed while a sector is erase
suspended, the suspend operation will abort and the contents of the block being erased in the suspended sector will be
left in an undefined state. If a Reset is performed while a sector is program suspended, the suspend operation will abort
and the contents of the page that was being programmed and subsequently suspended will be undefined. The remaining
pages in the 64KB sector will retain their previous contents.

The complete opcode and confirmation byte 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 Reset operation will be performed.

Figure 12-1. Reset

SO

SI

SCK

CS

MSB

2

3

1

0

1

1

1

1

0

0

0

6

7

5

4

Opcode

Confirmation Byte IN

10 11

9

8

14 15

13

12

0

MSB

1

1

0

1

0

0

0

0

High-impedance

Advertising