English
Language : 

24AA01 Datasheet, PDF (5/12 Pages) Microchip Technology – 1K/2K 1.8V I 2 C O Serial EEPROMs
3.6 Device Address
The 24AA01/02 are software-compatible with older
devices such as 24C01A, 24C02A, 24LC01, and
24LC02. A single 24AA02 can be used in place of two
24LC01's, for example, without any modifications to
software. The “chip select” portion of the control byte
becomes a don't care.
After generating a START condition, the bus master
transmits the slave address consisting of a 4-bit device
code (1010) for the 24AA01/02, followed by three don't
care bits.
The eighth bit of slave address determines if the master
device wants to read or write to the 24AA01/02
(Figure 3-2).
The 24AA01/02 monitors the bus for its corresponding
slave address all the time. It generates an acknowledge
bit if the slave address was true and it is not in a pro-
gramming mode.
Operation
Control
Code
Chip Select
R/W
Read
Write
1010
1010
XXX
1
XXX
0
FIGURE 3-2:
START
CONTROL BYTE
ALLOCATION
READ/WRITE
SLAVE ADDRESS
R/W A
1
0
1
0
X
X
X
X = Don’t care
24AA01/02
4.0 WRITE OPERATION
4.1 Byte Write
Following the start signal from the master, the device
code (4 bits), the don't care bits (3 bits), and the R/W bit
which is a logic low is placed onto the bus by the master
transmitter. This indicates to the addressed slave
receiver that a byte with a word address will follow after
it has generated an acknowledge bit during the ninth
clock cycle. Therefore the next byte transmitted by the
master is the word address and will be written into the
address pointer of the 24AA01/02. After receiving
another acknowledge signal from the 24AA01/02 the
master device will transmit the data word to be written
into the addressed memory location. The 24AA01/02
acknowledges again and the master generates a stop
condition. This initiates the internal write cycle, and dur-
ing this time the 24AA01/02 will not generate acknowl-
edge signals (Figure 4-1).
4.2 Page Write
The write control byte, word address and the first data
byte are transmitted to the 24AA01/02 in the same way
as in a byte write. But instead of generating a stop con-
dition the master transmits up to eight data bytes to the
24AA01/02 which are temporarily stored in the on-chip
page buffer and will be written into the memory after the
master has transmitted a stop condition. After the
receipt of each word, the three lower order address
pointer bits are internally incremented by one. The
higher order five bits of the word address remains con-
stant. If the master should transmit more than eight
words prior to generating the stop condition, the
address counter will roll over and the previously
received data will be overwritten. As with the byte write
operation, once the stop condition is received an inter-
nal write cycle will begin (Figure 7-1).
FIGURE 4-1:
BUS ACTIVITY
MASTER
BYTE WRITE
S
T
A
R
CONTROL
BYTE
T
WORD
ADDRESS
SDA LINE
S
A
BUS ACTIVITY
C
K
FIGURE 4-2:
BUS ACTIVITY
MASTER
SDA LINE
PAGE WRITE
S
T
A CONTROL
R
BYTE
T
S
BUS ACTIVITY
WORD
ADDRESS (n)
A
A
C
C
K
K
DATA n
S
DATA
T
O
P
P
A
A
C
C
K
K
DATA n + 1
S
DATA n + 7
T
O
P
P
A
A
A
C
C
C
K
K
K
© 1996 Microchip Technology Inc.
DS21052F-page 5