M24C16, M24C08 M24C04, M24C02, M24C01: 16/8/4/2/1 Kbit Serial I C Bus EEPROM
M24C16, M24C08 M24C04, M24C02, M24C01: 16/8/4/2/1 Kbit Serial I C Bus EEPROM
M24C16, M24C08 M24C04, M24C02, M24C01: 16/8/4/2/1 Kbit Serial I C Bus EEPROM
VSS Ground
M24Cxx
AI02034D
www.DataSheet4U.com
Note: 1. NC = Not Connected
M24Cxx
AI02035D
Note: 1. NC = Not Connected
M24Cxx
AI02036D
Note: 1. NC = Not Connected
Figure 2D. SBGA Connections (top view, marking side, with balls on the underside)
M24C16
WC VCC
Ball "1"
SDA
SCL VSS
AI02796E
2/20
M24C16, M24C08, M24C04, M24C02, M24C01
Note: 1. Except for the rating “Operating Temperature Range”, stresses above those listed in the Table “Absolute Maximum Ratings” may
cause permanent damage to the device. These are stress ratings only, and operation of the device at these or any other conditions
above those indicated in the Operating sections of this specification is not implied. Exposure to Absolute Maximum Rating condi-
tions for extended periods may affect device reliability. Refer also to the ST SURE Program and other relevant quality documents.
2. MIL-STD-883C, 3015.7 (100 pF, 1500 Ω)
These memory devices are compatible with the When writing data to the memory, the memory
I2C memory standard. This is a two wire serial inserts an acknowledge bit during the 9th bit time,
interface that uses a bi-directional data bus and following the bus master’s 8-bit transmission.
serial clock. The memory carries a built-in 4-bit When data is read by the bus master, the bus
unique Device Type Identifier code (1010) in master acknowledges the receipt of the data byte
accordance with the I2C bus definition. in the same way. Data transfers are terminated by
The memory behaves as a slave device in the I2C a STOP condition after an Ack for WRITE, and
protocol, with all memory operations synchronized after a NoAck for READ.
by the serial clock. Read and Write operations are Power On Reset: V CC Lock-Out Write Protect
initiated by a START condition, generated by the In order to prevent data corruption and inadvertent
bus master. The START condition is followed by a write operations during power up, a Power On
Device Select Code and RW bit (as described in Reset (POR) circuit is included. The internal reset
Table 3), terminated by an acknowledge bit. is held active until the V CC voltage has reached
the POR threshold value, and all operations are
Figure 3. Maximum R L Value versus Bus Capacitance (CBUS) for an I2C Bus
VCC
20
Maximum RP value (kΩ)
16
RL RL
12
SDA
8 MASTER CBUS
fc = 100kHz SCL
4
fc = 400kHz CBUS
0
10 100 1000
CBUS (pF)
AI01665
3/20
M24C16, M24C08, M24C04, M24C02, M24C01
SCL
SDA
www.DataSheet4U.com
SCL 1 2 3 7 8 9
START
CONDITION
SCL 1 2 3 7 8 9
STOP
CONDITION
AI00792
disabled – the device will not respond to any master has a push-pull (rather than open drain)
command. In the same way, when V CC drops from output.
the operating voltage, below the POR threshold Serial Data (SDA)
value, all operations are disabled and the device
The SDA pin is bi-directional, and is used to
will not respond to any command. A stable and transfer data in or out of the memory. It is an open
valid VCC must be applied before applying any drain output that may be wire-OR’ed with other
logic signal.
open drain or open collector signals on the bus. A
pull up resistor must be connected from the SDA
SIGNAL DESCRIPTION
bus to V CC. (Figure 3 indicates how the value of
Serial Clock (SCL) the pull-up resistor can be calculated).
The SCL input pin is used to strobe all data in and Chip Enable (E2, E1, E0)
out of the memory. In applications where this line
These chip enable inputs are used to set the value
is used by slaves to synchronize the bus to a
that is to be looked for on the three least significant
slower clock, the master must have an open drain
bits (b3, b2, b1) of the 7-bit device select code (but
output, and a pull-up resistor must be connected
see the description of memory addressing, on
from the SCL line to VCC. (Figure 3 indicates how
page 6, for more details). These inputs may be
the value of the pull-up resistor can be calculated).
driven dynamically or tied to VCC or VSS to
In most applications, though, this method of
establish the device select code (but note that the
synchronization is not employed, and so the pull-
VIL and VIH levels for the inputs are CMOS
up resistor is not necessary, provided that the
compatible, not TTL compatible).
4/20
M24C16, M24C08, M24C04, M24C02, M24C01
5/20
M24C16, M24C08, M24C04, M24C02, M24C01
WC
STOP
R/W
www.DataSheet4U.com
WC
R/W
WC (cont'd)
NO ACK NO ACK
AI02803B
clock pulse period, the receiver pulls the SDA bus To address the memory array, the 4-bit Device
low to acknowledge the receipt of the eight data Type Identifier is 1010b.
bits. Up to eight memory devices can be connected on
Data Input a single I2C bus. Each one is given a unique 3-bit
During data input, the memory device samples the code on its Chip Enable inputs. When the Device
SDA bus signal on the rising edge of the clock, Select Code is received, the memory only
SCL. For correct device operation, the SDA signal responds if the Chip Enable Code (shown in Table
must be stable during the clock low-to-high 3) is the same as the pattern applied to its Chip
transition, and the data must change only when Enable pins.
the SCL line is low. Those devices with larger memory capacities (the
Memory Addressing M24C16, M24C08 and M24C04) need more
address bits. E0 is not available for use on devices
To start communication between the bus master
that need to use address line A8; E1 is not
and the slave memory, the master must initiate a available for devices that need to use address line
START condition. Following this, the master sends
A9, and E2 is not available for devices that need to
the 8-bit byte, shown in Table 3, on the SDA bus
use address line A10 (see Figure 2A to Figure 2D
line (most significant bit first). This consists of the
and Table 3 for details). Using the E0, E1 and E2
7-bit Device Select Code, and the 1-bit Read/Write inputs pins, up to eight M24C02 (or M24C01), four
Designator (RW). The Device Select Code is
M24C04, two M24C08 or one M24C16 device can
further subdivided into: a 4-bit Device Type
be connected to one I 2C bus. In each case, and in
Identifier, and a 3-bit Chip Enable “Address” (E2, the hybrid cases, this gives a total memory
E1, E0).
6/20
M24C16, M24C08, M24C04, M24C02, M24C01
WC
STOP
R/W
www.DataSheet4U.com
WC
R/W
WC (cont'd)
ACK ACK
AI02804
capacity of 16 Kbits, 2 KBytes (except where Writing to the memory may be inhibited if the WC
M24C01 devices are used). input pin is taken high. Any write command with
The 8th bit is the RW bit. This is set to ‘1’ for read WC=1 (during a period of time from the START
and ‘0’ for write operations. If a match occurs on condition until the end of the address byte) will not
the Device Select Code, the corresponding modify the memory contents, and the
memory gives an acknowledgment on the SDA accompanying data bytes will not be
bus during the 9 th bit time. If the memory does not acknowledged (as shown in Figure 5).
match the Device Select Code, it deselects itself Byte Write
from the bus, and goes into stand-by mode. In the Byte Write mode, after the Device Select
There are two modes both for read and write. Code and the address, the master sends one data
These are summarized in Table 4 and described byte. If the addressed location is write protected by
later. A communication between the master and the WC pin, the memory replies with a NoAck, and
the slave is ended with a STOP condition. the location is not modified. If, instead, the WC pin
Write Operations has been held at 0, as shown in Figure 6, the
Following a START condition the master sends a memory replies with an Ack. The master
terminates the transfer by generating a STOP
Device Select Code with the RW bit set to ’0’, as
condition.
shown in Table 4. The memory acknowledges this,
and waits for an address byte. The memory Page Write
responds to the address byte with an acknowledge The Page Write mode allows up to 16 bytes to be
bit, and then waits for the data byte. written in a single write cycle, provided that they
7/20
M24C16, M24C08, M24C04, M24C02, M24C01
WRITE Cycle
in Progress
START Condition
DEVICE SELECT
with RW = 0
NO ACK
www.DataSheet4U.com Returned
Next
NO Operation is YES
Addressing the
Memory
Send
Byte Address
ReSTART
STOP
Proceed Proceed
WRITE Operation Random Address
READ Operation
AI01847
are all located in the same ’row’ in the memory: A STOP condition at any other time does not
that is the most significant memory address bits trigger the internal write cycle.
are the same. If more bytes are sent than will fit up During the internal write cycle, the SDA input is
to the end of the row, a condition known as ‘roll- disabled internally, and the device does not
over’ occurs. Data starts to become overwritten, or respond to any requests.
otherwise altered.
Minimizing System Delays by Polling On ACK
The master sends from one up to 16 bytes of data,
each of which is acknowledged by the memory if During the internal write cycle, the memory
disconnects itself from the bus, and copies the
the WC pin is low. If the WC pin is high, the
data from its internal latches to the memory cells.
contents of the addressed memory location are
not modified, and each data byte is followed by a The maximum write time (tw) is shown in Table 6B,
NoAck. After each byte is transferred, the internal but the typical time is shorter. To make use of this,
an Ack polling sequence can be used by the
byte address counter (the 4 least significant bits
master.
only) is incremented. The transfer is terminated by
the master generating a STOP condition.
When the master generates a STOP condition
immediately after the Ack bit (in the “10 th bit” time
slot), either at the end of a byte write or a page
write, the internal memory write cycle is triggered.
8/20
M24C16, M24C08, M24C04, M24C02, M24C01
ACK NO ACK
CURRENT
ADDRESS DEV SEL DATA OUT
READ
START
STOP
R/W
START
STOP
R/W R/W
STOP
R/W
START
R/W R/W
ACK NO ACK
DATA OUT N
STOP
AI01942
Note: 1. The seven most significant bits of the Device Select Code of a Random Read (in the 1 st and 3rd bytes) must be identical.
9/20
M24C16, M24C08, M24C04, M24C02, M24C01
ICC Supply Current -W series: VCC =2.5V, fc=400kHz (rise/fall time < 30ns) 1 mA
www.DataSheet4U.com
-R series: VCC =1.8V, fc=400kHz (rise/fall time < 30ns) 0.81 mA
Current Address Read After the last memory address, the address
The device has an internal address counter which counter ‘rolls-over’ and the memory continues to
is incremented each time a byte is read. For the output data from memory address 00h.
Current Address Read mode, following a START Acknowledge in Read Mode
condition, the master sends a Device Select Code In all read modes, the memory waits, after each
with the RW bit set to ‘1’. The memory byte read, for an acknowledgment during the 9th
acknowledges this, and outputs the byte bit time. If the master does not pull the SDA line
addressed by the internal address counter. The low during this time, the memory terminates the
counter is then incremented. The master data transfer and switches to its stand-by state.
terminates the transfer with a STOP condition, as
shown in Figure 8, without acknowledging the byte
output.
Sequential Read
This mode can be initiated with either a Current
Address Read or a Random Address Read. The
master does acknowledge the data byte output in
this case, and the memory continues to output the
next byte in sequence. To terminate the stream of
bytes, the master must not acknowledge the last
byte output, and must generate a STOP condition.
The output data comes from consecutive
addresses, with the internal address counter
automatically incremented after each byte output.
10/20
M24C16, M24C08, M24C04, M24C02, M24C01
11/20
M24C16, M24C08, M24C04, M24C02, M24C01
Min Max
tCLQX tDH Data Out Hold Time After Clock Low 200 ns
fC fSCL Clock Frequency 400 kHz
tW tWR Write Time 10 ms
Note: 1. For a reSTART condition, or following a write cycle.
2. Sampled only, not 100% tested.
3. To avoid spurious START and STOP conditions, a minimum delay is placed between SCL=1 and the falling or rising edge of SDA.
4. This is preliminary data.
12/20
M24C16, M24C08, M24C04, M24C02, M24C01
tCHCL tCLCH
SCL
SDA IN
SCL
tCLQV tCLQX
DATA OUTPUT
SCL
tW
SDA IN
tCHDH tCHDX
AI00795B
13/20
M24C16, M24C08, M24C04, M24C02, M24C01
Example: M24C08 – W DW 1 T
ORDERING INFORMATION
Devices are shipped from the factory with the
memory content set at all ‘1’s (FFh).
The notation used for the device number is as
shown in Table 9. For a list of available options
(speed, package, etc.) or for further information on
any aspect of this device, please contact your
nearest ST Sales Office.
14/20
M24C16, M24C08, M24C04, M24C02, M24C01
Table 10. PSDIP8 - 8 pin Plastic Skinny DIP, 0.25mm lead frame
mm inches
Symb.
Typ. Min. Max. Typ. Min. Max.
A 3.90 5.90 0.154 0.232
A1 0.49 – 0.019 –
A2 3.30 5.30 0.130 0.209
B 0.36 0.56 0.014 0.022
B1 1.15 1.65 0.045 0.065
w w w . D a t a S h e e t 4 U . c o m
C 0.20 0.36 0.008 0.014
D 9.20 9.90 0.362 0.390
E 7.62 – – 0.300 – –
E1 6.00 6.70 0.236 0.264
e1 2.54 – – 0.100 – –
eA 7.80 – 0.307 –
eB 10.00 0.394
L 3.00 3.80 0.118 0.150
N 8 8
A2 A
A1 L
B e1 C
B1 eA
D eB
E1 E
1
PSDIP-a
15/20
M24C16, M24C08, M24C04, M24C02, M24C01
Table 11. SO8 - 8 lead Plastic Small Outline, 150 mils body width
mm inches
Symb.
Typ. Min. Max. Typ. Min. Max.
A 1.35 1.75 0.053 0.069
A1 0.10 0.25 0.004 0.010
B 0.33 0.51 0.013 0.020
C 0.19 0.25 0.007 0.010
D 4.80 5.00 0.189 0.197
www.DataSheet4U.com
E 3.80 4.00 0.150 0.157
e 1.27 – – 0.050 – –
H 5.80 6.20 0.228 0.244
h 0.25 0.50 0.010 0.020
L 0.40 0.90 0.016 0.035
α 0° 8° 0° 8°
N 8 8
CP 0.10 0.004
h x 45˚
A
C
B
e CP
E H
1
A1 α L
SO-a
16/20
M24C16, M24C08, M24C04, M24C02, M24C01
DIE
N
C
E1 E
1 N/2
A1
A A2 L
CP B e
TSSOP
17/20
M24C16, M24C08, M24C04, M24C02, M24C01
D1
E1 E
BALL "1"
e
A
A1
SBGA-00
18/20
M24C16, M24C08, M24C04, M24C02, M24C01
www.DataSheet4U.com
19/20
M24C16, M24C08, M24C04, M24C02, M24C01
www.DataSheet4U.com
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences
of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted
by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject
to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not
authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics.
© 2000 STMicroelectronics - All Rights Reserved
The ST logo is a registered trademark of STMicroelectronics.
All other names are the property of their respective owners.
STMicroelectronics GROUP OF COMPANIES
Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain -
Sweden - Switzerland - United Kingdom - U.S.A.
http://www.st.com
20/20