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

X1240 参数 Datasheet PDF下载

X1240图片预览
型号: X1240
PDF下载: 下载PDF文件 查看货源
内容描述: 实时时钟/日历与EEPROM [Real Time Clock/Calendar with EEPROM]
分类和应用: 可编程只读存储器电动程控只读存储器电可擦编程只读存储器时钟
文件页数/大小: 19 页 / 78 K
品牌: XICOR [ XICOR INC. ]
 浏览型号X1240的Datasheet PDF文件第1页浏览型号X1240的Datasheet PDF文件第2页浏览型号X1240的Datasheet PDF文件第3页浏览型号X1240的Datasheet PDF文件第4页浏览型号X1240的Datasheet PDF文件第6页浏览型号X1240的Datasheet PDF文件第7页浏览型号X1240的Datasheet PDF文件第8页浏览型号X1240的Datasheet PDF文件第9页  
X1240  
RWEL: Register Write Enable Latch—Volatile  
Table 3. Block Protect Bits  
Protected Addresses  
This bit is a volatile latch that powers up in the LOW  
(disabled) state. The RWEL bit must be set to “1” prior  
to any writes to the Clock/Control Registers. Writes to  
RWEL bit do not cause a nonvolatile write cycle, so the  
device is ready for the next operation immediately after  
the stop condition. A write to the CCR requires both the  
RWEL and WEL bits to be set in a specific sequence.  
Array Lock  
X1240  
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
None  
None  
600h - 7FFh  
400h - 7FFh  
000h - 7FFh  
000h - 03Fh  
000h - 07Fh  
000h - 0FFh  
000h - 1FFh  
Upper 1/4  
Upper 1/2  
Full Array  
First Page  
First 2 pgs  
First 4 pgs  
First 8 Pgs  
WEL: Write Enable Latch—Volatile  
The WEL bit controls the access to the CCR and mem-  
ory array during a write operation. This bit is a volatile  
latch that powers up in the LOW (disabled) state. While  
the WEL bit is LOW, writes to the CCR or any array  
address will be ignored (no acknowledge will be issued  
after the Data Byte). The WEL bit is set by writing a “1”  
to the WEL bit and zeroes to the other bits of the Status  
Register. Once set, WEL remains set until either reset  
to 0 (by writing a “0” to the WEL bit and zeroes to the  
other bits of the Status Register) or until the part pow-  
ers up again. Writes to WEL bit do not cause a non-vol-  
atile write cycle, so the device is ready for the next  
operation immediately after the stop condition.  
WRITING TO THE CLOCK/CONTROL REGISTERS  
Changing any of the nonvolatile bits of the clock/control  
register requires the following steps:  
—Write a 02H to the Status Register to set the Write  
Enable Latch (WEL). This is a volatile operation, so  
there is no delay after the write. (Operation pre-  
ceeded by a start and ended with a stop).  
RTCF: Real Time Clock Fail Bit—Volatile  
—Write a 06H to the Status Register to set both the  
Register Write Enable Latch (RWEL) and the WEL  
bit. This is also a volatile cycle. The zeros in the data  
byte are required. (Operation preceeded by a start  
and ended with a stop).  
This bit is set to a ‘1’ after a total power failure. This is a  
read only bit that is set by hardware when the device  
powers up after having lost all power to the device. The  
bit is set regardless of whether V or V  
is applied  
CC  
BACK  
first. The loss of one or the other supplies does not  
result in setting the RTCF bit. The first valid write to the  
RTC (writing one byte is sufficient) resets the RTCF bit  
to ‘0’.  
—Write one to 8 bytes to the Clock/Control Registers  
with the desired clock, or control data. This sequence  
starts with a start bit, requires a slave byte of  
“11011110” and an address within the CCR and is  
terminated by a stop bit. A write to the CCR changes  
EEPROM values so these initiate a nonvolatile write  
cycle and will take up to 10ms to complete. Writes to  
undefined areas have no effect. The RWEL bit is  
reset by the completion of a nonvolatile write write  
cycle, so the sequence must be repeated to again ini-  
tiate another change to the CCR contents. If the  
sequence is not completed for any reason (by send-  
ing an incorrect number of bits or sending a start  
instead of a stop, for example) the RWEL bit is not  
reset and the device remains in an active mode.  
Unused Bits:  
These devices do not use bits 3 through 6, but must  
have a zero in these bit positions. The Data Byte output  
during a SR read will contain zeros in these bit locations.  
CONTROL REGISTERS  
Block Protect Bits - BP2, BP1, BP0 - (Nonvolatile)  
The Block Protect Bits, BP2, BP1 and BP0, determine  
which blocks of the array are write protected. A write to  
a protected block of memory is ignored. The block pro-  
tect bits will prevent write operations to one of eight  
segments of the array. The partitions are described in  
Table 3.  
—Writing all zeros to the status register resets both the  
WEL and RWEL bits.  
—A read operation occurring between any of the previ-  
ous operations will not interrupt the register write  
operation.  
—The RWEL and WEL bits can be reset by writing a 0  
to the Status Register.  
5
 复制成功!