24AA04H/24LC04BH
4K I
2
C
™
Serial EEPROM with Half-Array Write-Protect
Device Selection Table
Part
Number
24AA04H
24LC04BH
Note 1:
V
CC
Range
1.7-5.5
2.5-5.5
Max. Clock
Frequency
400 kHz
(1)
400 kHz
Temp.
Ranges
I
I, E
Description:
The Microchip Technology Inc. 24AA04H/24LC04BH
(24XX04H*) is an 4 Kbit Electrically Erasable PROM.
The device is organized as two blocks of 256 x 8-bit
memory with a 2-wire serial interface. Low-voltage
design permits operation down to 1.7V, with standby
and active currents of only 1
μA
and 1 mA,
respectively. The 24XX04H also has a page write
capability for up to 16 bytes of data. The 24XX04H is
available in the standard 8-pin PDIP, surface mount
SOIC, TSSOP, 2x3 TDFN and MSOP packages, and
is also available in the 5-lead SOT-23 package. All
packages are Pb-free and RoHS compliant.
100 kHz for V
CC
<2.5V
Features:
• Single Supply with Operation Down to 1.7V for
24AA04H Devices, 2.5V for 24LC04BH Devices
• Low-Power CMOS Technology:
- Read current 1 mA, max.
- Standby current 1
μA,
max.
• 2-Wire Serial Interface, I
2
C™ Compatible
• Schmitt Trigger Inputs for Noise Suppression
• Output Slope Control to eliminate Ground Bounce
• 100 kHz and 400 kHz Clock Compatibility
• Page Write Time 3 ms, typical
• Self-Timed Erase/Write Cycle
• 16-Byte Page Write Buffer
• Hardware Write-Protect for Half-Array (100h-1FFh)
• ESD Protection >4,000V
• More than 1 Million Erase/Write Cycles
• Data Retention >200 years
• Factory Programming available
• Packages include 8-lead PDIP, SOIC, TSSOP,
TDFN, MSOP and 5-lead SOT-23
• Pb-Free and RoHS Compliant
• Temperature Ranges:
- Industrial (I):
-40°C to +85°C
- Automotive (E): -40°C to +125°C
Block Diagram
WP
HV
Generator
I/O
Control
Logic
Memory
Control
Logic
XDEC
EEPROM
Array
Page
Latches
I/O
SCL
YDEC
SDA
V
CC
V
SS
Sense Amp.
R/W Control
Package Types
PDIP, MSOP
A0
A1
A2
V
SS
1
2
3
4
SOT-23-5
SCL
Vss
SDA
Note:
1
2
3
4
Vcc
5
WP
A0 1
A1 2
A2 3
V
SS
4
8
7
6
5
V
CC
WP
SCL
A0
A1
A2
SOIC, TSSOP
1
2
3
4
TDFN
8 V
CC
7 WP
6 SCL
5 SDA
8
7
6
5
V
CC
WP
SCL
SDA
SDA V
SS
*24XX04H is used in this document as a generic part
number for the 24AA04H/24LC04BH devices.
Pins A0, A1 and A2 are not used by the 24XX04. (No
internal connections).
©
2008 Microchip Technology Inc.
DS22119A-page 1
24AA04H/24LC04BH
1.0
ELECTRICAL CHARACTERISTICS
Absolute Maximum Ratings
(†)
V
CC
.............................................................................................................................................................................6.5V
All inputs and outputs w.r.t. V
SS
......................................................................................................... -0.3V to V
CC
+1.0V
Storage temperature ...............................................................................................................................-65°C to +150°C
Ambient temperature with power applied ................................................................................................-40°C to +125°C
ESD protection on all pins
......................................................................................................................................................≥
4 kV
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to
the device. This is a stress rating only and functional operation of the device at those or any other conditions
above those indicated in the operational listings of this specification is not implied. Exposure to maximum rating
conditions for extended periods may affect device reliability.
TABLE 1-1:
DC CHARACTERISTICS
V
CC
= +1.7V to +5.5V
Industrial (I):
T
A
= -40°C to +85°C
Automotive (E): T
A
= -40°C to +125°C
Min.
—
DC CHARACTERISTICS
Param.
Symbol
No.
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
V
IH
—
V
IL
V
HYS
V
OL
I
LI
I
LO
C
IN
,
C
OUT
I
CC
read
I
CCS
Standby current
Characteristic
WP, SCL and SDA pins
High-level input voltage
Low-level input voltage
Hysteresis of Schmitt
Trigger inputs
Low-level output voltage
Input leakage current
Output leakage current
Pin capacitance
(all inputs/outputs)
Typ.
—
—
—
—
—
—
—
—
0.1
0.05
0.01
—
Max.
—
—
0.3 V
CC
—
0.40
±1
±1
10
3
1
1
5
Units
—
V
V
V
V
μA
μA
pF
mA
mA
μ
A
μA
—
—
—
(Note)
Conditions
0.7 V
CC
—
0.05 V
CC
—
—
—
—
—
—
—
—
I
OL
= 3.0 mA, V
CC
= 2.5V
V
IN
= V
SS
or V
CC
V
OUT
= V
SS
or V
CC
V
CC
= 5.0V
(Note)
T
A
= 25°C, F
CLK
= 1 MHz
V
CC
= 5.5V, SCL = 400 kHz
—
Industrial
Automotive
SDA = SCL = V
CC
WP = V
SS
I
CC
write
Operating current
Note:
This parameter is periodically sampled and not 100% tested.
DS22119A-page 2
©
2008 Microchip Technology Inc.
24AA04H/24LC04BH
TABLE 1-2:
AC CHARACTERISTICS
Industrial (I):
Automotive (E):
Characteristic
Clock Frequency
Clock High Time
Clock Low Time
SDA and SCL Rise Time
(Note 1)
SDA and SCL Fall Time
Start Condition Hold Time
Start Condition Setup Time
Data Input Hold Time
Data Input Setup Time
Stop Condition Setup Time
WP Setup Time
WP Hold Time
Output Valid from Clock
(Note 2)
Bus free time: Time the bus
must be free before a new
transmission can start
Output Fall Time from V
IH
Minimum to V
IL
Maximum
Input Filter Spike Suppression
(SDA and SCL pins)
Write Cycle Time (byte or
page)
Endurance
Min.
—
—
600
4000
1300
4700
—
—
—
600
4000
600
4700
0
100
250
600
4000
600
4000
1300
4700
—
—
1300
4700
—
—
—
—
1M
Max.
400
100
—
—
—
—
300
1000
300
—
—
—
—
—
—
—
—
—
—
—
—
—
900
3500
—
—
250
250
50
5
—
T
A
= -40°C to +85°C, V
CC
= +1.7V to +5.5V
T
A
= -40°C to +125°C, V
CC
= +2.5V to +5.5V
Units
kHz
kHz
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
ms
Conditions
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
(Note 1)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
(Note 2)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
< 2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
< 2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
2.5V
≤
V
CC
≤
5.5V
1.7V
≤
V
CC
<
2.5V
(24AA04H)
(Notes 1 and 3)
—
AC CHARACTERISTICS
Param.
Symbol
No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
F
CLK
T
HIGH
T
LOW
T
R
T
F
T
HD
:
STA
T
SU
:
STA
T
HD
:
DAT
T
SU
:
DAT
T
SU
:
STO
T
SU
:
WP
T
HD
:
WP
T
AA
T
BUF
15
16
17
18
Note 1:
2:
3:
4:
T
OF
T
SP
T
WC
—
cycles 25°C,
(Note 4)
Not 100% tested. C
B
= total capacitance of one bus line in pF.
As a transmitter the device must provide an internal minimum delay time to bridge the undefined region
(minimum 300 ns) of the falling edge of SCL to avoid unintended generation of Start or Stop conditions.
The combined T
SP
and V
HYS
specifications are due to new Schmitt Trigger inputs which provide improved
noise spike suppression. This eliminates the need for a
T
I
specification for standard operation.
This parameter is not tested but ensured by characterization. For endurance estimates in a specific
application, please consult the Total Endurance™ Model which can be obtained on Microchip’s web site at
www.microchip.com.
©
2008 Microchip Technology Inc.
DS22119A-page 3
24AA04H/24LC04BH
FIGURE 1-1:
BUS TIMING DATA
5
2
D4
4
SCL
SDA
IN
7
6
16
3
8
9
10
13
SDA
OUT
(protected)
(unprotected)
14
WP
11
12
DS22119A-page 4
©
2008 Microchip Technology Inc.
24AA04H/24LC04BH
2.0
FUNCTIONAL DESCRIPTION
3.4
Data Valid (D)
The 24XX04H supports a bidirectional, 2-wire bus and
data transmission protocol. A device that sends data
onto the bus is defined as a transmitter, while a device
receiving data is defined as a receiver. The bus has to
be controlled by a master device which generates the
Serial Clock (SCL), controls the bus access and
generates the Start and Stop conditions, while the
24XX04H works as slave. Both master and slave can
operate as transmitter or receiver, but the master
device determines which mode is activated.
The state of the data line represents valid data when,
after a Start condition, the data line is stable for the
duration of the high period of the clock signal.
The data on the line must be changed during the low
period of the clock signal. There is one clock pulse per
bit of data.
Each data transfer is initiated with a Start condition and
terminated with a Stop condition. The number of the
data bytes transferred between the Start and Stop
conditions is determined by the master device and is
theoretically unlimited, although only the last sixteen
will be stored when doing a write operation. When an
overwrite does occur it will replace data in a first-in first-
out (FIFO) fashion.
3.0
BUS CHARACTERISTICS
The following
bus protocol
has been defined:
• Data transfer may be initiated only when the bus
is not busy.
• During data transfer, the data line must remain
stable whenever the clock line is high. Changes in
the data line while the clock line is high will be
interpreted as a Start or Stop condition.
Accordingly, the following bus conditions have been
defined (Figure 3-1).
3.5
Acknowledge
Each receiving device, when addressed, is obliged to
generate an acknowledge after the reception of each
byte. The master device must generate an extra clock
pulse which is associated with this Acknowledge bit.
Note:
The 24XX04H does not generate any
Acknowledge bits if an internal program-
ming cycle is in progress.
3.1
Bus Not Busy (A)
Both data and clock lines remain high.
3.2
Start Data Transfer (B)
A high-to-low transition of the SDA line while the clock
(SCL) is high determines a Start condition. All
commands must be preceded by a Start condition.
3.3
Stop Data Transfer (C)
A low-to-high transition of the SDA line while the clock
(SCL) is high determines a Stop condition. All
operations must be ended with a Stop condition.
The device that acknowledges, has to pull down the
SDA line during the acknowledge clock pulse in such a
way that the SDA line is stable low during the high
period of the acknowledge related clock pulse. Of
course, setup and hold times must be taken into
account. During reads, a master must signal an end of
data to the slave by not generating an Acknowledge bit
on the last byte that has been clocked out of the slave.
In this case, the slave (24XX04H) will leave the data
line high to enable the master to generate the Stop
condition.
FIGURE 3-1:
(A)
SCL
DATA TRANSFER SEQUENCE ON THE SERIAL BUS
(B)
(D)
(D)
(C)
(A)
SDA
Start
Condition
Address or
Acknowledge
Valid
Data
Allowed
to Change
Stop
Condition
©
2008 Microchip Technology Inc.
DS22119A-page 5