Datasheet
24AA08/24LC08B
DS21710D-page 6 © 2005 Microchip Technology Inc.
3.6 Device Addressing
A control byte is the first byte received following the
Start condition from the master device (Figure 2-2).
The control byte consists of a four-bit control code. For
the 24XX08, this is set as ‘
1010’ binary for read and
write operations. The next three bits of the control byte
are the block-select bits (B2, B1, B0). B2 is a “don’t
care” for the 24XX08. They are used by the master
device to select which of the four 256 word-blocks of
memory 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 defines the operation to
be performed. When set to ‘
1’ a read operation is
selected. When set to ‘
0’ a write operation is selected.
Following the Start condition, the 24XX08 monitors the
SDA bus, checking the device type identifier being
transmitted and, upon receiving a ‘
1010’ code, the
slave device outputs an Acknowledge signal on the
SDA line. Depending on the state of the R/W bit, the
24XX08 will select a read or write operation.
FIGURE 3-2: CONTROL BYTE
ALLOCATION
Operation
Control
Code
Block Select R/W
Read
1010
Block Address
1
Write
1010
Block Address
0
1010xB1 B0
R/W
A
Start Read/Write
SLAVE ADDRESS
x = “don’t care”