|
24AA02_07 Datasheet, PDF (6/26 Pages) Microchip Technology – 2K I2C™ Serial EEPROM | |||
|
◁ |
24AA02/24LC02B
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 24XX02, this
is set as â1010â binary for read and write operations.
The next three bits of the control byte are âdonât caresâ
for the 24XX02.
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 24XX02 monitors the
SDA bus, checking the device type identifier being
transmitted and, upon a â1010â code, the slave device
outputs an Acknowledge signal on the SDA line.
Depending on the state of the R/W bit, the 24XX02 will
select a read or write operation.
Operation
Read
Write
Control
Code
1010
1010
Block Select R/W
Block Address 1
Block Address 0
FIGURE 3-2:
CONTROL BYTE
ALLOCATION
Control Code
Read/Write Bit
Block
Select
Bits
S 1 0 1 0 x x x R/W ACK
Slave Address
Start Bit
x = âdonât careâ
Acknowledge Bit
DS21709G-page 6
© 2007 Microchip Technology Inc.
|
▷ |