How To Use DDR2 RAM PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

USERS MANUAL

HOW TO USE DDR2 SDRAM

Document No. E0437E40 (Ver.4.0)


Date Published September 2007 (K) Japan
URL: http://www.elpida.com Elpida Memory, Inc. 2004-2007
INTRODUCTION

Readers
This manual is intended for users who design application systems using double data rate 2 synchronous DRAM (DDR2
SDRAM). Readers of this manual are required to have general knowledge in the fields of electrical engineering, logic circuits,
as well as detailed knowledge of the functions and usage of conventional synchronous DRAM (SDRAM) and double data rate
synchronous DRAM (DDR SDRAM).

Legend
Caution: Information requiring particular attention
Note: Footnote for items marked with Note in the text
Remark: Supplementary information

Related Documents
Related documents indicated in this manual may include preliminary versions, but they may not be explicitly marked as
preliminary.

Document Name Document No.


HOW TO USE SDRAM USERS MANUAL E0123N
HOW TO USE DDR SDRAM USERS MANUAL E0234E

Notice
This dicument is intended to give users understanding of basic functions and usage of DDR2 SDRAM. Descriptions in
this document are provided only for illustrative purpose in semiconductor product operation and application examples.
And numerical values are not guaranteed values. For details about the functions of individual products, refer to the
corresponding data sheet. The incorporation of these information in the design of the customers equipment shall be
done under the full responsibility of the customer. Elpida Memory, Inc. assumes no responsibility for any losses
incurred by customers or third parties arising from the use of these information.

Users Manual E0437E40 (Ver.4.0) 3


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CONTENTS

CHAPTER 1 ODT (ON DIE TERMINATION)..............................................................................................................................6

1.1 Signal Reflection .......................................................................................................................................................................6

1.2 Motherboard Termination..........................................................................................................................................................7


1.2.1 Signal reflection when using motherboard termination ..........................................................................................................7
1.3 Overview of ODT ......................................................................................................................................................................8
1.3.1 ODT features ..........................................................................................................................................................................8
1.3.2 Advantages of ODT ................................................................................................................................................................8
1.3.3 Structure of ODT ....................................................................................................................................................................9
1.4 Setting of ODT Impedance Value..............................................................................................................................................9

1.5 ODT's ON/OFF timing ............................................................................................................................................................10


1.5.1 ODT's ON/OFF timing for power-down mode .....................................................................................................................10
1.5.2 ODT's ON/OFF timing for active mode and standby mode..................................................................................................11
1.5.3 ODT's ON timing at entering power-down mode .................................................................................................................12
1.5.4 ODT's OFF timing at entering power-down mode................................................................................................................13
1.5.5 ODT's ON timing at exiting power-down mode ...................................................................................................................14
1.5.6 ODT's OFF timing at exiting power-down mode..................................................................................................................15
1.6 ODT in Self-refresh Mode .......................................................................................................................................................15

CHAPTER 2 OCD (OFF CHIP DRIVER) ....................................................................................................................................16

2.1 Overview of OCD....................................................................................................................................................................16


2.1.1 Drive performance and transition time..................................................................................................................................16
2.1.2 DQS signal, /DQS signal, and drive performance.................................................................................................................17
2.1.3 DQS signal, /DQS signal, and valid data window.................................................................................................................18
2.1.4 Extension of valid data window by voltage adjustment ........................................................................................................19
2.2 Setting of OCD Impedance Value............................................................................................................................................20
2.2.1 OCD impedance adjustment method ....................................................................................................................................20
2.2.2 OCD impedance adjustment steps ........................................................................................................................................20
2.3 Setting of OCD Value..............................................................................................................................................................22
2.3.1 Drive (1) mode......................................................................................................................................................................23
2.3.2 Drive (0) mode......................................................................................................................................................................24
2.3.3 Adjustment mode..................................................................................................................................................................25
2.3.4 OCD calibration mode exit ...................................................................................................................................................26
2.3.5 OCD calibration default........................................................................................................................................................26
2.3.6 Example of impedance value test circuit...............................................................................................................................26

Users Manual E0437E40 (Ver.4.0) 4


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 3 4-BIT PREFETCH...................................................................................................................................................27

3.1 Semiconductor Processes and Acceleration Limits..................................................................................................................27

3.2 Prefetch Operation ...................................................................................................................................................................27


3.2.1 Operations of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM .....................................................................................27
3.3 Operating Speeds of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM..............................................................................29

CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY.........................................................................................................30

4.1 Overview of Posted CAS .........................................................................................................................................................30


4.1.1 Problems with DDR SDRAM...............................................................................................................................................30
4.1.2 Improvements in DDR2 SDRAM.........................................................................................................................................31
4.2 Read Operation ........................................................................................................................................................................32
4.2.1 Read operation in DDR SDRAM..........................................................................................................................................32
4.2.2 Read operation in DDR2 SDRAM........................................................................................................................................32
4.3 Write Operation .......................................................................................................................................................................33
4.3.1 Write operation in DDR SDRAM.........................................................................................................................................33
4.3.2 Write operation in DDR2 SDRAM.......................................................................................................................................33
4.4 Setting of Additive Latency .....................................................................................................................................................34

4.5 Read Latency and Write Latency.............................................................................................................................................35


4.5.1 Read latency..........................................................................................................................................................................35
4.5.2 Write latency.........................................................................................................................................................................36

Users Manual E0437E40 (Ver.4.0) 5


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

CHAPTER 1 ODT (ON DIE TERMINATION)

This chapter describes ODT (On Die Termination).


ODT is a new function that has been added to DDR2 SDRAM. It reduces signal reflection by including a termination resistance
in the DRAM. The DRAM controller can use ODT to set the termination resistance ON and OFF simultaneously for each data
I/O pin signal (DQ) as well as differential data strobe signals (DQS, /DQS, RDQS and /RDQS) and write data mask signal
(DM).
By reducing signal reflection (a source of noise), this function makes for higher signal quality and thus helps enable faster data
transfers.
This function also simplifies system design since it eliminates the need for layout and wiring of termination resistors. It also
means there are fewer components to mount on the motherboard, which lowers part-related costs.

1.1 Signal Reflection

A ball that is thrown against a wall will bounce back. Similarly, electrical signals are reflected back when they reach the end of
a transmission path. Electrical signals also can be reflected at points where impedance differs, such as at bus and DRAM
connection points.
Signal reflection causes noise, which lowers signal quality. In a high-speed data transfer system, high-quality signals are
required and even a slight amount of noise can be a major problem.

