English
Language : 

X1227_06 Datasheet, PDF (20/28 Pages) Intersil Corporation – 2-Wire™ RTC Real TimeClock/Calendar/ CPU Supervisor with EEPROM
X1227
Page Write
The X1227 has a page write operation. It is initiated in
the same manner as the byte write operation; but
instead of terminating the write cycle after the first data
byte is transferred, the master can transmit up to 63
more bytes to the memory array and up to 7 more
bytes to the clock/control registers. (Note: Prior to writ-
ing to the CCR, the master must write a 02h, then 06h
to the status register in two preceding operations to
enable the write operation. See “Writing to the
Clock/Control Registers.”
After the receipt of each byte, the X1227 responds with
an acknowledge, and the address is internally incre-
mented by one. When the counter reaches the end of
the page, it “rolls over” and goes back to the first
address on the same page. This means that the master
can write 64 bytes to a memory array page or 8 bytes to
a CCR section starting at any location on that page. For
example, if the master begins writing at location 40 of
the memory and loads 30 bytes, then the first 23 bytes
are written to addresses 45 through 63, and the last 7
bytes are written to columns 0 through 6. Afterwards,
the address counter would point to location 7 on the
page that was just written. If the master supplies more
than the maximum bytes in a page, then the previously
loaded data is over written by the new data, one byte at
a time. Refer to Figure 13.
The master terminates the Data Byte loading by issu-
ing a stop condition, which causes the X1227 to begin
the nonvolatile write cycle. As with the byte write oper-
ation, all inputs are disabled until completion of the
internal write cycle. Refer to Figure 14 for the address,
acknowledge, and data transfer sequence.
Stops and Write Modes
Stop conditions that terminate write operations must be
sent by the master after sending at least 1 full data byte
and it’s associated ACK signal. If a stop is issued in the
middle of a data byte, or before 1 full data byte + ACK is
sent, then the X1227 resets itself without performing the
write. The contents of the array are not affected.
Figure 14. Page Write Sequence
Signals from
the Master
S
t
a
r
Slave
t
Address
Word
Address 1
Word
Address 0
1 ð n ð 64 for EEPROM array
1 ð n ð 8 for CCR
Data
(1)
S
Data
t
(n)
o
p
SDA Bus
1
11 10 00000 00
A
A
A
A
Signals from
C
C
C
C
the Slave
K
K
K
K
20
FN8099.2
May 8, 2006