24AA32A-E/MS MICROCHIP [Microchip Technology], 24AA32A-E/MS Datasheet - Page 6

no-image

24AA32A-E/MS

Manufacturer Part Number
24AA32A-E/MS
Description
32KIC Serial EEPROM
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
24AA32A/24LC32A
3.6
A control byte is the first byte received following the
Start condition from the master device (Figure 3-2).
The control byte consists of a four-bit control code. For
the 24XX32A, this is set as ‘1010’ binary for read and
write operations. The next three bits of the control byte
are the Chip Select bits (A2, A1, A0). The Chip Select
bits allow the use of up to eight 24XX32A devices on
the same bus and are used to select which device is
accessed. The Chip Select bits in the control byte must
correspond to the logic levels on the corresponding A2,
A1, and A0 pins for the device to respond. 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 a ‘1’, a read operation is
selected. 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 to A0 are used, the upper four address bits are
don’t care bits. The upper address bits are transferred
first, followed by the less significant bits.
Following the Start condition, the 24XX32A monitors
the SDA bus checking the device type identifier being
transmitted and, upon receiving a ‘1010’ code and
appropriate device select bits, the slave device outputs
an Acknowledge signal on the SDA line. Depending on
the state of the R/W bit, the 24XX32A will select a read
or write operation.
FIGURE 3-3:
DS21713D-page 6
1
CONTROL
Device Addressing
CODE
0
CONTROL BYTE
1
0
A
2
ADDRESS SEQUENCE BIT ASSIGNMENTS
SELECT
CHIP
BITS
A
1
A
0 R/W
X
ADDRESS HIGH BYTE
X
X
X
11
A
10
FIGURE 3-2:
3.7
The Chip Select bits A2, A1, A0 can be used to expand
the contiguous address space for up to 256K bits by
adding up to eight 24XX32A's on the same bus. In this
case, software can use A0 of the control byte as
address bit A12, A1 as address bit A13, and A2 as
address bit A14. It is not possible to sequentially read
across device boundaries.
A
Start Bit
A
9
S
A
8
Contiguous Addressing Across
Multiple Devices
1
Control Code
0
A
7
Slave Address
1
ADDRESS LOW BYTE
CONTROL BYTE FORMAT
 2003 Microchip Technology Inc.
0
Read/Write Bit
Chip Select
A2 A1 A0
Acknowledge Bit
Bits
X = Don’t Care Bit
R/W
A
0
ACK

Related parts for 24AA32A-E/MS