Users Manual E0437E40 (Ver.4.0) 6


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.2 Motherboard Termination

Motherboard termination is a termination method that reduces signal reflection by attaching a resistor (termination resistance)
with a suitable resistance value at the end of each transmission path. However, this method does not reduce signal reflection
adequately in the operating frequency range used by DDR2 SDRAM. Also, adding termination resistors to the motherboard
increases the component count and tends to raise costs.

1.2.1 Signal reflection when using motherboard termination

As mentioned above, motherboard termination may not be able to reduce signal reflection adequately. If there are several
DRAMs on the same bus, such as is shown in Figure 1-1, DRAM currently being accessed is affected by reflected signals from
other DRAM.
Thus, to ensure high signal quality required in a high-speed data transfer system, a processing technology is needed to control
signal reflection with greater precision than is possible with motherboard termination.

STEP 1 Memory controller's signals are


DRAM1 DRAM2
propagated on signal line.
Write Waiting
in for
progress access

Motherboard
termination

VTT

Signal Signal Signal


Controller
DQ bus

STEP 2 DRAM2 reflects signals.


DRAM1 DRAM2

Reflected signals are in both Write Waiting


in for
direction; to the end of the bus and progress access
to DRAM1.
Reflected signal to the end of the
bus is absorbed by a termination Motherboard
resistor. termination

VTT

Reflected Reflected
Controller
DQ bus

STEP 3 DRAM1 receives signal from


DRAM1 DRAM2
the memory controller and
reflected signal from DRAM2 Write Waiting
in for
progress access
Reflected signal from DRAM2
causes noise that is added to the
signal from the memory controller,
Motherboard
termination
lowering the signal integrity.
VTT

Signal Reflected
Controller
DQ bus

Figure 1-1 Signal Reflection when Using Motherboard Termination

Users Manual E0437E40 (Ver.4.0) 7


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.3 Overview of ODT

When using ODT, the on-die termination resistance for each DRAM can be switched ON and OFF.
Accordingly, even when several DRAMs exist on the same bus, signals transmitted to the DRAM can be terminated.
As a result, DRAM currently being accessed is less likely to be affected by reflected signals from other DRAM.

STEP 1 Memory controller's signals are


DRAM1 DRAM2
propagated on signal line.
Write Waiting
in for
progress access
VTT

ON

Signal Signal
Controller
DQ bus

STEP 2 Internal termination resistance DRAM1 DRAM2


of DRAM2 suppresses signal
reflection. Write Waiting
in for
DRAM1 is less likely to be progress access
affected by reflected signals VTT
from DRAM2 and therefore
signal integrity is preserved. ON

Reflected
Controller

Figure 1-2 ODT and Reflected Signals

1.3.1 ODT features

DDR2 SDRAM embeds the termination resistors that used to be placed on the motherboard. The DRAM controller can use
ODT to set the termination resistance simultaneously to each pin (DQ, DQS, /DQS, RDQS, and /RDQS) ON and OFF.
The impedance value of the termination resistors can be selected as "ODT not selected", "ODT selected (50)", "ODT selected
(75)", or "ODT selected (150)". The value to be selected is set in advance via EMRS (1), (Extended Mode Registers Set
(1)).

1.3.2 Advantages of ODT

DDR2 SDRAM contains termination resistors that were previously mounted on the motherboard, thereby reducing the number
of parts on the motherboard. This also eliminates some of the wiring on the motherboard, which facilitates system design.

Users Manual E0437E40 (Ver.4.0) 8


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.3.3 Structure of ODT

DDR2 SDRAM can use the ODT control pin to set the termination resistance simultaneously to each pin (DQ, DQS, /DQS,
RDQS, and /RDQS) ON and OFF. The termination resistor's impedance value is set in advance via EMRS (1) (Extended Mode
Registers Set (1)).

DRAM

1/2 VDDQ

Either "ODT not selected ( )" or


ODT control pin "ODT selected (50, 75, 150)"
can be selected via a setting in the
EMRS (1).

Input pins

DQ,
DRAM DQS, /DQS,
input buffer RDQS, /RDQS

Figure 1-3 Structure of ODT

1.4 Setting of ODT Impedance Value

The ODT impedance value is set via EMRS (1) (Extended Mode Registers Set (1)).
Use two bits (A6 and A2) to select "ODT not selected", "ODT selected (50)", "ODT selected (75)", or "ODT selected
(150)". Once the ODT impedance value is set, the setting is retained until another setting is entered or the power is turned off.

BA2 BA1 BA0 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address

0 0 1 0 Qoff RDQS /DQS OCD program Rtt Additive latency Rtt D.I.C DLL Extended Mode Registers Set (1)

ODT impedance value

A6 A2 Rtt (nominal value)


0 0 ODT not selected
0 1 75
1 0 150
1 1 50

Figure 1-4 ODT Impedance Value Settings via Extended Mode Registers Set (1)

Users Manual E0437E40 (Ver.4.0) 9


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.5 ODT ON/OFF Timing

The ODT settings are controlled based on the input level of the ODT control pin. The standard value of ODT timing varies
between power-down mode and other modes (such as active mode or standby mode).

1.5.1 ODT ON/OFF timing for power-down mode

Figure 1-5 shows the ODT ON/OFF timing for power-down mode.
When ODT is set to ON (ODT control pin input is at high level) during power-down mode, the ODT turn-on delay time
(tAONPD) elapses, then the internal termination resistor (Rtt) is set to ON.
When ODT is set to OFF (ODT control pin input is at low level) during power-down mode, the ODT turn-off delay time
(tAOFPD) elapses, then the internal termination resistor (Rtt) is set to OFF.

T0 T1 T2 T3 T4 T5 T6
/CK
CK

CKE
tAXPD 6tCK

tIS tIS

ODT

tAOFPD max.

tAONPD min. tAOFPD min.


Internal
Term Res. Rtt
tAONPD max.

Figure 1-5 ODT ON/OFF Timing for Power-down Mode

Users Manual E0437E40 (Ver.4.0) 10


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.5.2 ODT ON/OFF timing for active mode and standby mode

