X24320
reset, nor can RWEL and WEL be reset in one write
operation. RWEL can be reset by writing 00000010 to
step 2. RWEL is reset to zero in step 3 so that user is
required to perform steps 2 and 3 to make another
change. RWEL must be 0 in step 3. If the RWEL bit in the data
byte for step 3 is a one, then no changes are
FFFFh; but this is the same operation as in step 3
described below, and will result in programing BL0,
BL1, and WPEN.
made to the Write Protect Register and the device
remains at step 2.
Writing to the BL and WPEN Bits
A 3 step sequence is required to change the nonvola- tile
Block Lock Protect or Write Protect Enable bits:
The WP pin must be LOW or the WPEN bit must be LOW
before a nonvolatile register write operation is
initiated. Otherwise, the write operation will abort and the
device will go into standby mode after the master
1) Set WEL=1, Write 00000010 to address FFFFh
(Volatile Write Cycle.)
issues the stop condition in step 3.
Step 3 is a nonvolatile write operation, requiring tWC to
complete (acknowledge polling may be used to reduce
2) Set RWEL=1, Write 00000110 to address FFFFh
(Volatile Write Cycle.)
this time requirement). It should be noted that step 3 MUST
end with a stop condition. If a start condition is
3) Set BL1, BL0, and/or WPEN bits, Write u00xy010 to
address FFFFh, where u=WPEN, x=BL1, and y=BL0.
issued during or at the end of step 3 (instead of a stop
condition) the device will abort the nonvolatile register
(Nonvolatile Write Cycle.)
write and remain at step 2. If the operation is aborted with a
start condition, the master must issue a stop to
The three step sequence was created to make it diffi
-
cult to change the contents of the Write Protect
Register accidentally. If WEL was set to one by a
put the device into standby mode.
previous register write operation, the user may start at
ABSOLUTE MAXIMUM RATINGS*
Figure 11. Block Lock Protect Bits and Protected Addresses
BL1
BL0
Protected Addresses
None
Array Location
0
0
1
1
0
1
0
1
No Protect
Upper 1/4
Upper 1/2
Full Array
C00h - FFFh
800h - FFFh
000h - FFFh
7003 FRM T02
Figure 12. WP Pin and WPEN Bit Functionality
Memory Array Not
Lock Block Protected
Memory Array Block
Lock Protected
WPEN
Bit
WP
WPEN
Block Lock Bits
0
X
1
X
0
1
Writable
Writable
Writable
Protected
Protected
Protected
Unprotected
Unprotected
Protected
Unprotected
Unprotected
Protected
7003 FRM T03
10