Document Outline
- FEATURES SUMMARY
- SUMMARY DESCRIPTION
- SIGNAL DESCRIPTION
- DEVICE OPERATION
- Use within A DRAM DIMM
- Initial Delivery State
- MAXIMUM RATING
- DC and AC PARAMETERS
- PACKAGE MECHANICAL
- PDIP8 8 pin Plastic DIP, 0.25mm lead frame, Package Outline
- PDIP8 8 pin Plastic DIP, 0.25mm lead frame, Package Mechanical Data
- SO8 narrow 8 lead Plastic Small Outline, 150 mils body width, Package Outline
- SO8 narrow 8 lead Plastic Small Outline, 150 mils body width, Package Mechanical Data
- VFDFPN8 8 lead Very thin Fine pitch Dual Flat Package No lead 2x3mm, Package Outline
- VFDFPN8 8 lead Very thin Fine pitch Dual Flat Package No lead 2x3mm, Package Mechanical Data
- TSSOP8 8 lead Thin Shrink Small Outline, Package Outline
- TSSOP8 8 lead Thin Shrink Small Outline, Package Mechanical Data
- TSSOP8 3x3mm 8 lead Thin Shrink Small Outline, 3x3mm body size, Package Outline
- TSSOP8 3x3mm 8 lead Thin Shrink Small Outline, 3x3mm body size, Package Mechanical Data
- PART NUMBERING
- REVISION HISTORY
1/26
July 2003
M34C02
2 Kbit Serial IC Bus EEPROM
For DIMM Serial Presence Detect
FEATURES SUMMARY
s
Software Data Protection for lower 128 bytes
s
Two Wire I
2
C Serial Interface
s
100kHz and 400kHz Transfer Rates
s
Single Supply Voltage:
2.5 to 5.5V up to 400kHz for M34C02-W
2.2 to 5.5V up to 400kHz for M34C02-L
1.8 to 5.5V up to 100kHz for M34C02-R
1.7 to 3.6V up to 100kHz for M34C02-F
s
BYTE and PAGE WRITE (up to 16 bytes)
s
RANDOM and SEQUENTIAL READ Modes
s
Self-Timed Programming Cycle
s
Automatic Address Incrementing
s
Enhanced ESD/Latch-Up Protection
s
More than 1 Million Erase/Write Cycles
s
More than 40 Year Data Retention
Figure 1. Packages
PDIP8 (BN)
SO8 (MN)
150 mil width
8
1
TSSOP8 (DW)
169 mil width
TSSOP8 (DS)
3x3mm body size (MSOP)
8
1
VFDFPN8 (MM)
2x3mm (MLP)
M34C02
2/26
SUMMARY DESCRIPTION
The M34C02 is a 2 Kbit serial EEPROM memory
able to lock permanently the data in its first half
(from location 00h to 7Fh). This facility has been
designed specifically for use in DRAM DIMMs
(dual interline memory modules) with Serial
Presence Detect. All the information concerning
the DRAM module configuration (such as its
access speed, its size, its organization) can be
kept write protected in the first half of the memory.
This bottom half of the memory area can be write-
protected using a specially designed software
write protection mechanism. By sending the
device a specific sequence, the first 128 bytes of
the memory become permanently write protected.
Care must be taken when using this sequence as
its effect cannot be reversed. In addition, the
device allows the entire memory area to be write
protected, using the WC input (for example by
tieing this input to V
CC
).
These I
2
C-compatible electrically erasable
programmable memory (EEPROM) devices are
organized as 256x8 bits.
Figure 2. Logic Diagram
I
2
C uses a two wire serial interface, comprising a
bi-directional data line and a clock line. The device
carries a built-in 4-bit Device Type Identifier code
(1010) in accordance with the I
2
C bus definition to
access the memory area and a second Device
Type Identifier Code (0110) to access the
Protection Register. These codes are used
together with three chip enable inputs (E2, E1, E0)
so that up to eight 2 Kbit devices may be attached
to the IC bus and selected individually.
The device behaves as a slave device in the I
2
C
protocol, with all memory operations synchronized
by the serial clock. Read and Write operations are
initiated by a START condition, generated by the
bus master. The START condition is followed by a
Device Select Code and RW bit (as described in
Table 2), terminated by an acknowledge bit.
When writing data to the memory, the memory
inserts an acknowledge bit during the 9
th
bit time,
following the bus master's 8-bit transmission.
When data is read by the bus master, the bus
master acknowledges the receipt of the data byte
in the same way. Data transfers are terminated by
a STOP condition after an Ack for WRITE, and
after a NoAck for READ.
Figure 3. DIP, SO, TSSOP and VFDFPN
Connections (Top View)
Note: 1. See the pages after page 19 for package dimensions,
and how to identify pin-1.
Table 1. Signal Names
Power On Reset: V
CC
Lock-Out Write Protect
In order to prevent data corruption and inadvertent
Write operations during power up, a Power On
Reset (POR) circuit is included. The internal reset
is held active until V
CC
has reached the POR
threshold value, and all operations are disabled
the device will not respond to any command. In the
same way, when V
CC
drops from the operating
voltage, below the POR threshold value, all
operations are disabled and the device will not
respond to any command.
A stable and valid V
CC
(as defined in Tables 6 to
9) must be applied before applying any logic
signal.
AI01931
3
E0-E2
SDA
VCC
M34C02
WC
SCL
VSS
E0, E1, E2
Chip Enable
SDA
Serial Data
SCL
Serial Clock
WC
Write Control
V
CC
Supply Voltage
V
SS
Ground
SDA
VSS
SCL
WC
E1
E0
VCC
E2
AI01932C
M34C02
1
2
3
4
8
7
6
5
3/26
M34C02
SIGNAL DESCRIPTION
Serial Clock (SCL)
This input signal is used to strobe all data in and
out of the device. In applications where this signal
is used by slave devices to synchronize the bus to
a slower clock, the bus master must have an open
drain output, and a pull-up resistor can be con-
nected from Serial Clock (SCL) to V
CC
. (Figure 4
indicates how the value of the pull-up resistor can
be calculated). In most applications, though, this
method of synchronization is not employed, and
so the pull-up resistor is not necessary, provided
that the bus master has a push-pull (rather than
open drain) output.
Serial Data (SDA)
This bi-directional signal is used to transfer data in
or out of the device. It is an open drain output that
may be wire-OR'ed with other open drain or open
collector signals on the bus. A pull up resistor must
be connected from Serial Data (SDA) to V
CC
. (Fig-
ure 4 indicates how the value of the pull-up resistor
can be calculated).
Chip Enable (E0, E1, E2)
These input signals are used to set the value that
is to be looked for on the three least significant bits
(b3, b2, b1) of the 7-bit Device Select Code. These
inputs must be tied to V
CC
or V
SS
to establish the
Device Select Code.
Write Control (WC)
This input signal is provided for protecting the con-
tents of the whole memory from inadvertent write
operations. Write Control (WC) is used to enable
(when driven Low) or disable (when driven High)
write instructions to the entire memory area or to
the Protection Register.
When Write Control (WC) is tied Low or left
unconnected, the write protection of the first half of
the memory is determined by the status of the
Protection Register.
Figure 4. Maximum R
L
Value versus Bus Capacitance (C
BUS
) for an I
2
C Bus
AI01665
VCC
CBUS
SDA
RL
MASTER
RL
SCL
CBUS
100
0
4
8
12
16
20
CBUS (pF)
Maximum RP value (k
)
10
1000
fc = 400kHz
fc = 100kHz
M34C02
4/26
Figure 5. I
2
C Bus Protocol
Table 2. Device Select Code
Note: 1. The most significant bit, b7, is sent first.
2. E0, E1 and E2 are compared against the respective external pins on the memory device.
Device Type Identifier
1
Chip Enable Address
2
RW
b7
b6
b5
b4
b3
b2
b1
b0
Memory Area Select
Code (two arrays)
1
0
1
0
E2
E1
E0
RW
Protection Register
Select Code
0
1
1
0
E2
E1
E0
RW
SCL
SDA
SCL
SDA
SDA
START
Condition
SDA
Input
SDA
Change
AI00792B
STOP
Condition
1
2
3
7
8
9
MSB
ACK
START
Condition
SCL
1
2
3
7
8
9
MSB
ACK
STOP
Condition
5/26
M34C02
DEVICE OPERATION
The device supports the I
2
C protocol. This is sum-
marized in Figure 5. Any device that sends data on
to the bus is defined to be a transmitter, and any
device that reads the data to be a receiver. The
device that controls the data transfer is known as
the bus master, and the other as the slave device.
A data transfer can only be initiated by the bus
master, which will also provide the serial clock for
synchronization. The memory device is always a
slave in all communication.
Start Condition
Start is identified by a falling edge of Serial Data
(SDA) while Serial Clock (SCL) is stable in the
High state. A Start condition must precede any
data transfer command. The device continuously
monitors (except during a Write cycle) Serial Data
(SDA) and Serial Clock (SCL) for a Start condition,
and will not respond unless one is given.
Stop Condition
Stop is identified by a rising edge of Serial Data
(SDA) while Serial Clock (SCL) is stable and driv-
en High. A Stop condition terminates communica-
tion between the device and the bus master. A
Read command that is followed by NoAck can be
followed by a Stop condition to force the device
into the Stand-by mode. A Stop condition at the
end of a Write command triggers the internal EE-
PROM Write cycle.
Acknowledge Bit (ACK)
The acknowledge bit is used to indicate a success-
ful byte transfer. The bus transmitter, whether it be
bus master or slave device, releases Serial Data
(SDA) after sending eight bits of data. During the
9
th
clock pulse period, the receiver pulls Serial
Data (SDA) Low to acknowledge the receipt of the
eight data bits.
Data Input
During data input, the device samples Serial Data
(SDA) on the rising edge of Serial Clock (SCL).
For correct device operation, Serial Data (SDA)
must be stable during the rising edge of Serial
Clock (SCL), and the Serial Data (SDA) signal
must change
only
when Serial Clock (SCL) is driv-
en Low.
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 Table 2
(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; to address the
Protection Register, it is 0110b.
Up to eight memory devices can be connected on
a single I
2
C bus. Each one 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.
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 Stand-
by mode.
Table 3. Operating Modes
Note: 1. X =
V
IH
or V
IL
.
Mode
RW bit
WC
1
Bytes
Initial Sequence
Current Address Read
1
X
1
START, Device Select, RW = 1
Random Address Read
0
X
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