Figure 1-6 shows the ODT ON/OFF timing for active mode and standby mode.
When ODT is set to ON (ODT control pin input is at high level) during either standby mode or active mode, the ODT turn-on
delay time (tAOND) elapses, then the internal termination resistor (Rtt) is set to ON.
When ODT is set to OFF (ODT control pin input is at low level) during either standby mode or active mode, the ODT turn-off
delay time (tAOFD) elapses, then the internal termination resistor (Rtt) is set to OFF.

T0 T1 T2 T3 T4 T5 T6
/CK
CK

CKE
tAXPD 6tCK

tIS tIS

ODT
tAOND tAOFD

tAOF max.
tAON min.
Internal
Term Res. Rtt

tAON max. tAOF min.

Figure 1-6 ODT ON/OFF Timing for Active Mode and Standby Mode

Users Manual E0437E40 (Ver.4.0) 11


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.5.3 ODT ON timing at entering power-down mode

Figure 1-7 shows the timing when ODT is set to ON while entering power-down mode.
The turn-on delay time must elapse before ODT is turned ON. The timing differs depending on whether or not this delay time
has elapsed when power-down mode is entered. If the delay time has not elapsed when power-down mode is entered, the ODT
turn-on delay time will be longer than normal.
When power-down mode is entered after the ODT turn-on delay time has elapsed, DRAM is set to active mode or standby mode
at the same time as power-down mode is entered.
If power-down mode is entered before ODT turn-on delay time has elapsed, the DRAM is set to power-down mode.

T-5 T-4 T-3 T-2 T-1 T0 T1 T2 T3


/CK

CK
tANPD
tIS Power-down mode ON
CKE

tIS tAOND

ODT
Active mode's timing or
Execute before tANPD standby mode's timing is
applied.
Internal
termination Rtt
resistor

tIS tAONPD(max.)

ODT
Execute after
Power-down mode's timing
tANPD
is applied.
Internal
termination Rtt
resistor

Figure 1-7 ODT ON Timing at Entering Power-down Mode

Users Manual E0437E40 (Ver.4.0) 12


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.5.4 ODT OFF timing at entering power-down mode

Figure 1-8 shows the timing when ODT is set to OFF while entering power-down mode.
The turn-off delay time must elapse before ODT is turned OFF. The timing differs depending on whether or not this delay time
has elapsed when power-down mode is entered. If the delay time has not elapsed when power-down mode is entered, the ODT
turn-off delay time will be longer than normal.
When power-down mode is entered after the ODT turn-off delay time has elapsed, the DRAM is set to active mode or standby
mode at the same time as power-down mode is entered.
If power-down mode is entered before ODT turn-off delay time has elapsed, the DRAM is set to power-down mode.

T-5 T-4 T-3 T-2 T-1 T0 T1 T2 T3


/CK

CK
tANPD
tIS Power-down mode ON
CKE

Timing of turning on power-down


mode after turning off Rtt

tIS tAOFD

ODT

Active mode's timing or


Execute before tANPD
standby mode's timing is
applied.
Internal
termination Rtt
resistor

tIS tAOFPD(max.)

ODT

Execute after Power-down mode's timing


tANPD is applied.
Internal
termination Rtt
resistor

Figure 1-8 ODT OFF Timing at Entering Power-down Mode

Users Manual E0437E40 (Ver.4.0) 13


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.5.5 ODT ON timing at exiting power-down mode

Figure 1-9 shows the timing when ODT is set to ON while exiting power-down mode.
The exit delay time (tAXPD) must elapse before exiting power-down mode. The timing of ODT turn-on differs depending on
whether or not this delay time has elapsed.

T0 T1 T6 T7 T8 T9 T10 T11
/CK
CK
tIS tAXPD

CKE
Power-down mode OFF

Execute after tAXPD

tIS tAOND

ODT
Active mode's timing or
standby mode's timing is
Internal applied.
termination Rtt
resistor

Execute before tAXPD

tIS tAONPD(max.)

ODT

Power-down mode's timing


is applied.
Internal
termination Rtt
resistor

Figure 1-9 ODT ON Timing at Exiting Power-down Mode

Users Manual E0437E40 (Ver.4.0) 14


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 1 ODT (ON DIE TERMINATION)

1.5.6 ODT OFF timing at exiting power-down mode

Figure 1-10 shows the timing when ODT is set to OFF while exiting power-down mode.
The exit delay time (tAXPD) must elapse before exiting power-down mode. The timing for ODT turn-off differs depending on
whether or not this delay time has elapsed.

T0 T1 T6 T7 T8 T9 T10 T11
/CK
CK
tIS tAXPD

CKE
Power-down mode OFF

Execute after tAXPD

tIS tAOFD

ODT
Active mode's timing or
standby mode's timing is
applied.
Internal
termination Rtt
resistor

Execute before tAXPD


tIS tAOFPD (max.)

ODT

Power-down mode's timing


is applied.
Internal
termination Rtt
resistor

Figure 1-10 ODT OFF Timing at Exiting Power-down Mode

1.6 ODT in Self-refresh Mode

ODT is not supported during self-refresh mode.

Users Manual E0437E40 (Ver.4.0) 15


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

CHAPTER 2 OCD (OFF CHIP DRIVER)

This chapter describes OCD (Off Chip Driver).


OCD is a new function that has been added to DDR2 SDRAM. It adjusts the impedance value of the DRAM's internal output
driver in order to adjust the voltage so that the output signal's pull-up resistance and pull-down resistance become equal.
This function can be used to minimize unevenness in the timing of output signals. Also, when the Ron resistance fluctuates, this
impedance value can be adjusted to minimize such fluctuation between devices.
OCD function is no longer necessary for DDR2 SDRAM and often used in default setting.

2.1 Overview of OCD

2.1.1 Drive performance and transition time

When the drive performance varies, the transition time (rise time or fall time) needed for an output signal to reach any specified
voltage also varies.
Figure 2-1 shows an image of how the transition times of output signals differ depending on the drive performance.
Generally, a higher drive performance means a faster signal transition time (rise time or fall time). Conversely, a lower drive
performance means a slower signal transition time (rise time or fall time).

Drive performance and transition time Drive performance and transition time
differences for rising edge differences for falling edge

Faster VIH VIH


Higher Higher

VIL Faster VIL

Normal VIH VIH


Drive Drive
performance performance
VIL Normal VIL

Slower VIH VIH


Lower Lower
VIL Slower VIL

Figure 2-1 Drive Performance and Signal Transition Time

