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. Since multiple client devices can reside on the serial bus, each client device must have its own unique address so the host can access each device independently.

The Most Significant four bits of the device address byte is referred to as the device type identifier. The device type identifier ‘1010’ (Ah) for the main EEPROM access, or ‘1011’ (Bh) for Security register and Write Protection register access is required in bits 7 through 4 of the device address byte (see Table 6‑1).

Following the 4-bit device type identifier are the client address bits, A2, A1 and A0. The value that the AT24CSW01X/AT24CSW02X will ACK to is preprogrammed in each device. Unique ordering codes are available for each of the eight possible client combinations. The client address preprogrammed in the device is embedded in the base part number as shown in Table 6-2.

Access to the Security register memory location is similar to the main EEPROM region with the exception that the device address word must begin with ‘1011’ (Bh). The behavior of the hardware address bits (A2, A1, A0) remains the same as during a EEPROM addressing sequence (see Table 6-2). While the lower order 16 bytes of the Security register are read-only, the device will ACK if this bit is a logic '0'. To read from the Security register, please refer to Read Operations in the Security Register. For writing, please refer to Write Operations in the Security Register.

Note: Accessing the Security register is only possible if any sequence or command to the EEPROM (if one has been sent) has been properly terminated with a NACK or Stop condition from the host. Without proper termination of that previous sequence, all communications with the Security register will not execute successfully.

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 AT24CSW01X/AT24CSW02X will return an ACK. If a valid comparison is not made, the device will NACK.

Note: While the lower order 16 bytes of the Security register are read-only, the device will ACK if the Read/Write Select bit is a logic ‘0’.
Table 6-1. Device Address Byte
Memory RegionDevice Type IdentifierHardware Client Address BitsR/W Select
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
EEPROM Array1010A2A1A0R/W
Security Register and Write Protection Register1011A2A1A0R/W
Table 6-2. Hardware Address Response by Part Number
Part Number SeriesHardware Address Bits
1-Kbit2-KbitA2A1A0
AT24CSW010AT24CSW020000
AT24CSW011(1)AT24CSW021(1)001
AT24CSW012(1)AT24CSW022(1)010
AT24CSW013(1)AT24CSW023(1)011
AT24CSW014(1)AT24CSW024(1)100
AT24CSW015(1)AT24CSW025(1)101
AT24CSW016(1)AT24CSW026(1)110
AT24CSW017(1)AT24CSW027(1)111
Note:
  1. Contact your local sales representative for hardware client address availability.

For all operations other than a current address read, a word address byte must be transmitted to the device immediately following the device address byte. The word address byte contains a 7-bit (in the case of the AT24CSW01x) or 8-bit (in the case of the AT24CSW02x) memory array word address, and is used to specify which byte location in the EEPROM to start reading or writing. Refer to Table 6-3 to review these bit positions.

When accessing the Security register, it is required that the A7 and A6 bits of the word address be set to ‘10’ respectively. These bits are at a higher order address range than what is needed to address the 32 byte space (A4 through A0). It is recommended that all address bits that fall outside the address range that do not have other requirements be set to a logic ‘0’.

Table 6-3. Word Address Byte
Memory RegionBit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
EEPROM ArrayA7(1)A6A5A4A3A2A1A0
Security Register10XA4A3A2A1A0
Security Register Lock Function0110XXXX
Write Protection Register11XXXXXX
Note:
  1. Bit 7 is a “don't care” bit on the AT24CSW01x.