English
Language : 

CAT24C164 Datasheet, PDF (6/16 Pages) Catalyst Semiconductor – 16-Kb CMOS Serial EEPROM, Cascadable
CAT24C164
WRITE OPERATIONS
Byte Write
In Byte Write mode, the Master sends the START condi-
tion and the Slave address with the R/W bit set to zero
to the Slave. After the Slave generates an acknowledge,
the Master sends the byte address that is to be written
into the address pointer of the CAT24C164. After receiv-
ing another acknowledge from the Slave, the Master
transmits the data byte to be written into the addressed
memory location. The CAT24C164 device will acknowl-
edge the data byte and the Master generates the STOP
condition, at which time the device begins its internal
Write cycle to nonvolatile memory (Figure 5). While this
internal cycle is in progress (tWR), the SDA output will be
tri-stated and the CAT24C164 will not respond to any
request from the Master device (Figure 6).
Page Write
The CAT24C164 writes up to 16 bytes of data in a single
write cycle, using the Page Write operation (Figure 7). The
Page Write operation is initiated in the same manner as
the Byte Write operation, however instead of terminating
after the data byte is transmitted, the Master is allowed
to send up to fifteen additional bytes. After each byte has
been transmitted the CAT24C164 will respond with an
acknowledge and internally increments the four low order
address bits. The high order bits that define the page
address remain unchanged. If the Master transmits more
than sixteen bytes prior to sending the STOP condition,
the address counter ‘wraps around’ to the beginning of
page and previously transmitted data will be overwrit-
ten. Once all sixteen bytes are received and the STOP
condition has been sent by the Master, the internal Write
cycle begins. At this point all received data is written to
the CAT24C164 in a single write cycle.
Acknowledge Polling
The acknowledge (ACK) polling routine can be used to
take advantage of the typical write cycle time. Once the
stop condition is issued to indicate the end of the host’s
write operation, the CAT24C164 initiates the internal write
cycle. The ACK polling can be initiated immediately. This
involves issuing the start condition followed by the slave
address for a write operation. If the CAT24C164 is still
busy with the write operation, NoACK will be returned.
If the CAT24C164 has completed the internal write op-
eration, an ACK will be returned and the host can then
proceed with the next read or write operation.
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
CAT24C164. The state of the WP pin is strobed on the
last falling edge of SCL immediately preceding the first
data byte (Figure 8). If the WP pin is HIGH during the
strobe interval, the CAT24C164 will not acknowledge the
data byte and the Write request will be rejected.
Delivery State
The CAT24C164 is shipped erased, i.e., all bytes are
FFh.
Doc. No. 1118, Rev. A
6
© 2006 by Catalyst Semiconductor, Inc.
Characteristics subject to change without notice