Users Manual E0437E40 (Ver.4.0) 16


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.1.2 DQS signal, /DQS signal, and drive performance

The DQS and /DQS signals that are used by DDR2 SDRAM are phase related.
When the DQS and /DQS signals have the same drive performance, each signal's intermediate level and cross point also match.
However, if either signal has weaker (or stronger) drive performance than the other, the cross point and intermediate level do not
match.

DQS

When drive performance Intermediate level


is equal

/DQS

DQS

When drive performance Intermediate level


is not equal

/DQS

Cross point is not at


intermediate level

Figure 2-2 DQS Signal, /DQS Signal, and Drive performance

Users Manual E0437E40 (Ver.4.0) 17


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.1.3 DQS signal, /DQS signal, and valid data window

DDR2 SDRAM uses the cross point between the DQS and /DQS signals as a reference clock for I/O data. The memory
controller latches data from the DQ signal in synchronization with this reference clock. The DQ signal is referenced to
distinguish the high and low levels of the VREF signal.
When the DQS and /DQS signals have different drive performances, the cross point between the DQS and /DQS signals will be
offset from each signal's intermediate level. Consequently, a delay time (DQ-DQS skew) occurs between the cross point of the
DQS and /DQS signals on the one hand and the cross point of the DQ and VREF signals on the other hand.
When such DQ-DQS skew exists, the time (valid data window) provided for latching data during data input or output is reduced.
Reduction of this valid data window is a serious issue for DDR2 SDRAM, which require high-speed operations.

Cross point of
DQS and /DQS

DQS VOH

/DQS VOL
Valid data window on
DQS side

DQ-DQS skew DQ-DQS skew

Valid data window is reduced in


Valid data window on proportion to DQ-DQS skew
DQ side

VREF

DQ Cross point of
DQ and VREF

Figure 2-3 DQS Signal, /DQS Signal, and Valid Data Window

Users Manual E0437E40 (Ver.4.0) 18


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.1.4 Extension of valid data window by voltage adjustment

OCD is used to adjust the impedance value of the DRAM's internal output driver. This function can adjust the voltage to
equalize the pull-up resistance and pull-down resistance of the output signals (DQ, DQS, and /DQS).
When OCD is used to adjust the voltage, the cross point between the DQS and /DQS signals can be made to match the each
signal's intermediate level. Optimizing the cross point between the DQS and /DQS signals minimizes the delay time for the
cross point between the DQ and VREF signals.
When OCD is used to adjust the voltage with DDR2 SDRAM, DQ-DQS skew can be minimized, which maximizes the time
(valid data window) provided for latching data when data is being input or output.

Cross point of
DQS and /DQS

DQS VOH

/DQS VOL
Valid data window on
DQS side

Minimization of DQ-DQS skew


maximizes valid data window

Valid data window on


DQ side

VREF

DQ Cross point of
DQ and VREF

Figure 2-4 Expansion of Valid Data Window by Voltage Adjustment

Users Manual E0437E40 (Ver.4.0) 19


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.2 Setting of OCD Impedance Value

The OCD impedance value is set by optimizing the impedance value of signals output by the DRAM while in drive mode, based
on measurements made by the memory controller or an external measuring instrument.
During drive mode, an external device is used for comparison to determine the differential between the current impedance value
and the target value (for SSTL_18, the target value is 183). When such a differential exists, the impedance is adjusted in
adjustment mode. These comparison and adjustment steps are repeated until the optimum impedance value is set. When an
OCD impedance value adjustment is being performed, all output pins are set to have the same impedance value.

NOTE
Impedance value measurement and comparison functions are not supported by DDR2 SDRAM.
Consequently, a memory controller or other external device must be used for these measurement and comparison operations.

2.2.1 OCD impedance adjustment method

Five operations are performed to adjust the OCD impedance: set drive (1) mode, set drive (0) mode, set adjustment mode, OCD
calibration mode exit, and set OCD calibration default. All of these operations are selected via settings in EMRS (1) (Extended
Mode Registers Set (1)).
To adjust the impedance value, the pull-up resistance and pull-down resistance must be adjusted separately. This is why drive
(1) mode and drive (0) mode are set.
To switch to a different mode, OCD calibration must be canceled along with the current mode.

2.2.2 OCD impedance adjustment steps

To adjust the impedance value, the pull-up resistance and pull-down resistance must be adjusted separately. Consequently, drive
(1) mode and drive (0) mode are set. It does not matter which drive mode is set first.
Once a drive mode is set, it is determined whether or not the current impedance value is the optimum value. If the impedance
value needs to be adjusted, adjustment mode is set and the impedance value is adjusted. This is repeated until the impedance
value becomes the optimum value.
To switch to a different mode or to exit, OCD calibration must be canceled along with the current mode.

Users Manual E0437E40 (Ver.4.0) 20


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

Set the mode register before entering OCD adjustment mode.


Start ODT should be carefully controlled depending on system environment.

Drive (1) mode setting


Set (extended mode register)

OK
Measurement of Execute Test
pull-up resistance
Need
calibration

Exit OCD calibration mode exit OCD calibration mode exit


(extended mode register) (extended mode register)

Set adjustment mode


Set
(extended mode register)

Adjustment of Execute adjustment mode


Execute Either pull-up resistance or
pull-up resistance Adjustment of resistance value
pull-down resistance can be
value
adjusted first.

OCD calibration mode exit


Exit (extended mode register)

Set drive (0) mode


Set (extended mode register)

OK
Measurement of
Execute Test
pull-down resistance
Need
calibration

Exit OCD calibration mode exit OCD calibration mode exit


(extended mode register) (extended mode register)

Set adjustment mode


Set
(extended mode register)

Adjustment of Execute adjustment mode


pull-down resistance Execute Adjustment of resistance value
value

OCD calibration mode exit


Exit (extended mode register)

End

Figure 2-5 OCD Impedance Adjustment Flowchart

Users Manual E0437E40 (Ver.4.0) 21


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.3 Setting of OCD Value

The OCD function's various modes are set via EMRS (1) (Extended Mode Registers Set (1)). Three bits (A7, A8, and A9) can
be used to set any of five modes for OCD calibration: drive (1) mode, drive (0) mode, adjustment mode, OCD calibration mode
exit, and OCD calibration default.

BA2 BA1 BA0 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address

