10
Atmel AT24C01C/02C/04C/08C Automotive [DATASHEET]
8818A–SEEPROM–12/2012
7. Device Addressing
The 1K/2K/4K/8K EEPROM devices require an 8-bit device address word following a Start condition to enable the device
for a read or write operation (see Figure 9-1 on page 11).
The device address word consists of a mandatory '1010' sequence for the first four Most Significant Bits (MSB) as
shown. This is common to all the Serial EEPROM devices.
For the 1K/2K EEPROM, the next three bits are the A2, A1, and A0 device address bits. These three bits must compare
to their corresponding hardwired input A2, A1, and A0 pins.
The 4K EEPROM only uses the A2 and A1 device address bits with the A0 bit being a memory address bit (P0) (see
Figure 9-1 on page 11). The two device address bits must compare to their corresponding hardwired input A2 and A1
pins. The A0 pin is not connected.
The 8K EEPROM only uses the A2 device address bit with the next two bits (P1, P0) being for memory page addressing
(See Figure 9-1 on page 11). The A2 bit must compare to its corresponding hardwired input pin. The A1 and A0 pins are
not connected.
The eighth bit of the device address is the read/write operation select bit. A read operation is initiated if this bit is high and
a write operation is initiated if this bit is low.
After a valid comparison of the device address, the EEPROM will output a zero. If the comparison is invalid, the device
will return to a standby state.
8. Write Operations
Byte Write: A write operation requires an 8-bit data word address following the device address word and
acknowledgment. Upon receipt of this address, the EEPROM will again respond with a zero and then clock in the first
8-bit data word. Following receipt of the 8-bit data word, the EEPROM will output a zero and the addressing device, such
as a microcontroller, must terminate the write sequence with a Stop condition. At this time, the EEPROM enters an
internally timed write cycle (tWR) to the nonvolatile memory. All inputs are disabled during this write cycle, and the
EEPROM will not respond until the write is complete (see Figure 9-2 on page 11).
Page Write: The 1K/2K EEPROM are capable of an 8-byte Page Write. The 4K/8K EEPROM devices are capable of
16-byte Page Writes.
A Page Write is initiated the same as a Byte Write, but the microcontroller does not send a Stop condition after the first
data word is clocked in. Instead, after the EEPROM acknowledges receipt of the first data word, the microcontroller can
transmit up to seven (1K/2K) or fifteen (4K/ 8K) more data words. The EEPROM will respond with a zero after each data
word received. The microcontroller must terminate the Page Write sequence with a Stop condition (see Figure 9-3 on
page 12).
The data word address lower three (1K/2K) or four (4K/8K) bits are internally incremented following the receipt of each
data word. The higher data word address bits are not incremented, retaining the memory page row location. When the
word address, internally generated, reaches the page boundary, the next byte sent will be written to the beginning
address on the same page. In order words, if more than eight (1K/2K) or sixteen (4K/8K) data words are transmitted to
the EEPROM, the data word address will “roll over” and the data previously sent to the device at the beginning of the
page write sequence will be altered.
Acknowledge Polling: Once the internally timed write cycle has started and the EEPROM inputs are disabled,
Acknowledge Polling can be initiated. This involves sending a start condition followed by the device address word. The
read/write bit is representative of the operation desired. Only if the internal write cycle has completed will the EEPROM
respond with a zero, allowing the read or write sequence to continue.