English
Language : 

24C32_04 Datasheet, PDF (5/14 Pages) Microchip Technology – 32K 5.0V I2C Smart Serial EEPROM
3.6 Device Addressing
A control byte is the first byte received following the
start condition from the master device. The control byte
consists of a four bit control code; for the 24C32 this is
set as 1010 binary for read and write operations. The
next three bits of the control byte are the device select
bits (A2, A1, A0). They are used by the master device
to select which of the eight devices are to be accessed.
These bits are in effect the three most significant bits of
the word address. The last bit of the control byte (R/W)
defines the operation to be performed. When set to a
one a read operation is selected, and when set to a
zero a write operation is selected. The next two bytes
received define the address of the first data byte
(Figure 3-3). Because only A11..A0 are used, the upper
four address bits must be zeros. The most significant
bit of the most significant byte of the address is trans-
ferred first. Following the start condition, the 24C32
monitors the SDA bus checking the device type identi-
fier being transmitted. Upon receiving a 1010 code and
appropriate device select bits, the slave device outputs
24C32
an acknowledge signal on the SDA line. Depending on
the state of the R/W bit, the 24C32 will select a read or
write operation.
Operation
Control
Code
Device Select
R/W
Read
Write
1010 Device Address 1
1010 Device Address 0
FIGURE 3-2:
START
CONTROL BYTE
ALLOCATION
READ/WRITE
SLAVE ADDRESS
R/W A
1
0
1
0
A2 A1 A0
FIGURE 3-3: ADDRESS SEQUENCE BIT ASSIGNMENTS
CONTROL BYTE
1
0
1
0
A
2
A
1
A
0
R/W
SLAVE
ADDRESS
DEVICE
SELECT
BUS
ADDRESS BYTE 1
0
0
0
0
AA
11 10
A
9
A
8
ADDRESS BYTE 0
A
7
•
•
•
••
•
A
0
 2004 Microchip Technology Inc.
DS21061H-page 5