0 0 1 0 Qoff RDQS /DQS OCD program Rtt Additive latency Rtt D.I.C DLL Extended Mode Register Set (1)

OCD modes
A9 A8 A7 Operation
0 0 0 OCD calibration mode exit
0 0 1 Drive (1) mode
0 1 0 Drive (0) mode
1 0 0 Adjustment mode
1 1 1 OCD calibration default

Figure 2-6 OCD Mode Settings via Extended Mode Register Set (1)

Users Manual E0437E40 (Ver.4.0) 22


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.3.1 Drive (1) mode

When drive (1) mode is used, the existing status is set for the output level of output signals (DQ, DQS, and /DQS). An external
device such as a memory controller must be used to measure the voltage level of the output signals (DQ, DQS, and /DQS) and
determine whether or not the pull-up resistance is at the target value.
Once drive (1) mode has been set, the tOIT time must elapse before the output signals (DQ, DQS, and /DQS) are set to the
output statuses listed in Table 2-1.

Table 2-1 Output Signals When Drive (1) Mode Is Set


Output Signal Output Status
DQ High level
DQS High level
/DQS Low level

These output statuses are maintained until the "OCD calibration mode exit" command is entered.
An external device is used to determine whether or not the optimum impedance value has been set for the output driver that
drives the output signals (DQ, DQS, and /DQS). If this impedance value is not the optimum value, it must be reset in adjustment
mode.
This cycle of measurement and adjustment is repeated until the optimum impedance value is set.

NOTE
Impedance value measurement and comparison functions are not supported by DDR2 SDRAM.
Consequently, a memory controller or other external device must be used for these measurement and comparison operations.

Set drive (1) mode OCD calibration mode exit

Command EMRS NOP EMRS

High-Z High-Z
DQS H

High-Z High-Z
/DQS
L

DQ H

tOIT tOIT

Figure 2-7 Drive (1) Mode Timing

Users Manual E0437E40 (Ver.4.0) 23


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.3.2 Drive (0) mode

When drive (0) mode is used, the existing status is set for the output level of output signals (DQ, DQS, and /DQS). An external
device such as a memory controller must be used to measure the voltage level of the output signals (DQ, DQS, and /DQS) and
determine whether or not the pull-down resistance is at the target value.
Once drive (0) mode has been set, the tOIT time must elapse before the output signals (DQ, DQS, and /DQS) are set to the
output statuses listed in Table 2-2.

Table 2-2 Output Signals When Drive (0) Mode Is Set


Output Signal Output Status
DQ Low level
DQS Low level
/DQS High level

These output statuses are maintained until the "OCD calibration mode exit" command is entered.
An external device is used to determine whether or not the optimum impedance value has been set for the output driver that
drives the output signals (DQ, DQS, and /DQS). If this impedance value is not the optimum value, it must be reset in adjustment
mode.
This cycle of measurement and adjustment is repeated until the optimum impedance value is set.

NOTE
Impedance value measurement and comparison functions are not supported by DDR2 SDRAM.
Consequently, a memory controller or other external device must be used for these measurement and comparison operations.

Set drive (0) mode OCD calibration mode exit

Command EMRS NOP EMRS

High-Z High-Z
DQS
L

High-Z High-Z
/DQS H

DQ
L

tOIT tOIT

Figure 2-8 Drive (0) Mode Timing

Users Manual E0437E40 (Ver.4.0) 24


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.3.3 Adjustment mode

Adjustment mode is used to adjust the output driver's impedance value. Since this impedance value can be adjusted among 16
levels, fine adjustment of the voltage can be performed to equalize the pull-up resistance and pull-down resistance of the output
signals (DQ, DQS, and /DQS).
Once adjustment mode has been set, the write latency (WL) period must elapse, then the output driver's impedance value can be
adjusted by input of four bursts of data to the DQ pin. If the output driver's impedance value has reached its limit, it cannot be
adjusted upward or downward beyond that limit.
Before entering adjustment mode, the burst length must be set to "4". At that time, the input data must be input to all of the DQ
pins at the same time.
Even after adjustment mode has been set, if posted CAS was used to enter commands before switching to adjustment mode, the
commands are executed after the additive latency period has elapsed.

/CK

CK

Command EMRS NOP EMRS NOP

WL tWR

DQS, /DQS

tDS tDH

DQ_in DT0 DT1 DT2 DT3

Set OCD adjustment mode OCD calibration mode exit

Figure 2-9 Adjustment Mode Timing

Table 2-3 Burst Data and Operations


Burst Data Operation
DT0 DT1 DT2 DT3 Pull-up Driver strength Pull-down Driver strength
0 0 0 0
0 0 0 1 Increased by 1 step
0 0 1 0 Reduced by 1 step
0 1 0 0 Increased by 1 step
1 0 0 0 Reduced by 1 step
0 1 0 1 Increased by 1 step Increased by 1 step
0 1 1 0 Reduced by 1 step Increased by 1 step
1 0 0 1 Increased by 1 step Reduced by 1 step
1 0 1 0 Reduced by 1 step Reduced by 1 step
Other than above Reserved

REMARKS
1. "" indicates no change (NOP).
2. If data other than shown above is entered, the status is the same as "".

Users Manual E0437E40 (Ver.4.0) 25


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 2 OCD (OFF CHIP DRIVER)

2.3.4 OCD calibration mode exit

When adjusting the OCD impedance value, the current mode must be exited before switching to another mode. The OCD
calibration mode exit command is used to exit the current mode.

2.3.5 OCD calibration default

OCD calibration default mode sets the output driver's current impedance value to the default value. For description of the
default value, see the particular product's data sheet.

2.3.6 Example of impedance value test circuit

The comparison circuit shown in Figure 2-10 can be used to measure impedance values. This circuit is used by an external
device to determine whether or not the impedance value of the output signals (DQ, DQS, and /DQS) is at the optimum value.

Comparator

Figure 2-10 Impedance Value Test Circuit Example

Users Manual E0437E40 (Ver.4.0) 26


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 3 4-BIT PREFETCH

CHAPTER 3 4-BIT PREFETCH

This chapter describes the 4-bit prefetch.


The 4-bit prefetch is new architecture adopted for DDR2 SDRAM. In this architecture, the internal bus width has been made
four times wider than the external bus width, so that data bus transfers can be accelerated by a factor of four without having to
change the operating speed of the internal bus (memory cell array).
When using this 4-bit prefetch architecture, DDR2 SDRAM is able to perform high-speed transfers at 400Mbps or more.

