Turbo IC, Inc.: Cmos I C 2-Wire Bus 4K Electrically Erasable Programmable Rom 512 X 8 Bit Eeprom
Turbo IC, Inc.: Cmos I C 2-Wire Bus 4K Electrically Erasable Programmable Rom 512 X 8 Bit Eeprom
24C04
PRODUCT INTRODUCTION
DESCRIPTION:
The Turbo IC 24C04 is a serial 4K EEPROM fabricated with
Turbos proprietary, high reliability, high performance CMOS
technology. Its 4K of memory is organized as 512 x 8 bits.
The memory is configured as 32 pages with each page containing 16 bytes. This device offers significant advantages
in low power applications.
The Turbo IC 24C04 uses the IC addressing protocol and
2-wire serial interface which includes a bidirectional serial
data bus synchronized by a clock. It offers a flexible byte
write and a faster 16-byte page write.
The Turbo IC 24C04 is assembled in either a 8-pin PDIP or
8-pin SOIC package. Pin #1 is not connected (NC). Pin #2
is the A1 device address input for the 24C04. Pin #3 is the
A2 device address input for the 24C04, such that a total of
four 24C04 devices can be connected on a single bus. Pin
#4 is the ground (Vss). Pin #5 is the serial data (SDA) pin
used for bidirectional transfer of data. Pin #6 is the serial
clock (SCL) input pin. Pin #7 is the write protect (WP) pin
used to protect hardware data. Pin #8 is the power supply
(Vcc) pin.
PIN DESCRIPTION
NC
VCC
NC
VCC
A1
WP
A1
WP
SCL
SDA
A2
SCL
A2
GND
SDA
GND
8 pin SOIC
8 pin PDIP
PIN DESCRIPTION
DEVICE ADDRESS (A1 & A2)
A1 and A2 are device address inputs that enables a total of four 24C04 devices to connect
on a single bus. When the address input pin is
left unconnected, it is interpreted as zero.
WRITE PROTECT (WP)
When the write protect input is connected to Vcc,
the entire memory array is protected against write
operations. For normal write operations, the write
protect pin should be grounded. When the pin is
left unconnected, WP is interpreted as zero.
DEVICE OPERATION:
BIDIRECTIONAL BUS PROTOCOL:
The Turbo IC 24C04 follows the IC bus protocol. The protocol defines any device that sends data onto the SDA bus as
a transmitter, and the receiving device as a receiver. The
device controlling the transfer is the master and the device
being controlled is the slave. The master always initiates the
data transfers, and provides the clock for both transmit and
receive operations. The Turbo IC 24C04 acts as a slave device in all applications. Either the master or the slave can
take control of the SDA bus, depending on the requirement
of the protocol.
ACKNOWLEDGE:
All data is serially transmitted in bytes (8 bits) on the SDA
bus. The acknowledge protocol is used as a handshake signal to indicate successful transmission of a byte of data. The
bus transmitter, either the master or the slave (Turbo IC
24C04), releases the bus after sending a byte of data on the
SDA bus. The receiver pulls the SDA bus low during the ninth
clock cycle to acknowledge the successful transmission of a
byte of data. If the SDA is not pulled low during the ninth
clock cycle, the Turbo IC 24C04 terminates the data transmission and goes into standby mode.
SCL
SDA
8th BIT
WORD n
ACK
STOP
CONDITION
tWC
START
CONDITION
Note: The write cycle time tWC is the time from a valid stop condition of a write sequence to the end of the internal clear / write cycle.
2
SDA
SCL
DATA STABLE
DATA STABLE
DATA
CHANGE
SDA
SCL
STOP
START
Output Acknowledge
SCL
DATA IN
DATA OUT
START
ACKNOWLEDGE
POLLING ACKNOWLEDGE:
During the internal write cycle of a write operation in the Turbo
IC 24C04, the completion of the write cycle can be detected
by polling acknowledge. The master starts acknowledge polling by issuing a start condition, then followed by the device
address byte 1010 (A2) (A1) (B8) 0. If the internal write cycle
is finished, the Turbo IC 24C04 acknowledges by pulling the
SDA bus low. If the internal write cycle is still ongoing, the
Turbo IC 24C04 does not acknowledge because its inputs
are disabled. Therefore, the device will not respond to any
command. By using polling acknowledge, the system delay
for write operations can be reduced. Otherwise, the system
needs to wait for the maximum internal write cycle time, tWC,
given in the spec.
MEMORY ADDRESSING:
The memory address is sent by the master in the form of 2
bytes. Device address A2 and memory address bits B[8],
are included in the device address byte. The remaining
memory address bits B[7:0] are included in the second byte.
The memory address byte can only be sent as part of a write
operation.
BYTE WRITE OPERATION:
The master initiates the byte write operation by issuing a
start condition, followed by the device address byte 1010
(A2) (A1) (B8) 0, followed by the memory address byte, followed by one data byte, followed by an acknowledge, then a
stop condition. After each byte transfer, the Turbo IC 24C04
acknowledges the successful data transmission by pulling
the SDA bus low. The stop condition starts the internal
EEPROM write cycle, and all inputs are disabled until the
completion of the write cycle.
POWER ON RESET:
The Turbo IC 24C04 has a Power On Reset circuit (POR) to
prevent data corruption and accidental write operations during power up. On power up, the internal reset signal is on
and the Turbo IC 24C04 will not respond to any command
until the VCC voltage has reached the POR threshold value.
Byte Write
S
T
A
R
T
DEVICE
ADDRESS
W
R
I
T
E
WORD ADDRESS
S
T
O
P
DATA
SDA LINE
M
S
B
L RA
S / C
B WK
A
C
K
A
C
K
Page Write
S
T
A
R
T
DEVICE
ADDRESS
W
R
I
T
E
WORD ADDRESS
DATA (n)
SDA LINE
M
S
B
L RA
S / C
B WK
A
C
K
A
C
K
//
//
S
T
O
P
DATA (n + x)
A
C
K
an acknowledge by pulling the SDA bus low, and then serially shifts out the data byte accessed from memory at the
location corresponding to the memory address counter. The
master does not acknowledge, then sends a stop condition
to terminate the read operation. It is noted that the memory
address counter is incremented by one after the data byte is
shifted out.
SEQUENTIAL READ:
The sequential read is initiated by either a current address
read or random address read. After the Turbo IC 24C04 serially shifts out the first data byte, the master acknowledges
by pulling the SDA bus low, indicating that it requires additional data bytes. After the data byte is shifted out, the Turbo
IC 24C04 increments the memory address counter by one.
Then the Turbo IC 24C04 shifts out the next data byte. The
sequential reads continues for as long as the master keeps
acknowledging. When the memory address counter is at the
last memory location, the counter will roll-over when
incremented by one to the first location in memory (address
zero). The master terminates the sequential read operation
by not acknowledging, then sends a stop condition.
DEVICE
ADDRESS
R
E
A
D
S
T
O
P
DATA
SDA LINE
M
S
B
L RA
S / C
B WK
N
O
A
C
K
Random Read
S
T
A
R
T
DEVICE
ADDRESS
W
R
I
T
E
WORD
ADDRESS N
DEVICE
ADDRESS
//
R
E
A
D
S
T
O
P
DATA n
SDA LINE
M
S
B
L RA
S / C
B WK
//
A
C
K
A
C
K
N
O
A
C
K
DUMMY WRITE
DEVICE
ADDRESS
R
E
A
D
DATA n
DATA n + 2
DATA n +1
S
T
O
P
DATA n + 3
SDA LINE
M
S
B
L RA
S / C
B WK
A
C
K
A
C
K
N
O
A
C
K
A
C
K
0 C to 70 C
Temperature Range:
Commercial:
Endurance:
Data Retention:
D.C. CHARACTERISTICS
Symbol
Parameter
Condition
Min
Max
I cc1
I cc2
I sb
0.4
Iil
Iol
Vil
Vih
Vol1
1.0
3.0
0.5
2.0
3
3
0.8
Vcc+0.5
0.4
-1.0
Vccx0.7
Vcc=4.5v Iol=2.1 mA
Units
mA
mA
uA
uA
uA
uA
V
V
V
tHIGH
LOW
SCL
LOW
t
HD.DAT
t
HD.STA
SU.STA
SU.DAT
SU.STO
SDA IN
tAA
tBUF
DH
SDA OUT
A.C. CHARACTERISTICS
Symbol
Parameter
2.7 volt
Min
SCL
T
tLOW
tHIGH
tAA
tBUF
tHD.STA
tSU.STA
tHD.DAT
tSU.DAT
tR
tF
tSU.STO
tDH
tWC
4.7
4.0
0.1
4.7
4.0
4.7
0
200
5.5 volt
Max
100
100
Min
1.2
0.6
0.1
1.2
0.6
0.6
0
100
4.5
1.0
300
Max
400
50
0.9
0.3
300
4.7
100
0.6
50
10
10
Units
kHZ
ns
us
us
us
us
us
us
us
ns
us
ns
us
ns
ms
All documents are subject to change without notice. Please contact Turbo IC for the latest
revision of documents.
Turbo IC does not assume any responsibility for any damage to the user that may result from
accidents or operation under abnormal conditions.
Turbo IC does not assume any responsibility for the use of any circuitry other than what
embodied in a Turbo IC product. No other circuits, patents, licenses are implied.
Turbo IC products are not authorized for use in life support systems or other critical systems
where component failure may endanger life. System designers should design with error
detection and correction, redundancy and back-up features.
512 X 8
Serial
EEPROM
Revision C
Turbo IC, Inc. 2365 Paragon Drive, Suite I, San Jose, CA 95131 Phone: 408-392-0208
See us at www.turbo-ic.com
Package
Voltage
P -PDIP
S -SOIC
3 - 2.7V to 5.5V
2 - 2.2 V to 5.5 V
Fax: 408-392-0207
Rev. 5.0-11/27/02