X24C04 Serial EEPROM
X24C04 Serial EEPROM
FEATURES DESCRIPTION
•2.7V to 5.5V Power Supply The X24C04 is a CMOS 4096 bit serial E PROM,
2
FUNCTIONAL DIAGRAM
(8) V
CC
(4) V
SS
(7) TEST
START CYCLE H.V. GENERATION
TIMING
& CONTROL
(5) SDA START
STOP
LOGIC
CONTROL
LOGIC
SLAVE ADDRESS 2
REGISTER XDEC E PROM
(6) SCL LOAD INC 32 X 128
+COMPARATOR
(3) A 2 WORD
(2) A 1 ADDRESS
COUNTER
(1) A 0
R/W YDEC
8
CK D
OUT
PIN DATA REGISTER
D
OUT
ACK 3839 FHD F01
A 1 8
Serial Data (SDA) 0 V
CC
A 2 7
SDA is a bidirectional pin used to transfer data into and out 1
X24C04 TEST
of the device. It is an open drain output and may be A 3 6 SCL
2
wire-ORed with any number of open drain or open V 4 5 SDA
SS
collector outputs.
3839 FHD F02
An open drain output requires the use of a pull-up
resistor. For selecting typical values, refer to the Pull-Up
Resistor selection graph at the end of this data sheet. SOIC
Address (A0) NC 1 14 NC
A0 is unused by the X24C04, however, it must be tied to VSS 2 13
A
to insure proper device operation. 0 V
CC
A 3 12
1
TEST
NC 4 X24C04 11 NC
Address (A1, A2)
A 5 10
The Address inputs are used to set the appropriate bits of 2 SCL
V 6 9 SDA
the seven bit slave address. These inputs can be used SS
PIN NAMES
Symbol Description
A0–A2 Address Inputs
SDA Serial Data
SCL Serial Clock
TEST Hold at VSS
VSS Ground
VCC Supply Voltage
NC No Connect
3839 PGM T01
2
X24C04
DEVICE OPERATION
Clock and Data Conventions
The X24C04 supports a bidirectional bus oriented protocol. Data states on the SDA line can change only during SCL
The protocol defines any device that sends data LOW. SDA state changes during SCL HIGH are re-
onto the bus as a transmitter, and the receiving device as served for indicating start and stop conditions. Refer to
the receiver. The device controlling the transfer is a Figures 1 and 2.
master and the device being controlled is the slave. The
master will always initiate data transfers, and provide Start Condition
the clock for both transmit and receive operations. All command are preceded by the start condition, which
Therefore, the X24C04 will be considered a slave in all is a HIGH to LOW transition of SDA when SCL is
applications. HIGH. The X24C04 continuously monitors the SDA and SCL
lines for the start condition and will not respond to
any command until this condition has been met.
SCL
SDA
SCL
SDA
3
X24C04
SCL FROM
MASTER 1 8 9
DATA
OUTPUT
FROM
TRANSMITTER
DATA
OUTPUT
FROM
RECEIVER
START ACKNOWLEDGE
3839 FHD F08
4
X24C04
DEVICE ADDRESSING The last bit of the slave address defines the operation to be
performed. When set to one a read operation is
Following a start condition the master must output the selected, when set to zero a write operation is selected.
address of the slave it is accessing. The most significant
four bits of the slave are the device type identifier (see Following the start condition, the X24C04 monitors the
Figure 4). For the X24C04 this is fixed as 1010[B]. SDA bus comparing the slave address being transmitted
with its slave address (device type and state of A1
Figure 4. Slave Address and A2 inputs). Upon a correct compare the X24C04
outputs an acknowledge on the SDA line. Depending on the
HIGH state of the R/W bit, the X24C04 will execute a read
ORDER
DEVICE TYPE DEVICE WORD or write operation.
IDENTIFIER ADDRESS ADDRESS
WRITE OPERATIONS
1 0 1 0 A2 A1 A0 R/W
Byte Write
For a write operation, the X24C04 requires a second
3839 FHD F09 address field. This address field is the word address,
comprised of eight bits, providing access to any one of the
512 words of memory. Upon receipt of the word address
The next two significant bits address a particular device. A the X24C04 responds with an acknowledge, and awaits the
system could have up to four X24C04 devices on the next eight bits of data, again responding with an
bus (see Figure 10). The four addresses are defined by the acknowledge. The master then terminates the transfer by
state of the A1 and A2 inputs. generating a stop condition, at which time the X24C04
begins the internal write cycle to the nonvolatile memory.
The next bit of the slave address is an extension of the While the internal write cycle is in progress the X24C04
array’s address and is concatenated with the eight bits
inputs are disabled, and the device will not respond to any
of address in the word address field, providing direct access requests from the master. Refer to Figure 5 for the
to the whole 512 x 8 array. address, acknowledge and data transfer sequence.
S
T SLAVE WORD S
BUS ACTIVITY: A ADDRESS ADDRESS DATA T
MASTER R O
T P
SDA LINE S P
A A A
BUS ACTIVITY: C C C
X24C04 K K K
3839 FHD F10
5
X24C04
After the receipt of each word, the four low order address bits
are internally incremented by one. The high order five WRITE OPERATION
COMPLETED
bits of the address remain constant. If the master should ENTER ACK POLLING
transmit more than sixteen words prior to generating the
stop condition, the address counter will “roll over” and the
previously written data will be overwritten. As with the byte ISSUE
write operation, all inputs are disabled until completion of the START
internal write cycle. Refer to Figure 6 for the address,
acknowledge and data transfer sequence.
ISSUE SLAVE
ISSUE STOP
Acknowledge Polling ADDRESS AND R/W = 0
The disabling of the inputs can be used to take advan- tage
of the typical 5 ms write cycle time. Once the stop
condition is issued to indicate the end of the host’s write ACK NO
operation the X24C04 initiates the internal write cycle. RETURNED?
S
T SLAVE WORD S
BUS ACTIVITY: A ADDRESS ADDRESS (n) DATA n DATA n+1 DATA n+15 T
MASTER R O
T P
SDA LINE S P
A A A A A
BUS ACTIVITY: C C C C C
X24C04 K K K K K
6
X24C04
S
T SLAVE S
BUS ACTIVITY: A ADDRESS DATA T
MASTER R O
T P
SDA LINE S P
A
BUS ACTIVITY: C
X24C04 K
3839 FHD F13
S S
T SLAVE WORD T SLAVE S
BUS ACTIVITY: A ADDRESS ADDRESS n A ADDRESS DATA n T
MASTER R R O
T T P
SDA LINE S S P
A A A
BUS ACTIVITY: C C C
X24C04 K K K
3839 FHD F14
7
X24C04
SLAVE S
BUS ACTIVITY: ADDRESS A A A T
MASTER C C C O
K K K P
SDA LINE P
A
BUS ACTIVITY: C
X24C04 K DATA n DATA n+1 DATA n+2 DATA n+x
3839 FHD F16
V
CC
PULL-UP
RESISTORS
SDA
SCL
8
X24C04
9
X24C04
A.C. CHARACTERISTICS (Over recommended operating conditions unless otherwise specified) Read
& Write Cycle Limits
Symbol Parameter Min. Max. Units
fSCL SCL Clock Frequency 0 100 KHz
TI Noise Suppression Time 100 ns
Constant at SCL, SDA Inputs
tAA SCL Low to SDA Data Out Valid 0.3 3.5 ∝s
tBUF Time the Bus Must Be Free Before a 4.7 ∝s
New Transmission Can Start
tHD:STA Start Condition Hold Time 4.0 ∝s
tLOW Clock Low Period 4.7 ∝s
tHIGH Clock High Period 4.0 ∝s
tSU:STA Start Condition Setup Time 4.7 ∝s
(for a Repeated Start Condition)
tHD:DAT Data In Hold Time 0 ∝s
tSU:DAT Data In Setup Time 250 ns
tR SDA and SCL Rise Time 1 ∝s
tF SDA and SCL Fall Time 300 ns
tSU:STO Stop Condition Setup Time 4.7 ∝s
tDH Data Out Hold Time 300 ns
3839 PGM T06
POWER-UP TIMING
Symbol Parameter Max. Units
t
PUR
(4) Power-up to Read Operation 1 ms
tPUW(4) Power-up to Write Operation 5 ms
3839 PGM T07
Bus Timing
t t t t
F HIGH LOW R
SCL
t t t t t
SU:STA HD:STA HD:DAT SU:DAT SU:STO
SDA IN
t t t
AA DH BUF
SDA OUT
Notes:(4) tPUR and tPUW are the delays required from the time VCC is stable until the specified operation can be initiated. These
parameters are periodically sampled and not 100% tested.
10
X24C04
The write cycle time is the time from a valid stop bus interface circuits are disabled, SDA is allowed to remain
condition of a write sequence to the end of the internal high, and the device does not respond to its slave
erase/program cycle. During the write cycle, the X24C04 address.
SCL
WORD n t
WR
STOP START X24C04
CONDITION CONDITION ADDRESS
3839 FHD F05
Notes: (5) Typical values are for TA = 25°C and nominal supply voltage (5V).
(6) tWR is the minimum cycle time from the system perspective when polling techniques are not used. It is the maximum time the
device requires to perform the internal write operation.
11
X24C04
PACKAGING INFORMATION
0.430 (10.92)
0.360 (9.14)
0.092 (2.34)
0.150 (3.80) 0.228 (5.80) DIA. NOM.
0.158 (4.00) 0.244 (6.20) 0.255 (6.47)
0.245 (6.22)
PIN 1 INDEX
PIN 1 INDEX
PIN 1
PIN 1
0.140 (3.56)
(4X) 7° SEATING 0.130 (3.30)
PLANE
0.010 (0.25)
X 45°
0.020 (0.50) 0.325 (8.25)
0.015 (0.38)
0.300 (7.62)
MAX.
0° – 8°
0.0075 (0.19)
0.010 (0.25)
0°
0.027 (0.683) 15°
0.037 (0.937) TYP. 0.010 (0.25)
12
X24C04
PACKAGING INFORMATION
PIN 1 INDEX
PIN 1
0.014 (0.35)
0.019 (0.49)
0.336 (8.55)
0.345 (8.75)
(4X) 7°
0.053 (1.35)
0.069 (1.75)
0.004 (0.19)
0.050 (1.27)
0.010 (0.25)
0.010 (0.25)
X 45°
0.020 (0.50)
0° – 8°
0.0075 (0.19)
0.010 (0.25)
0.027 (0.683)
0.037 (0.937)
13
X24C04
ORDERING INFORMATION
X24C04 P T G -V VCC Limits
Blank = 4.5V to 5.5V
3.5 = 3.5V to 5.5V
Device 3 = 3.0 to 5.5V
2.7 = 2.7V to 5.5V
G=RoHS Compliant Lead Free package
Blank = Standard package. Non lead free
Temperature Range
Blank = Commercial = 0°C to +70°C
I = Industrial = –40°C to +85°C
M = Military = –55°C to +125°C
Package
P = 8-Lead Plastic DIP
S8 = 8-Lead SOIC
S14 = 14-Lead SOIC
LIMITED WARRANTY
Devices sold by Xicor, Inc. are covered by the warranty and patent indemnification provisions appearing in its Terms of Sale only. Xicor, Inc. makes no warranty, express,
statutory, implied, or by description regarding the information set forth herein or regarding the freedom of the described devices from patent infringement. Xicor, Inc. makes no
warranty of merchantability or fitness for any purpose. Xicor, Inc. reserves the right to discontinue production and change specifications and prices at any time and without
notice.
Xicor, Inc. assumes no responsibility for the use of any circuitry other than circuitry embodied in a Xicor, Inc. product. No other circuits, patents, licenses are implied.
U.S. PATENTS
Xicor products are covered by one or more of the following U.S. Patents: 4,263,664; 4,274,012; 4,300,212; 4,314,265; 4,326,134; 4,393,481; 4,404,475; 4,450,402;
4,486,769; 4,488,060; 4,520,461; 4,533,846; 4,599,706; 4,617,652; 4,668,932; 4,752,912; 4,829, 482; 4,874, 967; 4,883, 976. Foreign patents and additional patents
pending.
Xicor's products are not authorized for use in critical components in life support devices or systems.
1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose
failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the
user.
2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support
device or system, or to affect its safety or effectiveness.
14
X24C04
0.430 (10.92)
0.360 (9.14)
0.260 (6.60)
0.240 (6.10)
PIN 1 INDEX
PIN 1
0.065 (1.65)
0.045 (1.14)
0.325 (8.25)
0.015 (0.38)
0.300 (7.62)
MAX.
0°
TYP. 0.010 (0.25) 15°
NOTE:
1. ALL DIMENSIONS IN INCHES (IN PARENTHESES IN MILLIMETERS) 2.
PACKAGE DIMENSIONS EXCLUDE MOLDING FLASH
15
X24C04
PIN 1 INDEX
PIN 1
0.014 (0.35)
0.019 (0.49)
0.188 (4.78)
0.197 (5.00)
(4X) 7°
0.053 (1.35)
0.069 (1.75)
0.004 (0.19)
0.050 (1.27)
0.010 (0.25)
0.050"
0° – 8° TYPICAL
0.0075 (0.19)
0.010 (0.25) 0.250"
0.016 (0.410)
0.037 (0.937)
0.030"
TYPICAL
FOOTPRINT 8 PLACES
16
X24C04
PIN 1 INDEX
PIN 1
0.014 (0.35)
0.020 (0.51)
0.336 (8.55)
0.345 (8.75)
(4X) 7°
0.053 (1.35)
0.069 (1.75)
0.004 (0.10)
0.050 (1.27)
0.010 (0.25)
0.050" Typical
0.010 (0.25)
X 45°
0.020 (0.50)
0° – 8° 0.050" Typical
0.0075 (0.19)
0.010 (0.25) 0.250"
0.016 (0.41)
0.037 (0.937)
0.030" Typical
FOOTPRINT 14 Places
17
X24C04
0.405 (10.29)
––
0.310 (7.87)
0.220 (5.59)
PIN 1
0.005 (0.13) MIN.
0.300 (7.62) 0.055 (1.40) MAX.
REF.
0.065 (1.65)
0.038 (0.97)
TYP. 0.060 (1.52)
0.110 (2.79)
0.090 (2.29)
0.023 (0.58)
TYP. 0.100 (2.54) 0.014 (0.36)
TYP. 0.017 (0.43)
0.320 (8.13)
0.290 (7.37)
TYP. 0.311 (7.90)
0°
0.015 (0.38) 15°
0.008 (0.20)
18