3.1 Semiconductor Processes and Acceleration Limits

As applications become more complex, ever faster speeds are required of DRAM units. However, a DRAM unit's internal
operating speed is limited under current semiconductor processes, and further acceleration is rather difficult.
Higher speed has been realized in DDR2 SDRAM by separating the DRAM's internal operations from the I/O buffer's
operations to enable acceleration of the I/O buffer, which is much easier to accelerate than the DRAM itself.

3.2 Prefetch Operation

The prefetch operation fetches and latches in advance data that will be output from DRAM (memory cell array) to an I/O buffer.
When the operating speed of the I/O buffer is faster than that of the memory cell array, DDR SDRAM is able to increase the
amount of data it can transfer in one clock cycle of a prefetch operation, which enables a data transfer area to be secured.
Two prefetch methods (4-bit prefetch and 2-bit prefetch) are provided for the prefetch operation, according to the different
amounts of data that can be transferred per clock cycle. DDR2 SDRAM uses the 4-bit prefetch method.

3.2.1 Operations of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM

SDR SDRAM transfers data in synchronization with the rising edge of an external clock signal.
A data transfer area is secured by transferring data with 1n bit width (I/O width) from the memory cell array to the I/O buffer at
the same frequency as the external clock signal.
DDR SDRAM transfers data in synchronization with the rising and falling edges of an external clock signal. This means that
DDR SDRAM is able to transfer data at twice the speed of SDR SDRAM, even though both SDRAM types have the same
operating frequency.
In addition, DDR SDRAM uses its prefetch function to latch data in 2n-bit width from the memory cell array to the I/O buffer
at the same operating frequency as the external clock, and is thus able to secure a data transfer area without requiring a higher
internal bus frequency.
DDR2 SDRAM can operate at twice the frequency of DDR SDRAM. Thus, DDR2 SDRAM is able to prefetch data in 4n-bit
width (4-bit prefetch) without requiring a higher internal bus frequency.

Users Manual E0437E40 (Ver.4.0) 27


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 3 4-BIT PREFETCH

Operating frequency External clock Data bus


of internal bus frequency transfer rate
133MHz 266MHz 533Mbps

I/O buffer
DDR2 Memory
cell
SDRAM
array

Transfer of n bits per 1/2-clock cycle,


4n bits of data transferred using external clock with twice
per clock cycle the speed of the internal bus

Operating frequency External clock Data bus


of internal bus frequency transfer rate
133MHz 133MHz 266Mbps

I/O buffer
DDR Memory
SDRAM cell
array

Transfer of n bits per 1/2 clock cycle,


2n bits of data transferred using external clock with same speed
per clock cycle as the internal bus

Operating frequency External clock Data bus


of internal bus frequency transfer rate
133MHz 133MHz 133Mbps

I/O buffer
SDR Memory
SDRAM cell
array

Transfer of n bits per clock cycle,


n bits of data transferred using external clock with same speed
per clock cycle as the internal bus

Figure 3-1 Comparison of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM Operations

Users Manual E0437E40 (Ver.4.0) 28


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 3 4-BIT PREFETCH

3.3 Operating Speeds of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM

Table 3-1 lists the operating speeds of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM when the internal bus's operating
frequency is 133MHz.
A comparison of these DRAMs shows that their data bus transfer speeds vary greatly, even though they all have the same
internal bus operating frequency.
In DDR SDRAM and DDR2 SDRAM, data is transferred twice as fast as in SDR SDRAM since data is transferred in at both
rising and falling edges of the external clock signal. In addition, DDR2 SDRAM have twice the external clock operating
frequency of DDR SDRAM, so they transfer data four times as fast as SDR SDRAM.

Table 3-1 Operating Speeds of DDR2 SDRAM, DDR SDRAM, and SDR SDRAM
Parameter DDR2 SDRAM DDR SDRAM SDR SDRAM
Prefetch bit width 4bits 2bits 1bit
Internal bus's operating frequency 133MHz 133MHz 133MHz
External clock frequency 266MHz 133MHz 133MHz
Data bus's transfer speed 533MHz 266MHz 133MHz

Users Manual E0437E40 (Ver.4.0) 29


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

This chapter describes posted CAS and additive latency (AL).


Posted CAS and additive latency are new functions that has been added to DDR2 SDRAM, which enable commands to be
issued more efficiently and the effective memory area to be increased.
Posted CAS and additive latency reduce command bus conflicts to enable commands to be issued more efficiently.
Consequently, more effective use of the data bus increases effective memory area of DDR2 SDRAM.

4.1 Overview of Posted CAS

4.1.1 Problems with DDR SDRAM

When a read or write operation is performed with DDR SDRAM, first an RAS signal (for bank active command "ACT") is
input, then a CAS signal (for read command "READ" or write command "WRIT") is input before the read or write operation is
executed. At that time, a certain cycle interval (tRCD) is required between RAS signal input and CAS signal input. This is why
command conflicts can occur when multiple read and/or write operations are executed in a series.
Even when commands are issued efficiently so as to avoid such command conflicts, wasted empty space may occur in the data
bus. This reduces the efficiency of the command bus and data bus and prevents the maximum possible effective memory area
from being secured.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

One-clock delay to avoid


tRRD=2 conflict with write command

Normal operation ACT ACT ACT ACT

WRIT WRIT WRIT Empty space


occurs in data bus

Din Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout
tRCD=4

Figure 4-1 Problems with DDR SDRAM

Users Manual E0437E40 (Ver.4.0) 30


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

4.1.2 Improvements in DDR2 SDRAM

DDR2 SDRAM use the posted CAS function to enable input of the CAS signal (for read command "READ" or write command
"WRIT") either immediately after inputting the RAS signal (for bank active command "ACT") or at any time during the tRCD
period. The entered read or write command is posted within the device and becomes valid after the additive latency period.
Adoption of posted CAS operations enables commands to be issued more efficiently, which also improves the efficiency of the
command bus and data bus. Also, since this enables multiple read and/or writes operations to be executed consecutively, it
improves the effective memory area. It also avoids command conflicts, which facilitates control via the controller.

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14

One-clock delay to avoid


tRRD=2 conflict with read command

Normal operation ACT ACT ACT ACT

READ READ READ Empty space


occurs in data bus

Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout
tRCD=4 CL=4

