CAT24C128
www.onsemi.com
7
Write Operations
Byte Write
Upon receiving a Slave address with the R/W bit set to ‘0’,
the CAT24C128 will interpret the next two bytes as address
bytes. These bytes are used to initialize the internal address
counter; the 2 most significant bits are ‘don’t care’, the next
8 point to one of 256 available pages and the last 6 point to
a location within a 64 byte page. A byte following the
address bytes will be interpreted as data. The data will be
loaded into the Page Write Buffer and will eventually be
written to memory at the address specified by the 14 active
address bits provided earlier. The CAT24C128 will
acknowledge the Slave address, address bytes and data byte.
The Master then starts the internal Write cycle by issuing a
STOP condition (Figure 6). During the internal Write cycle
(t
WR
), the SDA output will be tristated and additional Read
or Write requests will be ignored (Figure 7).
Page Write
By continuing to load data into the Page Write Buffer after
the 1
st
data byte and before issuing the STOP condition, up
to 64 bytes can be written simultaneously during one
internal Write cycle (Figure 8). If more data bytes are loaded
than locations available to the end of page, then loading will
continue from the beginning of page, i.e. the page address is
latched and the address count automatically increments to
and then wrapsaround at the page boundary. Previously
loaded data can thus be overwritten by new data. What is
eventually written to memory reflects the latest Page Write
Buffer contents. Only data loaded within the most recent
Page Write sequence will be written to memory.
Acknowledge Polling
The ready/busy status of the CAT24C128 can be
ascertained by sending Read or Write requests immediately
following the STOP condition that initiated the internal
Write cycle. As long as internal Write is in progress, the
CAT24C128 will not acknowledge the Slave address.
Hardware Write Protection
With the WP pin held HIGH, the entire memory is
protected against Write operations. If the WP pin is left
floating or is grounded, it has no impact on the operation of
the CAT24C128. The state of the WP pin is strobed on the
last falling edge of SCL immediately preceding the first data
byte (Figure 9). If the WP pin is HIGH during the strobe
interval, the CAT24C128 will not acknowledge the data byte
and the Write request will be rejected.
Delivery State
The CAT24C128 is shipped erased, i.e., all bytes are FFh.
SLAVE
ADDRESS
S
A
C
K
A
C
K
A
C
K
S
T
O
P
P
BUS ACTIVITY:
MASTER
SLAVE
S
T
A
R
T
ADDRESS
BYTE
ADDRESS
BYTE
DATA
BYTE
A
C
K
* = Don’t Care Bit
Figure 6. Byte Write Sequence
**
a
13
a
8
a
7
a
0
STOP
CONDITION
START
CONDITION
ADDRESS
ACK
8th Bit
Byte n
SCL
SDA
Figure 7. Write Cycle Timing
t
WR
CAT24C128
www.onsemi.com
8
SLAVE
ADDRESS
S
A
C
K
A
C
K
A
C
K
BUS ACTIVITY:
MASTER
SLAVE
S
T
A
R
T
ADDRESS
BYTE
ADDRESS
BYTE
DATA
BYTE
n
DATA
BYTE
n+1
DATA
BYTE
n+P
A
C
K
S
T
O
P
A
C
K
A
C
K
P
A
C
K
* = Don’t Care Bit
P v 63
Figure 8. Page Write Sequence
**
a
13
a
8
a
7
a
0
1891 8
ADDRESS
BYTE
DATA
BYTE
SCL
SDA
WP
Figure 9. WP Timing
d
0
d
7
a
7
a
0
t
HD:WP
t
SU:WP
Read Operations
Immediate Read
Upon receiving a Slave address with the R/W bit set to ‘1’,
the CAT24C128 will interpret this as a request for data
residing at the current byte address in memory. The
CAT24C128 will acknowledge the Slave address, will
immediately shift out the data residing at the current address,
and will then wait for the Master to respond. If the Master
does not acknowledge the data (NoACK) and then follows
up with a STOP condition (Figure 10), the CAT24C128
returns to Standby mode.
Selective Read
To read data residing at a specific location, the internal
address counter must first be initialized as described under
Byte Write. If rather than following up the two address bytes
with data, the Master instead follows up with an Immediate
Read sequence, then the CAT24C128 will use the 14 active
address bits to initialize the internal address counter and will
shift out data residing at the corresponding location. If the
Master does not acknowledge the data (NoACK) and then
follows up with a STOP condition (Figure 11), the
CAT24C128 returns to Standby mode.
Sequential Read
If during a Read session the Master acknowledges the 1
st
data byte, then the CAT24C128 will continue transmitting
data residing at subsequent locations until the Master
responds with a NoACK, followed by a STOP (Figure 12).
In contrast to Page Write, during Sequential Read the
address count will automatically increment to and then
wraparound at end of memory (rather than end of page).
CAT24C128
www.onsemi.com
9
SCL
SDA 8th Bit
STOP
NO ACKDATA OUT
8
SLAVE
ADDRESS
S
A
C
K
DATA
BYTE
N
O
A
C
K
S
T
O
P
P
S
T
A
R
T
BUS ACTIVITY:
MASTER
SLAVE
Figure 10. Immediate Read Sequence and Timing
9
SLAVE
ADDRESS
S
A
C
K
A
C
K
A
C
K
BUS ACTIVITY:
MASTER
SLAVE
S
T
A
R
T
ADDRESS
BYTE
ADDRESS
BYTE
DATA
BYTE
SLAVE
ADDRESS
S
A
C
K
P
* = Don’t Care Bit
Figure 11. Selective Read Sequence
**
S
T
A
R
T
S
T
O
P
A
C
K
N
O
a
13
a
8
a
7
a
0
BUS ACTIVITY:
MASTER
SLAVE
DATA
BYTE
n
DATA
BYTE
n+1
DATA
BYTE
n+2
DATA
BYTE
n+x
A
C
K
A
C
K
A
C
K
S
T
O
P
N
O
A
C
K
A
C
K
P
SLAVE
ADDRESS
Figure 12. Sequential Read Sequence

CAT24C128WI-GT3

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
EEPROM 128K-Bit I2C Serial CMOS EEPROM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union