2-WIRE CMOS SERIAL E2PROM
S-24CS01A/02A/04A/08A Rev.4.5_00
Seiko Instruments Inc.
14
6. 2 Page Write
The page write mode allows up to 8 bytes to be written in a single write operation in the S-24CS01A/02A
and 16 bytes to be written in a single write operation in the S-24CS04A/08A.
Basic data transmission procedure is the same as that in the "Byte Write". But instead of generating a
stop condition, the master transmits 8-bit write data up to 8 bytes before the page write.
When the E2PROM receives a 7-bit device address and a 1-bit read / write instruction code set to "0",
following a start condition, it generates an acknowledge. Then the E2PROM receives an 8-bit word
address, and responds with an acknowledge. After the E2PROM receives 8-bit write data and responds
with an acknowledge, it receives 8-bit write data corresponding to the next word address, and generates
an acknowledge. The E2PROM repeats reception of 8-bit write data and generation of acknowledge in
succession. The E2PROM can receive as many write data as the maximum page size.
Receiving a stop condition initiates a write cycle of the area starting from the designated memory address
and having the page size equal to the received write data.
S
T
A
R
T
1 0 1 0
W
R
I
T
E
S
T
O
P
DEVICE
ADDRESS WORD ADDRESS (n)
R
/
W
M
S
B
SDA
LINE
2
1
0
A
C
K
L
S
B
A
C
K
A
C
K
0D7 D6 D5 D4 D3 D2 D1 D0 D7 D0 D7 D0
A
C
K
ADR INC ADR INC
A
C
K
DATA (n) DATA (n+1) DATA (n+x)
W7 W6 W5 W4 W3 W2 W1 W0
ADR INC
Remark1. A1 is P1 in the S-24CS08A.
2. A0 is P0 in the S-24CS04A/08A.
3. W7 is optional in the S-24CS01A.
Figure 14 Page Write
In S-24CS01A/02A, the lower 3 bits of the word address are automatically incremented every time when
the E2PROM receives 8-bit write data. If the size of the write data exceeds 8 bytes, the upper 5 bits of the
word address remain unchanged, and the lower 3 bits are rolled over and previously received data will be
overwritten.
In S-24CS04A, the lower 4 bits of the word address are automatically incremented every time when the
E2PROM receives 8-bit write data. If the size of the write data exceeds 16 bytes, the upper 4 bits of the
word address and page address (P0) remain unchanged, and the lower 4 bits are rolled over and
previously received data will be overwritten.
In S-24CS08A, the lower 4 bits of the word address are automatically incremented every time when the
E2PROM receives 8-bit write data. If the size of the write data exceeds 16 bytes, the upper 4 bits of the
word address and page address (P1 and P0) remain unchanged, and the lower 4 bits are rolled over and
previously received data will be overwritten.