tRRD=2
Posted CAS
operation ACT ACT ACT

Posted Posted Posted


READ READ READ
Valid after
Additive Latency period Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout Dout
AL=3
tRCD=4 CL=4
RL=7

RL (Read Latency)
AL (Additive Latency)
CL (/CAS Latency)
BL (Burst Length)
tRCD (Active to read or write command delay)
tRRD (Active one bank to active other bank command delay)

Figure 4-2 Overview of Posted CAS Operation (Read Operation)

Users Manual E0437E40 (Ver.4.0) 31


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

4.2 Read Operation

4.2.1 Read operation in DDR SDRAM

Read operation in DDR SDRAM includes the following steps.


(1) Bank active command "ACT" is input.
(2) Read command "READ" is input after the tRCD period has elapsed following input of the bank active command.
(3) Data output starts after the /CAS latency period CL has elapsed following input of the read command.

0 1 2 3 4 5

tRCD=3 CL=2

ACT READ Dout Dout

CL (/CAS Latency)
tRCD (Active to read or write command delay)

Figure 4-3 Read Operation in DDR SDRAM

When performing a series of read operations, the next bank active command can be input once the tRRD period has elapsed
following input of the first bank active command, but it cannot be input via the same timing as the read command.

4.2.2 Read operation in DDR2 SDRAM

Read operation in DDR2 SDRAM is basically the same as that of DDR SDRAM.
(1) Bank active command "ACT" is input.
(2) Read command "READ" is input during the clock cycle following input of the bank active command or at any point during
the tRCD period.
(3) The read command is posted within the device and becomes valid after the additive latency (AL) period has elapsed. Data
output starts after the /CAS latency period CL has elapsed, and after the read command became valid.

0 1 2 3 4 5 6 7 8 9 10

tRCD=4 CL=3

Posted READ
ACT Dout Dout Dout Dout
READ valid
AL=3
Read command is
posted within device

AL (Additive Latency)
CL (/CAS Latency)
tRCD (Active to read or write command delay)

Figure 4-4 Read Operation (AL = 3) in DDR2 SDRAM

Users Manual E0437E40 (Ver.4.0) 32


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

4.3 Write Operation

4.3.1 Write operation in DDR SDRAM

Write operation in DDR SDRAM includes the following steps.


(1) Bank active command "ACT" is input.
(2) Write command "WRIT" is input after the tRCD period has elapsed following input of the bank active command.
(3) Data input starts at the first rising edge of the data strobe signal following input of the write command.

0 1 2 3 4 5

tRCD=3

ACT WRIT Din Din

tRCD (Active to read or write command delay)

Figure 4-5 Write Operation in DDR SDRAM

When performing a series of read operations, the next bank active command can be input once the tRRD period has elapsed
following input of the first bank active command, but it cannot be input via the same timing as the write command.

4.3.2 Write operation in DDR2 SDRAM

Write operation in DDR2 SDRAM is basically the same as that of DDR SDRAM.
(1) Bank active command "ACT" is input.
(2) Write command "WRIT" is input during the clock cycle following input of the bank active command or at any point during
the tRCD period.
(3) The write command is posted within the device and becomes valid after the additive latency (AL) period has elapsed. Data
input starts at the rising edge of the first data strobe signal after the write command became valid.

0 1 2 3 4 5 6 7 8 9 10

tRCD=4

Posted WRIT
ACT Din Din Din Din
WRIT valid
AL=3
Write command is
posted within device

AL (Additive Latency)
tRCD (Active to read or write command delay)

Figure 4-6 Write Operation (AL = 3) in DDR2 SDRAM

Users Manual E0437E40 (Ver.4.0) 33


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

4.4 Setting of Additive Latency

The Additive Latency (AL) value is set via EMRS (1) (Extended Mode Registers Set (1)).
Three bits (A5 to A3) can be used to set any of five AL settings: AL = 0, AL = 1, AL = 2, AL = 3, or AL = 4.
Once the additive latency value is set, the setting is retained until another setting is entered or the power is turned off.

BA2 BA1 BA0 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0 Address

0 0 1 0 Qoff RDQS /DQS OCD program Rtt Additive latency Rtt D.I.C DLL Extended Mode Registers Set (1)

Additive latency
A5 A4 A3 Additive latency
0 0 0 0
0 0 1 1
0 1 0 2
0 1 1 3
1 0 0 4
1 0 1 Reserved
1 1 0 Reserved
1 1 1 Reserved

Figure 4-7 Additive Latency Setting via EMRS (1)

Users Manual E0437E40 (Ver.4.0) 34


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

4.5 Read Latency and Write Latency

4.5.1 Read latency

In DDR2 SDRAM, read latency (RL) is defined as the sum of the additive latency (AL) and the CAS latency (CL) (i.e., RL =
AL + CL).
When the additive latency value is 0 (AL = 0), the read latency is the same as in DDR SDRAM.

0 1 2 3 4 5 6 7 8 9 10

tRCD=4 RL=3 (CL=3)

RL=3 (AL=0, CL=3) ACT READ Dout Dout Dout Dout

RL=4
AL=1 CL=3

Posted READ
RL=4 (AL=1, CL=3) ACT Dout Dout Dout Dout
READ valid
RL=5
AL=2 CL=3

Posted READ
RL=5 (AL=2, CL=3) ACT Dout Dout Dout Dout
READ valid
RL=6
AL=3 CL=3

Posted READ
RL=6 (AL=3, CL=3) ACT Dout Dout Dout Dout
READ valid
RL=7
AL=4 CL=3

Posted READ
RL=7 (AL=4, CL=3) ACT Dout Dout Dout Dout
READ valid

RL (Read Latency)
AL (Additive Latency)
CL (/CAS Latency)
BL (Burst Length)
tRCD (Active to read or write command delay)
tRRD (Active one bank to active other bank command delay)

Figure 4-8 Read Latency in DDR2 SDRAM

Users Manual E0437E40 (Ver.4.0) 35


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
CHAPTER 4 POSTED CAS AND ADDITIVE LATENCY

4.5.2 Write latency

In DDR2 SDRAM, write latency (WL) is defined as one less than the read latency (RL) (i.e., WL = RL - 1). The minimum
write latency is one clock cycle longer than when WL = 1 in DDR SDRAM, which means WL = 2 (when AL = 0 and tRCD =
3).

0 1 2 3 4 5 6 7 8 9 10

