STMicroelectronics M34E02-FMB1P 2 kbit serial ic bus eeprom serial presence detect for ddr2 dimm Datasheet

M34E02
2 Kbit Serial I²C Bus EEPROM
Serial Presence Detect for DDR2 DIMMs
FEATURES SUMMARY
■
■
■
■
■
■
■
■
■
■
■
Software Data Protection for lower 128 bytes
Two Wire I2C Serial Interface
100kHz Transfer Rates
1.7 to 3.6V Single Supply Voltage:
BYTE and PAGE WRITE (up to 16 bytes)
RANDOM and SEQUENTIAL READ Modes
Self-Timed Programming Cycle
Automatic Address Incrementing
Enhanced ESD/Latch-Up Protection
More than 1 Million Erase/Write Cycles
More than 40 Year Data Retention
Figure 1. Packages
UFDFPN8 (MB)
2x3mm² (MLP)
TSSOP8 (DW)
4.4x3mm²
November 2004
1/23
M34E02
TABLE OF CONTENTS
FEATURES SUMMARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 1. Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
SUMMARY DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Figure 2. Logic Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Figure 3. TSSOP and MLP Connections (Top View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Table 1. Signal Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Power On Reset: VCC Lock-Out Write Protect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
SIGNAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Serial Clock (SCL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Serial Data (SDA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Chip Enable (E0, E1, E2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Write Control (WC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Figure 4. Maximum RL Value versus Bus Capacitance (CBUS) for an I2C Bus . . . . . . . . . . . . . . . . 5
Figure 5. I2C Bus Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 2. Device Select Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
DEVICE OPERATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Start Condition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Stop Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Acknowledge Bit (ACK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Data Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Memory Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 3. Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 6. Result of Setting the Write Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Setting the Write-Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
SWP and CWP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
PSWP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 7. Setting the Write Protection (WC = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 8. Write Mode Sequences in a Non Write-Protected Area . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Write Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Byte Write. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Page Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 9. Write Cycle Polling Flowchart using ACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Minimizing System Delays by Polling On ACK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 10.Read Mode Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Read Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Random Address Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Current Address Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Sequential Read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Acknowledge in Read Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
INITIAL DELIVERY STATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2/23
M34E02
USE WITHIN A DDR2 DIMM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 4. DRAM DIMM Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Programming the M34E02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
DDR2 DIMM Isolated. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
DDR2 DIMM Inserted in the Application Mother Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 5. Acknowledge when Writing Data or Defining the Write-protection
(Instructions with R/W bit=0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 6. Acknowledge when Reading the Write Protection (Instructions with R/W bit=1). . . . . . . 13
Figure 11.Serial Presence Detect Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
MAXIMUM RATING. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 7. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
DC AND AC PARAMETERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 8. Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 9. AC Measurement Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 12.AC Measurement I/O Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 10. Input Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 11. DC Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 12. AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 13.AC Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
PACKAGE MECHANICAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 14.UFDFPN8 (MLP8) 8-lead Ultra thin Fine pitch Dual Flat Package No lead 2x3mm²,
Package Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 13. UFDFPN8 (MLP8) 8-lead Ultra thin Fine pitch Dual Flat Package No lead 2x3mm²,
Package Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 15.TSSOP8 – 8 lead Thin Shrink Small Outline, Package Outline . . . . . . . . . . . . . . . . . . . 20
Table 14. TSSOP8 – 8 lead Thin Shrink Small Outline, Package Mechanical Data . . . . . . . . . . . . 20
PART NUMBERING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 15. Ordering Information Scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
REVISION HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 16. Revision History. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3/23
M34E02
SUMMARY DESCRIPTION
The M34E02 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 writeprotected using two different software write
protection mechanisms. By sending the device a
specific sequence, the first 128 bytes of the
memory become write protected: permanently or
resetable. In addition, the device allows the entire
memory area to be write protected, using the WC
input (for example by tieing this input to VCC).
These I2C-compatible electrically erasable
programmable memory (EEPROM) devices are
organized as 256x8 bits.
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 9th 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. TSSOP and MLP Connections (Top
View)
M34E02
E0
E1
E2
Figure 2. Logic Diagram
VSS
1
2
3
4
8
7
6
5
VCC
WC
SCL
SDA
AI09021
VCC
Note: 1. See the pages after page 19 for package dimensions,
and how to identify pin-1.
3
E0-E2
SCL
SDA
M34E02
WC
VSS
AI09020
I2C 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 I2C bus definition to
access the memory area and a second Device
Type Identifier Code (0110) to define the
protection. These codes are used together with
the voltage level applied on the three chip enable
inputs (E2, E1, E0).
The device behaves as a slave device in the I2C
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
4/23
Table 1. Signal Names
E0, E1, E2
Chip Enable
SDA
Serial Data
SCL
Serial Clock
WC
Write Control
VCC
Supply Voltage
VSS
Ground
Power On Reset: VCC 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. At Power-on, the
internal reset is held active until VCC has reached
the POR threshold value, and all operations are
disabled – the device will not respond to any
command. In the same way, when VCC 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 VCC (as defined in Table 8) must
be applied before applying any logic signal.
M34E02
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 connected from Serial Clock (SCL) to VCC. (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 VCC. (Figure 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. In the
end application, E0, E1 and E2 must be directly
(not through a pull-up or pull-down resistor) connected to VCC or VSS to establish the Device Select Code. When these inputs are not connected,
an internal pull-down circuitry makes (E0,E1,E2) =
(0,0,0).
The E0 input is used to detect the VHV voltage,
when decoding an SWP or CWP instruction.
Write Control (WC)
This input signal is provided for protecting the contents 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 RL Value versus Bus Capacitance (CBUS) for an I2C Bus
VCC
Maximum RP value (kΩ)
20
16
RL
12
RL
SDA
MASTER
8
fc = 100kHz
4
fc = 400kHz
CBUS
SCL
CBUS
0
10
100
1000
CBUS (pF)
AI01665
5/23
M34E02
Figure 5. I2C Bus Protocol
SCL
SDA
SDA
Input
START
Condition
SCL
1
SDA
MSB
2
SDA
Change
STOP
Condition
3
7
8
9
ACK
START
Condition
SCL
1
2
SDA
MSB
3
7
8
9
ACK
STOP
Condition
AI00792B
Table 2. Device Select Code
Chip Enable Signals
Device Type Identifier
Chip Enable Bits
RW
b7 1
b6
b5
b4
b3
b2
b1
b0
1
0
1
0
E2
E1
E0
RW
Memory Area Select Code
(two arrays) 2
E2
E1
E0
Set Write Protection (SWP)
VSS
VSS
VHV
0
0
1
0
Clear Write Protection (CWP)
VSS
VCC
VHV
0
1
1
0
Permanently Set Write
Protection (PSWP) 2
E2
E1
E0
E2
E1
E0
0
Read SWP
VSS
VSS
VHV
0
0
1
1
Read CWP
VSS
VCC
VHV
0
1
1
1
Read PSWP 2
E2
E1
E0
E2
E1
E0
1
0
1
1
0
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.
6/23
M34E02
DEVICE OPERATION
The device supports the I2C protocol. This is summarized 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 driven High. A Stop condition terminates communication 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 EEPROM Write cycle.
Acknowledge Bit (ACK)
The acknowledge bit is used to indicate a successful 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
9th 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 driven 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 4bit Device Type Identifier is 1010b; to access the
write-protection settings, it is 0110b.
Up to eight memory devices can be connected on
a single I2C 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 8th 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 9th bit time. If the
device does not match the Device Select code, it
deselects itself from the bus, and goes into Standby mode.
Table 3. Operating Modes
Mode
Current Address Read
RW bit
WC 1
Bytes
1
X
1
0
X
Random Address Read
Initial Sequence
START, Device Select, RW = 1
START, Device Select, RW = 0, Address
1
1
X
reSTART, Device Select, RW = 1
Sequential Read
1
X
≥1
Byte Write
0
VIL
1
START, Device Select, RW = 0
Page Write
0
VIL
≤ 16
START, Device Select, RW = 0
Similar to Current or Random Address Read
Note: 1. X = VIH or VIL.
7/23
M34E02
Figure 6. Result of Setting the Write Protection
FFh
FFh
Standard
Array
Memory
Area
Standard
Array
80h
7Fh
Write
Protected
Array
Standard
Array
00h
Default EEPROM memory area
state before write access
to the Protect Register
80h
7Fh
00h
State of the EEPROM memory
area after write access
to the Protect Register
AI01936C
SWP and CWP. If the software write-protection
has been set with the SWP instruction, it can be
cleared again with a CWP instruction.
The two instructions (SWP and CWP) have the
same format as a Byte Write instruction, but with a
different Device Type Identifier (as shown in Table
2). Like the Byte Write instruction, it is followed by
an address byte and a data byte, but in this case
the contents are all “Don’t Care” (Figure 7). Another difference is that the voltage, VHV, must be applied on the E0 pin, and specific logical levels must
be applied on the other two (E1 and E2, as shown
in Table 2).
PSWP. If the software write-protection has been
set with the PSWP instruction, the first 128 bytes
of the memory are permanently write-protected.
This write-protection cannot be cleared by any instruction, or by power-cycling the device, and regardless the state of Write Control (WC). Also,
once the PSWP instruction has been successfully
executed, the M34E02 no longer acknowledges
any instruction (with a Device Type Identifier of
0110) to access the write-protection settings.
Setting the Write-Protection
The M34E02 has a hardware write-protection
feature, using the Write Control (WC) signal. This
signal can be driven High or Low, and must be
held constant for the whole instruction sequence.
When Write Control (WC) is held High, the whole
memory array (addresses 00h to FFh) is write
protected. When Write Control (WC) is held Low,
the write protection of the memory array is
dependent on whether software write-protection
has been set.
Software write-protection allows the bottom half of
the memory area (addresses 00h to 7Fh) to be
write protected irrespective of subsequent states
of the Write Control (WC) signal.
Software write-protection is handled by three instructions:
– SWP: Set Write Protection
– CWP: Clear Write Protection
– PSWP: Permanently Set Write Protection
The level of write-protection (set or cleared) that
has been defined using these instructions, remains defined even after a power cycle.
CONTROL
BYTE
WORD
ADDRESS
STOP
BUS ACTIVITY
MASTER
START
Figure 7. Setting the Write Protection (WC = 0)
DATA
SDA LINE
BUS ACTIVITY
ACK
ACK
ACK
VALUE
VALUE
(DON'T CARE) (DON'T CARE)
AI01935B
8/23
M34E02
Figure 8. Write Mode Sequences in a Non Write-Protected Area
ACK
BYTE ADDR
R/W
ACK
DEV SEL
START
PAGE WRITE
DATA IN
STOP
DEV SEL
START
BYTE WRITE
ACK
ACK
ACK
BYTE ADDR
ACK
DATA IN 1
DATA IN 2
R/W
ACK
ACK
STOP
DATA IN N
AI01941
Write Operations
Following a Start condition the bus master sends
a Device Select Code with the RW bit reset to 0.
The device acknowledges this, as shown in Figure
8, and waits for an address byte. The device responds to the address byte with an acknowledge
bit, and then waits for the data byte.
When the bus master generates a Stop condition
immediately after the Ack bit (in the “10th bit” time
slot), either at the end of a Byte Write or a Page
Write, the internal memory Write cycle is triggered.
A Stop condition at any other time slot does not
trigger the internal Write cycle.
During the internal Write cycle, Serial Data (SDA)
and Serial Clock (SCL) are ignored, and the device does not respond to any requests.
Byte Write
After the Device Select Code and the address
byte, the bus master sends one data byte. If the
addressed location is hardware write-protected,
the device replies to the data byte with NoAck, and
the location is not modified. If, instead, the addressed location is not Write-protected, the device
replies with Ack. The bus master terminates the
transfer by generating a Stop condition, as shown
in Figure 8.
Page Write
The Page Write mode allows up to 16 bytes to be
written in a single Write cycle, provided that they
are all located in the same page in the memory:
that is, the most significant memory address bits
are the same. If more bytes are sent than will fit up
to the end of the page, a condition known as ‘rollover’ occurs. This should be avoided, as data
starts to become overwritten in an implementation
dependent way.
The bus master sends from 1 to 16 bytes of data,
each of which is acknowledged by the device if
Write Control (WC) is Low. If the addressed location is hardware write-protected, the device replies
to the data byte with NoAck, and the locations are
not modified. After each byte is transferred, the internal byte address counter (the 4 least significant
address bits only) is incremented. The transfer is
terminated by the bus master generating a Stop
condition.
9/23
M34E02
Figure 9. Write Cycle Polling Flowchart using ACK
WRITE Cycle
in Progress
START Condition
DEVICE SELECT
with RW = 0
NO
ACK
Returned
YES
First byte of instruction
with RW = 0 already
decoded by the device
NO
Next
Operation is
Addressing the
Memory
YES
Send Address
and Receive ACK
ReSTART
NO
STOP
YES
DATA for the
WRITE Operation
DEVICE SELECT
with RW = 1
Continue the
WRITE Operation
Continue the
Random READ Operation
Minimizing System Delays by Polling On ACK
During the internal Write cycle, the device disconnects itself from the bus, and writes a copy of the
data from its internal latches to the memory cells.
The maximum Write time (tw) is shown in Table
12, but the typical time is shorter. To make use of
this, a polling sequence can be used by the bus
master.
10/23
START
Condition
AI01847C
The sequence, as shown in Figure 9, is:
– Initial condition: a Write cycle is in progress.
– Step 1: the bus master issues a Start condition
followed by a Device Select Code (the first byte
of the new instruction).
– Step 2: if the device is busy with the internal
Write cycle, no Ack will be returned and the bus
master goes back to Step 1. If the device has
terminated the internal Write cycle, it responds
with an Ack, indicating that the device is ready
to receive the second part of the instruction (the
first byte of this instruction having been sent
during Step 1).
M34E02
Figure 10. Read Mode Sequences
ACK
DATA OUT
STOP
START
DEV SEL
NO ACK
R/W
ACK
START
DEV SEL *
ACK
BYTE ADDR
R/W
ACK
START
DEV SEL
DATA OUT
R/W
ACK
ACK
NO ACK
DATA OUT N
DATA OUT 1
R/W
ACK
START
DEV SEL *
ACK
BYTE ADDR
R/W
ACK
ACK
DEV SEL *
START
SEQUENTIAL
RANDOM
READ
DEV SEL *
NO ACK
STOP
SEQUENTIAL
CURRENT
READ
ACK
START
RANDOM
ADDRESS
READ
STOP
CURRENT
ADDRESS
READ
ACK
DATA OUT 1
R/W
NO ACK
STOP
DATA OUT N
AI01942
Note: 1. The seven most significant bits of the Device Select Code of a Random Read (in the 1st and 3rd bytes) must be identical.
Read Operations
Read operations are performed independently of
whether hardware or software protection has been
set.
The device has an internal address counter which
is incremented each time a byte is read.
Random Address Read
A dummy Write is first performed to load the address into this address counter (as shown in Figure 10) but without sending a Stop condition.
Then, the bus master sends another Start condition, and repeats the Device Select Code, with the
RW bit set to 1. The device acknowledges this,
and outputs the contents of the addressed byte.
The bus master must not acknowledge the byte,
and terminates the transfer with a Stop condition.
Current Address Read
For the Current Address Read operation, following
a Start condition, the bus master only sends a Device Select Code with the RW bit set to 1. The device acknowledges this, and outputs the byte
addressed by the internal address counter. The
counter is then incremented. The bus master terminates the transfer with a Stop condition, as
shown in Figure 10, without acknowledging the
byte.
11/23
M34E02
Sequential Read
This operation can be used after a Current Address Read or a Random Address Read. The bus
master does acknowledge the data byte output,
and sends additional clock pulses so that the device continues to output the next byte in sequence.
To terminate the stream of bytes, the bus master
must not acknowledge the last byte, and must
generate a Stop condition, as shown in Figure 10.
The output data comes from consecutive addresses, with the internal address counter automatically
incremented after each byte output. After the last
memory address, the address counter ‘rolls-over’,
and the device continues to output data from
memory address 00h.
Acknowledge in Read Mode
For all Read commands, the device waits, after
each byte read, for an acknowledgment during the
9th bit time. If the bus master does not drive Serial
Data (SDA) Low during this time, the device terminates the data transfer and switches to its Standby mode.
INITIAL DELIVERY STATE
The device is delivered with the memory array
erased: all bits are set to 1 (each byte contains
FFh).
USE WITHIN A DDR2 DIMM
In the application, the M34E02 is soldered directly
in the printed circuit module. The three Chip
Enable inputs (E0, E1, E2) must be connected to
VSS or VCC directly (that is without using a pull-up
or pull-down resistor) through the DIMM socket
(see Table 4.). The pull-up resistors needed for
normal behavior of the I2C bus are connected on
the I2C bus of the mother-board (as shown in
Figure 11).
The Write Control (WC) of the M34E02 can be left
unconnected. However, connecting it to VSS is
recommended, to maintain full read and write
access.
12/23
Table 4. DRAM DIMM Connections
DIMM Position
E2
E1
E0
0
VSS
VSS
VSS
1
VSS
VSS
VCC
2
VSS
VCC
VSS
3
VSS
VCC
VCC
4
VCC
VSS
VSS
5
VCC
VSS
VCC
6
VCC
VCC
VSS
7
VCC
VCC
VCC
Programming the M34E02
The situations in which the M34E02 is programmed can be considered under two headings:
– when the DDR2 DIMM is isolated (not inserted
on the PCB motherboard)
– when the DDR2 DIMM is inserted on the PCB
motherboard
DDR2 DIMM Isolated. With specific programming equipment, it is possible to define the
M34E02 content, using Byte and Page Write instructions, and its write-protection using the SWP
and CWP instructions. To issue the SWP and
CWP instructions, the DDR2 DIMM must be inserted in the DDR2-specific slot where the E0 signal
can be driven to VHV during the whole instruction.
This programming step is mainly intended for use
by DDR2 DIMM makers, whose end application
manufacturers will want to clear this write-protection with the CWP on their own specific programming equipment, to modify the lower 128 Bytes,
and finally to set permanently the write-protection
with the PSWP instruction.
DDR2 DIMM Inserted in the Application Mother
Board. As the final application cannot drive the
E0 pin to VHV, the only possible action is to freeze
the write-protection with the PSWP instruction.
Table 5 and Table 6 show how the Ack bits can be
used to identify the write-protection status.
M34E02
Table 5. Acknowledge when Writing Data or Defining the Write-protection
(Instructions with R/W bit=0)
Status
Permanently
protected
WC
Input
Level
Instruction
Ack
Address
Ack
Data Byte
Ack
Write
Cycle
(tW)
PSWP, SWP or CWP
NoAck
Not
significant
NoAck
Not
significant
NoAck
No
Page or Byte Write in
lower 128 Bytes
Ack
Address
Ack
Data
NoAck
No
SWP
NoAck
Not
significant
NoAck
Not
significant
NoAck
No
CWP
Ack
Not
significant
Ack
Not
significant
Ack
Yes
PSWP
Ack
Not
significant
Ack
Not
significant
Ack
Yes
Page or Byte Write in
lower 128 Bytes
Ack
Address
Ack
Data
NoAck
No
SWP
NoAck
Not
significant
NoAck
Not
significant
NoAck
No
CWP
Ack
Not
significant
Ack
Not
significant
NoAck
No
PSWP
Ack
Not
significant
Ack
Not
significant
NoAck
No
Page or Byte Write
Ack
Address
Ack
Data
NoAck
No
PSWP, SWP or CWP
Ack
Not
significant
Ack
Not
significant
Ack
Yes
Page or Byte Write
Ack
Address
Ack
Data
Ack
Yes
PSWP, SWP or CWP
Ack
Not
significant
Ack
Not
significant
NoAck
No
Page or Byte Write
Ack
Address
Ack
Data
NoAck
No
X
0
Protected with
SWP
1
0
Not Protected
1
Table 6. Acknowledge when Reading the Write Protection (Instructions with R/W bit=1)
Status
Instruction
Ack
Address
Ack
Data byte
Ack
Permanently
protected
PSWP, SWP or CWP
NoAck
Not significant
NoAck
Not significant
NoAck
SWP
NoAck
Not significant
NoAck
Not significant
NoAck
CWP
Ack
Not significant
NoAck
Not significant
NoAck
PSWP
Ack
Not significant
NoAck
Not significant
NoAck
PSWP, SWP or CWP
Ack
Not significant
NoAck
Not significant
NoAck
Protected with
SWP
Not Protected
13/23
M34E02
Figure 11. Serial Presence Detect Block Diagram
R = 4.7kΩ
DIMM Position 7
E2
E1
E0
SCL SDA
E0
SCL SDA
VCC
DIMM Position 6
E2
E1
VCC
VSS
DIMM Position 5
E2
E1
E0
SCL SDA
VCC VSS VCC
DIMM Position 4
E2
E1
VCC
E0
SCL SDA
VSS
DIMM Position 3
E2
E1
VSS
E0
SCL SDA
VCC
DIMM Position 2
E2
E1
E0
SCL SDA
VSS VCC VSS
DIMM Position 1
E2
E1
VSS
E0
SCL SDA
VCC
DIMM Position 0
E2
E1
E0
SCL SDA
VSS
SCL line
AI01937
SDA line
From the motherboard
I2C master controller
Note: 1. E0, E1 and E2 are wired at each DIMM socket in a binary sequence for a maximum of 8 devices.
2. Common clock and common data are shared across all the devices.
3. Pull-up resistors are required on all SDA and SCL bus lines (typically 4.7 kΩ) because these lines are open drain when used as
outputs.
14/23
M34E02
MAXIMUM RATING
Stressing the device above the rating listed in the
Absolute Maximum Ratings table 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 im-
plied. Exposure to Absolute Maximum Rating conditions for extended periods may affect device
reliability. Refer also to the STMicroelectronics
SURE Program and other relevant quality documents.
Table 7. Absolute Maximum Ratings
Symbol
Parameter
TSTG
Storage Temperature
TLEAD
Lead Temperature during Soldering 1
Min.
Max.
Unit
–65
150
°C
See note 1
E0
Others
VIO
Input or Output range
VCC
Supply Voltage
VESD
Electrostatic Discharge Voltage (Human Body model) 2
Note: 1. Compliant with JEDEC Std J-STD-020B (for small body, Sn-Pb or Pb assembly), the ST
the European directive on Restrictions on Hazardous Substances (RoHS) 2002/95/EU.
2. JEDEC Std JESD22-A114A (C1=100 pF, R1=1500 Ω, R2=500 Ω)
°C
–0.50
–0.50
10.0
6.5
V
–0.5
6.5
V
–4000
4000
V
ECOPACK®
7191395 specification, and
15/23
M34E02
DC AND AC PARAMETERS
This section summarizes the operating and measurement conditions, and the DC and AC characteristics of the device. The parameters in the DC
and AC Characteristic tables that follow are derived from tests performed under the Measure-
ment Conditions summarized in the relevant
tables. Designers should check that the operating
conditions in their circuit match the measurement
conditions when relying on the quoted parameters.
Table 8. Operating Conditions
Symbol
VCC
TA
Parameter
Supply Voltage
Ambient Operating Temperature
Min.
Max.
Unit
1.7
3.6
V
0
70
°C
Min.
Max.
Unit
Table 9. AC Measurement Conditions
Symbol
CL
Parameter
Load Capacitance
100
Input Rise and Fall Times
pF
50
ns
Input Levels
0.2VCC to 0.8VCC
V
Input and Output Timing Reference Levels
0.3VCC to 0.7VCC
V
Figure 12. AC Measurement I/O Waveform
Input Levels
Input and Output
Timing Reference Levels
0.8VCC
0.7VCC
0.3VCC
0.2VCC
AI00825B
Table 10. Input Parameters
Symbol
Parameter1,2
Test Condition
Min.
Max.
Unit
CIN
Input Capacitance (SDA)
8
pF
CIN
Input Capacitance (other pins)
6
pF
ZEiL
Ei (E0, E1, E2) Input
Impedance
VIN < 0.3VCC
30
kΩ
ZEiH
Ei (E0, E1, E2) Input
Impedance
VIN > 0.7VCC
800
kΩ
ZWCL
WC Input Impedance
VIN < 0.3VCC
5
kΩ
ZWCH
WC Input Impedance
VIN > 0.7VCC
500
kΩ
Pulse width ignored
(Input Filter on SCL and SDA)
Single glitch
tNS
Note: 1. TA = 25 °C, f = 400 kHz
2. Sampled only, not 100% tested.
16/23
100
ns
M34E02
Table 11. DC Characteristics
Symbol
Test Condition
(in addition to those in Table 8)
Max.1
Unit
VIN = VSS or VCC
±2
µA
VOUT = VSS or VCC, SDA in Hi-Z
±2
µA
VCC =1.7V, fc=100kHz (rise/fall time <
30ns)
1
mA
VIN = VSS or VCC, VCC = 3.6V
1
µA
VIN = VSS or VCC, VCC = 1.7V
0.5
µA
Parameter
ILI
Input Leakage Current
(SCL, SDA)
ILO
Output Leakage Current
ICC
Supply Current
ICC1
Stand-by Supply Current
Min.1
VIL
Input Low Voltage
(SCL, SDA, WC)
–0.45
0.3 VCC
V
VIH
Input High Voltage
(SCL, SDA, WC)
0.7VCC
VCC+1
V
VHV
E0 High Voltage
7
10
V
V
Output Low Voltage
IOL = 2.1mA, 2.2V ≤ VCC ≤ 3.6V
0.4
VOL
IOL = 0.7mA, VCC = 1.7V
0.2
V
VHV – VCC ≥ 4.8V
Note: 1. Preliminary Data.
Table 12. AC Characteristics
Test conditions specified in Table 9 and 8
Symbol
Alt.
Parameter
Min.
Max.
Unit
fC
fSCL
Clock Frequency
100
kHz
tCHCL
tHIGH
Clock Pulse Width High
4000
ns
tCLCH
tLOW
Clock Pulse Width Low
4700
ns
tDL1DL2 2
tF
tDXCX
SDA Fall Time
20
300
tSU:DAT
Data In Set Up Time
250
ns
tCLDX
tHD:DAT
Data In Hold Time
0
ns
tCLQX
tDH
Data Out Hold Time
200
ns
tCLQV 3
tAA
Clock Low to Next Data Valid (Access Time)
200
tCHDX 1
tSU:STA
Start Condition Set Up Time
4700
ns
tDLCL
tHD:STA
Start Condition Hold Time
4000
ns
tCHDH
tSU:STO
Stop Condition Set Up Time
4000
ns
tDHDL
tBUF
Time between Stop Condition and Next Start Condition
4700
ns
tW
tWR
Write Time
3500
10
ns
ns
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.
17/23
M34E02
Figure 13. AC Waveforms
tCHCL
tCLCH
SCL
tDLCL
SDA In
tCHDX
tCLDX
START
Condition
SDA
Input
SDA tDXCX
Change
tCHDH tDHDL
START
STOP
Condition Condition
SCL
SDA In
tCHDH
tW
STOP
Condition
Write Cycle
tCHDX
START
Condition
SCL
tCLQV
SDA Out
tCLQX
Data Valid
AI00795C
18/23
M34E02
PACKAGE MECHANICAL
Figure 14. UFDFPN8 (MLP8) 8-lead Ultra thin Fine pitch Dual Flat Package No lead 2x3mm²,
Package Outline
e
D
b
L1
L3
E
E2
L
A
D2
ddd
A1
UFDFPN-01
Note: 1. Drawing is not to scale.
2. The central pad (the area E2 by D2 in the above illustration) is pulled, internally, to VSS. It must not be allowed to be connected to
any other voltage or signal line on the PCB, for example during the soldering process.
Table 13. UFDFPN8 (MLP8) 8-lead Ultra thin Fine pitch Dual Flat Package No lead 2x3mm²,
Package Mechanical Data
millimeters
inches
Symbol
A
Typ.
Min.
Max.
Typ.
Min.
Max.
0.55
0.50
0.60
0.022
0.020
0.024
0.00
0.05
0.000
0.002
0.20
0.30
0.008
0.012
0.061
0.065
A1
b
0.25
D
2.00
D2
0.079
1.55
ddd
E
0.010
1.65
0.05
3.00
E2
0.002
0.118
0.15
0.25
0.006
0.010
e
0.50
–
–
0.020
–
–
L
0.45
0.40
0.50
0.018
0.016
0.020
L1
0.15
0.006
L3
0.30
0.012
N
8
8
19/23
M34E02
Figure 15. TSSOP8 – 8 lead Thin Shrink Small Outline, Package Outline
D
8
5
c
E1
1
E
4
α
A1
A
L
A2
L1
CP
b
e
TSSOP8AM
Notes: 1. Drawing is not to scale.
Table 14. TSSOP8 – 8 lead Thin Shrink Small Outline, Package Mechanical Data
millimeters
inches
Symbol
Typ.
Min.
A
0.050
0.150
0.800
1.050
b
0.190
c
0.090
A2
Typ.
Min.
1.200
A1
1.000
CP
20/23
Max.
Max.
0.0472
0.0020
0.0059
0.0315
0.0413
0.300
0.0075
0.0118
0.200
0.0035
0.0079
0.0394
0.100
0.0039
D
3.000
2.900
3.100
0.1181
0.1142
0.1220
e
0.650
–
–
0.0256
–
–
E
6.400
6.200
6.600
0.2520
0.2441
0.2598
E1
4.400
4.300
4.500
0.1732
0.1693
0.1772
L
0.600
0.450
0.750
0.0236
0.0177
0.0295
L1
1.000
0°
8°
0.0394
α
0°
N
8
8°
8
M34E02
PART NUMBERING
Table 15. Ordering Information Scheme
Example:
M34E02
–
F DW 1
T
P
Device Type
M34 = ASSP I2C serial access EEPROM
Device Function
E02 = 2 Kbit (256 x 8) SPD (Serial Presence Detect) for DDR2
Operating Voltage
F = VCC = 1.7 to 3.6V (100kHz)
Package
MB = UDFDFPN8 (MLP8)
DW = TSSOP8 (4.4x3mm² body size)
Temperature Range
1 = 0 to 70 °C
Option
blank = Standard Packing
T = Tape & Reel Packing
Plating Technology
blank = Standard SnPb plating
P = Lead-Free and RoHS compliant
G = Lead-Free, RoHS compliant, Sb2O3-free and TBBA-free
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.
21/23
M34E02
REVISION HISTORY
Table 16. Revision History
Date
Rev.
13-Nov-2003
1.0
First release
01-Dec-2003
1.1
TSSOP8 4.4x3 package replaces TSSOP8 3x3 (MSOP8) package. Correction to sentence in
“Setting the Write Protection”. Correction to specification of tNS values.
29-Mar-2004
1.2
Always NoACK after Address and Data bytes in Table 6. Improvement in VIO and VCC (min) in
Absolute Maximum Ratings table. IOL changed for test condition of VOL. MLP package
mechanical data respecified. Soldering temperature information clarified for RoHS compliant
devices.
14-Apr-2004
2.0
First public release
3.0
Direct connection of E0, E1, E2 to VSS and VCC (see Chip Enable (E0, E1, E2) and USE
WITHIN A DDR2 DIMM paragraphs). ZEiL and ZEiH parameters added to Table 10., Input
Parameters. E0, E1, E2 removed from the Parameter descriptions of VIL and VIH in Table
11., DC Characteristics.
Document status promoted from Product Preview to full Datasheet.
24-Nov-2004
22/23
Description of Revision
M34E02
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.
The ST logo is a registered trademark of STMicroelectronics.
All other names are the property of their respective owners
© 2004 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
23/23
Similar pages