|
24AA025 Datasheet, PDF (13/42 Pages) Microchip Technology – I2C™ Serial EEPROM Family Data Sheet | |||
|
◁ |
24AAXX/24LCXX/24FCXX
5.6 Device Addressing For Devices
Without Functional Address Pins
A control byte is the first byte received following the
Start condition from the master device (Figure 5-3).
The control byte begins with a four-bit control code. For
the 24XX, 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). They are used by the
master device to select which of the 256-word blocks of
memory are to be accessed. These bits are in effect the
three Most Significant bits of the word address. Note
that B2, B1 and B0 are âdonât careâ for the 24XX00, the
24XX01 and 24XX02. B2 and B1 are âdonât careâ for
the 24XX04. B2 is âdonât careâ for the 24XX08.
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 24XX monitors the
SDA bus. Upon receiving a â1010â code, the block
select bits and the R/W bit, the slave device outputs an
Acknowledge signal on the SDA line. The address byte
follows the acknowledge.
FIGURE 5-3:
CONTROL AND ADDRESS BYTE ASSIGNMENTS FOR
DEVICES WITHOUT ADDRESS PINS
Control Byte
Address Byte
24XX00 S 1 0 1 0 x x x R/W ACK
24XX01 S 1 0 1 0 x x x R/W ACK
24XX02 S 1 0 1 0 x x x R/W ACK
24XX04 S 1 0 1 0 x x B0 R/W ACK
24XX08 S 1 0 1 0 x B1 B0 R/W ACK
24XX016 S 1 0 1 0 B2 B1 B0 R/W ACK
x xx
x A6 .
A7 . .
A7 . .
A7 . .
A7 . .
Start bit
x = âdonât careâ bit
Control Code
Acknowledge
Block Select bits
bit
Read/Write bit (read = 1, write = 0)
x A3 .
...
...
...
...
...
. A0
. A0
. A0
. A0
. A0
. A0
© 2007 Microchip Technology Inc.
DS21930B-page 13
|
▷ |