X24320
master can transmit up to thirty-one more words. The device
will respond with an acknowledge after the
WRITE OPERATIONS
Byte Write
receipt of each word, and then the byte address is
internally incremented by one. The page address
For a write operation, the device requires the Slave
Address Byte, the Word Address Byte 1, and the Word
remains constant. When the counter reaches the end of the
page, it “rolls over” and goes back to the first byte of the
current page. This means that the master can write 32 words
to the page beginning at any byte.
Address Byte 0, which gives the master access to any one
of the words in the array. Upon receipt of the Word
Address Byte 0, the device responds with an acknowledge,
and waits for the first eight bits of data. After
If the master begins writing at byte 16, and loads 32 words,
then the first 16 words are written to bytes 16
receiving the 8 bits of the data byte, the device again
responds with an acknowledge. The master then
through 31, and the last 16 words are written to bytes
0 through 15. Afterwards, the address counter would
terminates the transfer by generating a stop condition, at
which time the device begins the internal write cycle
point to byte 16. If the master writes more than 32 words,
then the previously loaded data is overwritten
by the new data, one byte at a time.
to the nonvolatile memory. While the internal write cycle
is in progress the device inputs are disabled
and the device will not respond to any requests from the
master. The SDA pin is at high impedance. See
The master terminates the data byte loading by
issuing a stop condition, which causes the device to
figure 5.
begin the nonvolatile write cycle. As with the byte write
operation, all inputs are disabled until completion of
Page Write
The device is capable of a thirty-two byte page write
operation. It is initiated in the same manner as the byte
the internal write cycle. Refer to figure 6 for the
address, acknowledge, and data transfer sequence.
write operation; but instead of terminating the write
operation after the first data word is transferred, the
Figure 5. Byte Write Sequence
S
T
A
R
T
SIGNALS
FROM THE
MASTER
S
T
WORD ADDRESS
BYTE 1
SLAVE
ADDRESS
WORD ADDRESS
BYTE 0
DATA
O
P
SDA BUS
S 1 0 1 0
0
P
A
C
K
A
C
K
A
C
K
A
C
K
SIGNALS
FROM THE
SLAVE
7035 FM 07
Figure 6. Page Write Sequence
(0=n=31)
S
SIGNALS
FROM THE
MASTER
T
A
R
T
WORD ADDRESS
BYTE 1
DATA
(n)
SLAVE
ADDRESS
DATA
(0)
WORD ADDRESS
BYTE 0
S
T
O
P
SDA BUS
1 0 1 0
S
0
P
A
C
K
A
C
K
A
C
K
A
C
K
A
C
K
SIGNALS
FROM THE
SLAVE
7035 FM 08
6