M95040-RMC6TG STMicroelectronics, M95040-RMC6TG Datasheet - Page 20

no-image

M95040-RMC6TG

Manufacturer Part Number
M95040-RMC6TG
Description
EEPROM 4 Kbit SPI BUS EE 10MHz CR 5ms
Manufacturer
STMicroelectronics
Datasheet

Specifications of M95040-RMC6TG

Product Category
EEPROM
Rohs
yes
Instructions
6.4
20/44
Write Status Register (WRSR)
The Write Status Register (WRSR) instruction allows new values to be written to the Status
register. Before it can be accepted, a Write Enable (WREN) instruction must previously have
been executed.
The Write Status Register (WRSR) instruction is entered by driving Chip Select (S) low,
sending the instruction code followed by the data byte on Serial Data input (D), and driving
the Chip Select (S) signal 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.
Driving the Chip Select (S) signal high at a byte boundary of the input data triggers the self-
timed write cycle that takes t
(M950x0, device grade 3)
instruction sequence is shown in
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
reset at the end of the write cycle t
The Write Status Register (WRSR) instruction allows the user to change the values of the
BP1, BP0 bits which define the size of the area that is to be treated as read only, as defined
in
The contents of the BP1, BP0 bits are updated after the completion of the WRSR
instruction, including the t
The Write Status Register (WRSR) instruction has no effect on the b7, b6, b5, b4, b1 and b0
bits in the Status register. Bits b7, b6, b5, b4 are always read as 0.
Figure 10. Write Status Register (WRSR) sequence
Table 3: Write-protected block
W
, and, 0 when the write cycle is complete. The WEL bit (Write enable latch) is also
S
C
D
Q
0
1
W
High Impedance
to
write cycle.
2
W
Table 20: AC characteristics (M950x0-R, device grade
Instruction
Doc ID 6512 Rev 10
to complete (as specified in
3
size.
Figure 10: Write Status Register (WRSR)
4
W
.
5
6
7
MSB
7
8
6
9 10 11 12 13 14 15
5
Register In
4
Status
3
Table 13: DC characteristics
2
M950x0 M950x0-W M950x0-R
1
0
AI01445B
sequence.
6)). The

Related parts for M95040-RMC6TG