Datasheet

Device operation M24C16, M24C08, M24C04, M24C02, M24C01
12/39 Doc ID 5067 Rev 16
3.5 Memory addressing
To start communication between the bus master and the slave device, the bus master must
initiate a Start condition. Following this, the bus master sends the device select code, shown
in
Ta b l e 3 (on Serial Data (SDA), most significant bit first).
The device select code consists of a 4-bit Device Type Identifier, and a 3-bit Chip Enable
“Address” (E2, E1, E0). To address the memory array, the 4-bit Device Type Identifier is
1010b.
Each device is given a unique 3-bit code on the Chip Enable (E0, E1, E2) inputs. When the
device select code is received, the device only responds if the Chip Enable Address is the
same as the value on the Chip Enable (E0, E1, E2) inputs. However, those devices with
larger memory capacities (the M24C16, M24C08 and M24C04) need more address bits. E0
is not available for use on devices that need to use address line A8; E1 is not available for
devices that need to use address line A9, and E2 is not available for devices that need to
use address line A10 (see
Figure 2 and Tabl e 3 for details). Using the E0, E1 and E2 inputs,
up to eight M24C02 (or M24C01), four M24C04, two M24C08 or one M24C16 devices can
be connected to one I²C bus. In each case, and in the hybrid cases, this gives a total
memory capacity of 16
Kbits, 2 KBytes (except where M24C01 devices are used).
The 8
th
bit is the Read/Write bit (RW). This bit is set to 1 for Read and 0 for Write operations.
If a match occurs on the device select code, the corresponding device gives an
acknowledgment on Serial Data (SDA) during the 9
th
bit time. If the device does not match
the device select code, it deselects itself from the bus, and goes into Standby mode.
Table 4. Operating modes
Mode RW bit WC
(1)
1. X = V
IH
or V
IL
.
Bytes Initial sequence
Current Address Read 1 X 1 Start, Device Select, RW
= 1
Random Address Read
0X
1
Start, Device Select, RW
= 0, Address
1 X reStart, Device Select, RW
= 1
Sequential Read 1 X 1
Similar to Current or Random Address
Read
Byte Write 0 V
IL
1 Start, Device Select, RW = 0
Page Write 0 V
IL
16 Start, Device Select, RW = 0