tRCD=4 WL=2

WL=2 (AL=0, CL=3) ACT WRIT Din Din Din Din

WL=3
AL=1

Posted WRIT
WL=3 (AL=1, CL=3) ACT Din Din Din Din
WRIT valid
WL=4
AL=2

Posted WRIT
WL=4 (AL=2, CL=3) ACT Din Din Din Din
WRIT valid
WL=5
AL=3

Posted WRIT
WL=5 (AL=3, CL=3) ACT Din Din Din Din
WRIT valid
WL=6
AL=4

Posted WRIT
WL=6 (AL=4, CL=3) ACT Din Din Din Din
WRIT valid

WL (Write Latency)
AL (Additive Latency)
CL (/CAS Latency)
BL (Burst Length)
tRCD (Active to read or write command delay)
tRRD (Active one bank to active other bank command delay)

Figure 4-9 Write Latency in DDR2 SDRAM

Users Manual E0437E40 (Ver.4.0) 36


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
The information in this document is current as April 2007. The information is subject to change without notice.

NOTES FOR CMOS DEVICES

1 PRECAUTION AGAINST ESD FOR MOS DEVICES


Exposing the MOS devices to a strong electric field can cause destruction of the gate
oxide and ultimately degrade the MOS devices operation. Steps must be taken to stop
generation of static electricity as much as possible, and quickly dissipate it, when once
it has occurred. Environmental control must be adequate. When it is dry, humidifier
should be used. It is recommended to avoid using insulators that easily build static
electricity. MOS devices must be stored and transported in an anti-static container,
static shielding bag or conductive material. All test and measurement tools including
work bench and floor should be grounded. The operator should be grounded using
wrist strap. MOS devices must not be touched with bare hands. Similar precautions
need to be taken for PW boards with semiconductor MOS devices on it.

2 HANDLING OF UNUSED INPUT PINS FOR CMOS DEVICES


No connection for CMOS devices input pins can be a cause of malfunction. If no
connection is provided to the input pins, it is possible that an internal input level may be
generated due to noise, etc., hence causing malfunction. CMOS devices behave
differently than Bipolar or NMOS devices. Input levels of CMOS devices must be fixed
high or low by using a pull-up or pull-down circuitry. Each unused pin should be connected
to VDD or GND with a resistor, if it is considered to have a possibility of being an output
pin. The unused pins must be handled in accordance with the related specifications.

3 STATUS BEFORE INITIALIZATION OF MOS DEVICES


Power-on does not necessarily define initial status of MOS devices. Production process
of MOS does not define the initial operation status of the device. Immediately after the
power source is turned ON, the MOS devices with reset function have not yet been
initialized. Hence, power-on does not guarantee output pin levels, I/O settings or
contents of registers. MOS devices are not initialized until the reset signal is received.
Reset operation must be executed immediately after power-on for MOS devices having
reset function.

CME0107

Users Manual E0437E40 (Ver.4.0) 37


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.
The information in this document is subject to change without notice. Before using this document, confirm that this is the latest version.

No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of Elpida Memory, Inc.
Elpida Memory, Inc. does not assume any liability for infringement of any intellectual property rights
(including but not limited to patents, copyrights, and circuit layout licenses) of Elpida Memory, Inc. or
third parties by or arising from the use of the products or information listed in this document. No license,
express, implied or otherwise, is granted under any patents, copyrights or other intellectual property
rights of Elpida Memory, Inc. or others.
Descriptions of circuits, software and other related information in this document are provided for
illustrative purposes in semiconductor product operation and application examples. The incorporation of
these circuits, software and information in the design of the customer's equipment shall be done under
the full responsibility of the customer. Elpida Memory, Inc. assumes no responsibility for any losses
incurred by customers or third parties arising from the use of these circuits, software and information.
[Product applications]
Be aware that this product is for use in typical electronic equipment for general-purpose applications.
Elpida Memory, Inc. makes every attempt to ensure that its products are of high quality and reliability.
However, users are instructed to contact Elpida Memory's sales office before using the product in
aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment,
medical equipment for life support, or other such application in which especially high quality and
reliability is demanded or where its failure or malfunction may directly threaten human life or cause risk
of bodily injury.
[Product usage]
Design your application so that the product is used within the ranges and conditions guaranteed by
Elpida Memory, Inc., including the maximum ratings, operating supply voltage range, heat radiation
characteristics, installation conditions and other related characteristics. Elpida Memory, Inc. bears no
responsibility for failure or damage when the product is used beyond the guaranteed ranges and
conditions. Even within the guaranteed ranges and conditions, consider normally foreseeable failure
rates or failure modes in semiconductor devices and employ systemic measures such as fail-safes, so
that the equipment incorporating Elpida Memory, Inc. products does not cause bodily injury, fire or other
consequential damage due to the operation of the Elpida Memory, Inc. product.
[Usage environment]
Usage in environments with special characteristics as listed below was not considered in the design.
Accordingly, our company assumes no responsibility for loss of a customer or a third party when used in
environments with the special characteristics listed below.

Example:
1) Usage in liquids, including water, oils, chemicals and organic solvents.
2) Usage in exposure to direct sunlight or the outdoors, or in dusty places.
3) Usage involving exposure to significant amounts of corrosive gas, including sea air, CL 2 , H 2 S, NH 3 ,
SO 2 , and NO x .
4) Usage in environments with static electricity, or strong electromagnetic waves or radiation.
5) Usage in places where dew forms.
6) Usage in environments with mechanical vibration, impact, or stress.
7) Usage near heating elements, igniters, or flammable items.

If you export the products or technology described in this document that are controlled by the Foreign
Exchange and Foreign Trade Law of Japan, you must follow the necessary procedures in accordance
with the relevant laws and regulations of Japan. Also, if you export products/technology controlled by
U.S. export control regulations, or another country's export control laws or regulations, you must follow
the necessary procedures in accordance with such laws or regulations.
If these products/technology are sold, leased, or transferred to a third party, or a third party is granted
license to use these products, that third party must be made aware that they are responsible for
compliance with the relevant laws and regulations.
M01E0706

Users Manual E0437E40 (Ver.4.0) 38


Descriptions in this document are provided only for illustrative purpose in semiconductor product operation and application
examples. Use these information under the full responsibility of the customer. For details about the functions of individual products,
refer to the corresponding data sheet.

You might also like