6.1 Device Addressing
Accessing the device requires an 8-bit device address byte following a Start condition to enable the device for a read or write operation.
The Most Significant four bits of the device address byte are referred to as the device
type identifier. The device type identifier '1010
' (Ah) is required in
bits 7 through 4 of the device address byte (see Table 6-1).
Following the 4-bit device type identifier in the bit 3, bit 2 and bit 1 positions of the device address byte are bits A10, A9 and A8, which are the three Most Significant bits of the memory array word address.
The eighth bit (bit 0) of the device address byte is the Read/Write Select bit. A read operation is initiated if this bit is high and a write operation is initiated if this bit is low.
Upon the successful comparison of the device address byte, the AT24C16C will return an ACK. If a valid comparison is not made, the device will NACK.
Package | Device Type Identifier | Most Significant Bits of the Word Address | R/W Select | |||||
---|---|---|---|---|---|---|---|---|
Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 | |
All Package Types | 1 | 0 | 1 | 0 | A10 | A9 | A8 | R/W |
For all operations except the current address read, a word address byte must be transmitted to the device immediately following the device address byte. The word address byte consists of the remaining eight bits of the 11-bit memory array word address and is used to specify which byte location in the EEPROM to start reading or writing. Refer to Table 6-2 to review these bit positions.
Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
---|---|---|---|---|---|---|---|
A7 | A6 | A5 | A4 | A3 | A2 | A1 | A0 |