欢迎访问ic37.com |
会员登录 免费注册
发布采购

X24320 参数 Datasheet PDF下载

X24320图片预览
型号: X24320
PDF下载: 下载PDF文件 查看货源
内容描述: 400kHz的2线串行E2PROM与锁座 [400KHz 2-Wire Serial E2PROM with Block Lock]
分类和应用: 可编程只读存储器
文件页数/大小: 17 页 / 302 K
品牌: ICMIC [ IC MICROSYSTEMS ]
 浏览型号X24320的Datasheet PDF文件第5页浏览型号X24320的Datasheet PDF文件第6页浏览型号X24320的Datasheet PDF文件第7页浏览型号X24320的Datasheet PDF文件第8页浏览型号X24320的Datasheet PDF文件第10页浏览型号X24320的Datasheet PDF文件第11页浏览型号X24320的Datasheet PDF文件第12页浏览型号X24320的Datasheet PDF文件第13页  
X24320
WRITE PROTECT REGISTER (WPR)
Writing to the Write Protect Register
The Write Protect Register can only be modified by
performing a “ByteWrite” operation directly to the
address FFFFh as described below.
The Data Byte must contain zeroes where indicated in the
procedural descriptions below; otherwise the oper-
ation will not be performed. Only one Data Byte is
allowed for each register write operation. The part will
not acknowledge any data bytes after the first byte is entered.
The user then has to issue a stop to initiate
the nonvolatile write cycle that writes BL0, BL1, and
WPEN to the nonvolatile bits. A stop must also be
issued after volatile register write operations to put the device
into Standby.
The state of the Write Protect Register can be read by
performing a random byte read at FFFFh at any time.
The part will reset itself after the first byte is read. The master
should supply a stop condition to be consistent
with the protocol, but a stop is not required to end this
operation. After the read, the address counter contains
WPEN: Write Protect Enable Bit (Nonvolatile)
The Write Protect (WP) pin and the Write Protect Enable
(WPEN) bit in the Write Protect Register
control the Programmable Hardware Write Protection
feature. Hardware Write Protection is enabled when
the WP pin is HIGH and the WPEN bit is HIGH, and disabled
when either the WP pin is LOW or the WPEN
bit is LOW. Figure 12 defines the write protect status for
each combination of WPEN and WP. When the
chip is Hardware Write Protected, nonvolatile writes are
disabled to the Write Protect Register, including
the Block Lock Protect bits and the WPEN bit itself, as well
as to the Block Lock protected sections in the
memory array. Only the sections of the memory array that are
not Block Lock protected, and the volatile bits
WEL and RWEL, can be written.
In Circuit Programmable ROM Mode
Note that when the WPEN bit is write protected, it
cannot be changed back to a LOW state; so write
protection is enabled as long as the WP pin is held HIGH.
Thus an In Circuit Programmable ROM function
can be implemented by hardwiring the WP pin to V
CC
, writing
to and Block Locking the desired portion of the
array to be ROM, and then programming the WPEN bit
HIGH.
0
0
Unused Bit Positions
Bits 0, 5 & 6 are not used. All writes to the WPR must have
zeros in these bit positions. The data byte output
during a WPR read will contain zeros in these bits.
Writing to the WEL and RWEL bits
WEL and RWEL are volatile latches that power up in the
LOW (disabled) state. While the WEL bit is LOW,
writes to any address other than FFFFh will be ignored (no
acknowledge will be issued after the Data Byte).
The WEL bit is set by writing 00000010 to address
FFFFh. Once set, WEL remains HIGH until either it is
reset to 0 (by writing 00000000 to FFFFh) or until the part
powers up again. Writes to WEL and RWEL do
not cause a nonvolatile write cycle, so the device is ready
for the next operation immediately after the stop
condition.
The RWEL bit controls writes to the Block Lock Protect bits,
BL0 and BL1, and the WPEN bit. If RWEL is 0
then no writes can be performed on BL0, BL1, or
WPEN. RWEL is reset when the device powers up or
after any nonvolatile write, including writes to the Block
Lock Protect bits, WPEN bit, or any bytes in the
memory array. When RWEL is set, WEL cannot be
0000h.
Write Protect Register: WPR (ADDR = FFFF
h
)
7
WPEN
6
0
5
0
4
BL1
3
BL0
2
1
RWEL WEL
WEL: Write Enable Latch (Volatile)
0 = Write Enable Latch reset, writes disabled.
1 = Write Enable Latch set, writes enabled.
RWEL: Register Write Enable Latch (Volatile)
0 = Register Write Enable Latch reset, writes to the Write
Protect Register disabled.
1 = Register Write Enable Latch set, writes to the Write
Protect Register enabled.
BL0, BL1: Block Lock Protect Bits (Nonvolatile)
The
Block Lock Protect Bits, BL0 and BL1, determine
which blocks of the array are protected. A write to a
protected block of memory is ignored, but will receive
an acknowledge. The master must issue a stop to put the part
into standby, just as it would for a valid write;
but the stop will not initiate an internal nonvolatile write
cycle. See figure 11.
9