English
Language : 

M95640 Datasheet, PDF (16/39 Pages) STMicroelectronics – 64/32/16/8 Kbit Serial SPI Bus EEPROM With High Speed Clock
M95640, M95320
Table 5. Protection Modes
W SRWD
Signal Bit
Mode
Write Protection of the
Status Register
Memory Content
Protected Area1
Unprotected Area1
1
0
Status Register is
Writable (if the WREN
0
0
Software instruction has set the
Protected WEL bit)
Write Protected
(SPM) The values in the BP1
1
1
and BP0 bits can be
changed
Ready to accept Write
instructions
Status Register is
Hardware Hardware write protected
0
1
Protected The values in the BP1
Write Protected
(HPM) and BP0 bits cannot be
changed
Ready to accept Write
instructions
Note: 1. As defined by the values in the Block Protect (BP1, BP0) bits of the Status Register, as shown in Table 3.
The protection features of the device are summa-
rized in Table 3.
When the Status Register Write Disable (SRWD)
bit of the Status Register is 0 (its initial delivery
state), it is possible to write to the Status Register
provided that the Write Enable Latch (WEL) bit has
previously been set by a Write Enable (WREN) in-
struction, regardless of the whether Write Protect
(W) is driven High or Low.
When the Status Register Write Disable (SRWD)
bit of the Status Register is set to 1, two cases
need to be considered, depending on the state of
Write Protect (W):
– If Write Protect (W) is driven High, it is possible
to write to the Status Register provided that the
Write Enable Latch (WEL) bit has previously
been set by a Write Enable (WREN) instruction.
– If Write Protect (W) is driven Low, it is not pos-
sible to write to the Status Register even if the
Write Enable Latch (WEL) bit has previously
been set by a Write Enable (WREN) instruction.
(Attempts to write to the Status Register are re-
jected, and are not accepted for execution). As
a consequence, all the data bytes in the memo-
ry area that are software protected (SPM) by the
Block Protect (BP1, BP0) bits of the Status Reg-
ister, are also hardware protected against data
modification.
Regardless of the order of the two events, the
Hardware Protected Mode (HPM) can be entered:
– by setting the Status Register Write Disable
(SRWD) bit after driving Write Protect (W) Low
– or by driving Write Protect (W) Low after setting
the Status Register Write Disable (SRWD) bit.
The only way to exit the Hardware Protected Mode
(HPM) once entered is to pull Write Protect (W)
High.
If Write Protect (W) is permanently tied High, the
Hardware Protected Mode (HPM) can never be
activated, and only the Software Protected Mode
(SPM), using the Block Protect (BP1, BP0) bits of
the Status Register, can be used.
Table 6. Address Range Bits
Device
M95640
M95320
Address Bits
A12-A0
A11-A0
Note: 1. b15 to b13 are Don’t Care on the M95640.
b15 to b12 are Don’t Care on the M95320.
16/39