M25PE80
Instructions
6.5
Write status register (WRSR)
The write status register (WRSR) instruction allows new values to be written to the status
register.
Note:
The status register BPi and SRWD bits are available in the M25PE80 in the T9HX process
only. See Important note on page 6 for more details.
Before the write status register (WRSR) instruction can be accepted, a write enable
(WREN) instruction must previously have been executed. After the write enable (WREN)
instruction has been decoded and executed, the device sets the write enable latch (WEL).
The write status register (WRSR) instruction is entered by driving Chip Select (S) Low,
followed by the instruction code and the data byte on serial data input (D).
The instruction sequence is shown in Figure 11.
The write status register (WRSR) instruction has no effect on b6, b5, b1 and b0 of the status
register. b6 and b5 are always read as 0.
Chip Select (S) must be driven High after the eighth bit of the data byte has been latched in.
If not, the write status register (WRSR) instruction is not executed. As soon as Chip Select
(S) is driven High, the self-timed write status register cycle (whose duration is t ) is initiated.
W
While the write status register cycle is in progress, the status register may still be read to
check the value of the write in progress (WIP) bit. The write in progress (WIP) bit is 1 during
the self-timed write status register cycle, and is 0 when it is completed. When the cycle is
completed, the Write Enable Latch (WEL) is reset.
The write status register (WRSR) instruction allows the user to change the values of the
block protect (BP2, BP1, BP0) bits, to define the size of the area that is to be treated as
read-only, as defined in Table 4. The write status register (WRSR) instruction also allows the
user to set or reset the status register write disable (SRWD) bit in accordance with the Write
Protect (W) signal (see Section 6.4.4).
If a write status register (WRSR) instruction is interrupted by a Reset Low pulse, the internal
cycle of the write status register operation (whose duration is t ) is first completed (provided
W
that the supply voltage V remains within the operating range). After that the device enters
CC
the reset mode (see also Table 15: Device status after a Reset Low pulse and Table 26:
Timings after a Reset Low pulse).
Figure 11. Write status register (WRSR) instruction sequence
S
0
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15
C
Instruction
Status
register in
7
6
5
4
3
2
0
1
D
Q
High Impedance
MSB
AI02282D
27/66