2 write disable – Rainbow Electronics AT25DQ321 User Manual

Page 25

Advertising
background image

25

AT25DQ321 [DATASHEET]

8718D–DFLASH–12/2012

9.2

Write Disable

The Write Disable command is used to reset the Write Enable Latch (WEL) bit in the Status Register to the Logical 0
state. With the WEL bit reset, all Byte/Page Program, Erase, Protect Sector, Unprotect Sector, Sector Lockdown, Freeze
Sector Lockdown State, Program OTP Security Register, Write Status Register, and Write Configuration Register
commands will not be executed. Other conditions can also cause the WEL bit to be reset; for more details, refer to the
WEL bit section of the Status Register description.

To issue the Write Disable command, the CS pin must first be asserted and the opcode of 04h 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 WEL bit in the Status Register will be reset to a Logical 0. 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, the device will abort the operation and the state of the WEL bit will not change.

Figure 9-2. Write Disable

SO

SI

SCK

CS

MSB

2

3

1

0

0

0

0

0

0

1

0

0

6

7

5

4

Opcode

High-impedance

Advertising