STMicroelectronics M95M02-DRMN6TP Memory IC M95M02-DRMN6TP Hoja De Datos

Los códigos de productos
M95M02-DRMN6TP
Descargar
Página de 41
Instructions
M95M02-DR
DocID18203 Rev 8
6.4 
Write Status Register (WRSR)
The Write Status Register (WRSR) instruction is used to write new values to the Status 
Register. Before it can be accepted, a Write Enable (WREN) instruction must have been 
previously executed.
The Write Status Register (WRSR) instruction is entered by driving Chip Select (S) low, 
followed by the instruction code, the data byte on Serial Data input (D) and Chip Select (S) 
driven high. Chip Select (S) must be driven high after the rising edge of Serial Clock (C) that 
latches in the eighth bit of the data byte, and before the next rising edge of Serial Clock (C). 
Otherwise, the Write Status Register (WRSR) instruction is not executed.
The instruction sequence is shown in 
Figure 11. Write Status Register (WRSR) sequence
Driving the Chip Select (S) signal high at a byte boundary of the input data triggers the self-
timed Write cycle that takes t
W
 to complete (as specified in AC tables unde
).
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 WIP bit is 1 during the self-timed 
Write cycle t
W
, and 0 when the Write cycle is complete. The WEL bit (Write Enable Latch) is 
also reset at the end of the Write cycle t
W
.
The Write Status Register (WRSR) instruction enables the user to change the values of the 
BP1, BP0 and SRWD bits:
The Block Protect (BP1, BP0) bits define the size of the area that is to be treated as 
read-only, as defined in 
.
The SRWD (Status Register Write Disable) bit, in accordance with the signal read on 
the Write Protect pin (W), enables the user to set or reset the Write protection mode of 
the Status Register itself, as defined in 
. When in Write-protected mode, the 
Write Status Register (WRSR) instruction is not executed.
The contents of the SRWD and BP1, BP0 bits are updated after the completion of the 
WRSR instruction, including the t
W
 Write cycle.
The Write Status Register (WRSR) instruction has no effect on the b6, b5, b4, b1, b0 bits in 
the Status Register. Bits b6, b5, b4 are always read as 0.
C
D
AI02282D
S
Q
2
1
3
4
5
6
7
8
9 10 11 12 13 14 15
High Impedance
Instruction
Status
Register In
0
7
6
5
4
3
2
0
1
MSB