Technical Note. Initialization Sequence for DDR SDRAM. Introduction. Initializing DDR SDRAM



Similar documents
Technical Note DDR2 Offers New Features and Functionality

Mobile SDRAM. MT48H16M16LF 4 Meg x 16 x 4 banks MT48H8M32LF 2 Meg x 32 x 4 banks

Table 1: Address Table

1.55V DDR2 SDRAM FBDIMM

Features. DDR3 Unbuffered DIMM Spec Sheet

Technical Note DDR3 ZQ Calibration

V58C2512(804/404/164)SB HIGH PERFORMANCE 512 Mbit DDR SDRAM 4 BANKS X 16Mbit X 8 (804) 4 BANKS X 32Mbit X 4 (404) 4 BANKS X 8Mbit X 16 (164)

Features. DDR SODIMM Product Datasheet. Rev. 1.0 Oct. 2011

Note: Data Rate (MT/s) CL = 3 CL = 4 CL = 5 CL = 6. t RCD (ns) t RP (ns) t RC (ns) t RFC (ns)

DDR2 SDRAM SODIMM MT4HTF6464HZ 512MB. Features. 512MB (x64, SR) 200-Pin DDR2 SODIMM. Features. Figure 1: 200-Pin SODIMM (MO-224 R/C C)

GR2DR4B-EXXX/YYY/LP 1GB & 2GB DDR2 REGISTERED DIMMs (LOW PROFILE)

DDR2 SDRAM SODIMM MT8HTF6464HDZ 512MB MT8HTF12864HDZ 1GB. Features. 512MB, 1GB (x64, DR) 200-Pin DDR2 SODIMM. Features

DDR2 SDRAM UDIMM MT18HTF6472AY 512MB MT18HTF12872AY 1GB MT18HTF25672AY 2GB MT18HTF51272AY 4GB. Features

Table 1 SDR to DDR Quick Reference

DDR2 SDRAM UDIMM MT16HTF6464AY 512MB MT16HTF12864AY 1GB MT16HTF25664AY 2GB MT16HTF51264AY 4GB. Features

DDR2 SDRAM Unbuffered DIMM MT9HTF3272A 256MB MT9HTF6472A 512MB MT9HTF12872A 1GB

DDR2 SDRAM SODIMM MT16HTF12864HZ 1GB MT16HTF25664HZ 2GB MT16HTF51264HZ 4GB. Features. 1GB, 2GB, 4GB (x64, DR) 200-Pin DDR2 SDRAM SODIMM.

DDR2 SDRAM SODIMM MT8HTF3264HD 256MB MT8HTF6464HD 512MB MT8HTF12864HD 1GB For component data sheets, refer to Micron s Web site:

User s Manual HOW TO USE DDR SDRAM

are un-buffered 200-Pin Double Data Rate (DDR) Synchronous DRAM Small Outline Dual In-Line Memory Module (SO-DIMM). All devices

DDR2 SDRAM SODIMM MT16HTF12864H 1GB MT16HTF25664H 2GB

DDR3 SDRAM UDIMM MT8JTF12864A 1GB MT8JTF25664A 2GB

DDR2 SDRAM SODIMM MT8HTF12864HZ 1GB MT8HTF25664HZ 2GB. Features. 1GB, 2GB (x64, SR) 200-Pin DDR2 SDRAM SODIMM. Features

ADQYF1A08. DDR2-1066G(CL6) 240-Pin O.C. U-DIMM 1GB (128M x 64-bits)

DDR SDRAM UDIMM MT16VDDT6464A 512MB MT16VDDT12864A 1GB MT16VDDT25664A 2GB

DDR SDRAM SODIMM. MT9VDDT1672H 128MB 1 MT9VDDT3272H 256MB MT9VDDT6472H 512MB For component data sheets, refer to Micron s Web site:

DDR2 Specific SDRAM Functions

Features. DDR3 SODIMM Product Specification. Rev. 1.7 Feb. 2016

DDR SDRAM SODIMM. MT8VDDT3264H 256MB 1 MT8VDDT6464H 512MB For component data sheets, refer to Micron s Web site:

PT973216BG. 32M x 4BANKS x 16BITS DDRII. Table of Content-

DDR SDRAM SODIMM MT16VDDF6464H 512MB MT16VDDF12864H 1GB

DDR3 SDRAM SODIMM MT16JSF25664HZ 2GB MT16JSF51264HZ 4GB. Features. 2GB, 4GB (x64, DR) 204-Pin Halogen-Free DDR3 SODIMM. Features

Memory Module Specifications KVR667D2D4F5/4G. 4GB 512M x 72-Bit PC CL5 ECC 240-Pin FBDIMM DESCRIPTION SPECIFICATIONS

DDR3 SDRAM SODIMM MT8JSF12864HZ 1GB MT8JSF25664HZ 2GB. Features. 1GB, 2GB (x64, SR) 204-Pin Halogen-Free DDR3 SDRAM SO- DIMM.

DDR3 SDRAM UDIMM MT16JTF25664AZ 2GB MT16JTF51264AZ 4GB MT16JTF1G64AZ 8GB. Features. 2GB, 4GB, 8GB (x64, DR) 240-Pin DDR3 UDIMM.

JEDEC STANDARD. Double Data Rate (DDR) SDRAM Specification JESD79C. (Revision of JESD79B) JEDEC SOLID STATE TECHNOLOGY ASSOCIATION MARCH 2003

DDR2 SDRAM FBDIMM MT36HTF25672F 2GB MT36HTF51272F 4GB. Features. 2GB, 4GB (x72, DR) 240-Pin DDR2 SDRAM FBDIMM. Features

DDR3(L) 4GB / 8GB UDIMM

JEDEC STANDARD DDR2 SDRAM SPECIFICATION JESD79-2B. (Revision of JESD79-2A) JEDEC SOLID STATE TECHNOLOGY ASSOCIATION. January 2005

DDR2 SDRAM FBDIMM MT18HTF12872FD 1GB MT18HTF25672FD 2GB. Features. 1GB, 2GB (x72, DR) 240-Pin DDR2 SDRAM FBDIMM. Features

DDR SDRAM UNBUFFERED DIMM

DDR3 SDRAM SODIMM MT8JSF25664HDZ 2GB. Features. 2GB (x64, DR) 204-Pin DDR3 SODIMM. Features. Figure 1: 204-Pin SODIMM (MO-268 R/C A)

DDR2 SDRAM FBDIMM MT9HTF6472F 512MB MT9HTF12872F 1GB. Features. 512MB, 1GB (x72, SR) 240-Pin DDR2 SDRAM FBDIMM. Features

DDR2 Device Operations & Timing Diagram DDR2 SDRAM. Device Operations & Timing Diagram

NAND Flash Status Register Response in Cache Programming Operations

DOUBLE DATA RATE (DDR) SDRAM

Technical Note. SFDP for MT25Q Family. Introduction. TN-25-06: Serial Flash Discovery Parameters for MT25Q Family. Introduction

DDR SDRAM UNBUFFERED DIMM

Technical Note FBDIMM Channel Utilization (Bandwidth and Power)

DDR SDRAM Small-Outline DIMM MT16VDDF6464H 512MB MT16VDDF12864H 1GB

Memory unit. 2 k words. n bits per word

Address Summary Table: 128MB 256MB 512MB 1GB 2GB Module

DDR SDRAM RDIMM MT36VDDF GB MT36VDDF GB

Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview

LatticeECP3 High-Speed I/O Interface

DDR subsystem: Enhancing System Reliability and Yield

D1 D2 D3 D4 D5 D6 D7. Benefits: Stable system operation No trace length matching Low PCB cost

Bandwidth Calculations for SA-1100 Processor LCD Displays

DQ0 DQ1 DQ2 DQ3 DQ4 DQ5 DQ6 DQ7 WE# RAS# A0 A1 A2 A3

RealSSD Embedded USB Mass Storage Drive MTFDCAE001SAF, MTFDCAE002SAF, MTFDCAE004SAF, MTFDCAE008SAF

Standard: 64M x 8 (9 components)

MAX II ISP Update with I/O Control & Register Data Retention

IS42/45R86400D/16320D/32160D IS42/45S86400D/16320D/32160D

DDR2 SDRAM SODIMM MT4HTF1664H 128MB MT4HTF3264H 256MB MT4HTF6464H 512MB

White Paper Utilizing Leveling Techniques in DDR3 SDRAM Memory Interfaces

1. Memory technology & Hierarchy

Technical Note. DDR3 Point-to-Point Design Support. Introduction. TN-41-13: DDR3 Point-to-Point Design Support. Introduction

Computer Architecture

DDR3 DIMM Slot Interposer

SOLVING HIGH-SPEED MEMORY INTERFACE CHALLENGES WITH LOW-COST FPGAS

Memory Module Specifications KVR667D2D8F5/2GI. 2GB 256M x 72-Bit PC CL5 ECC 240-Pin FBDIMM DESCRIPTION SPECIFICATIONS

Tuning DDR4 for Power and Performance. Mike Micheletti Product Manager Teledyne LeCroy

Hardware and Layout Design Considerations for DDR4 SDRAM Memory Interfaces

A New Chapter for System Designs Using NAND Flash Memory

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

ZL30136 GbE and Telecom Rate Network Interface Synchronizer

Automotive DDR SDRAM MT46V32M8 8 Meg x 8 x 4 banks MT46V16M16 4 Meg x 16 x 4 banks

Tuning DDR4 for Power and Performance. Mike Micheletti Product Manager Teledyne LeCroy

ADATA Technology Corp. DDR3-1600(CL11) 240-Pin VLP ECC U-DIMM 4GB (512M x 72-bit)

DDR2 Unbuffered SDRAM MODULE

8-ch RAID0 Design by using SATA Host IP Manual Rev1.0 9-Jun-15

Intel 965 Express Chipset Family Memory Technology and Configuration Guide

DDR3 memory technology

CHAPTER 11: Flip Flops

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

1M x 32 Bit x 4 Banks Synchronous DRAM

Jerry Chu 2010/07/07 Vincent Chang 2010/07/07

Highlights of the High- Bandwidth Memory (HBM) Standard

DDR2 SDRAM. MT47H256M4 32 Meg x 4 x 8 banks MT47H128M8 16 Meg x 8 x 8 banks MT47H64M16 8 Meg x 16 x 8 banks. Features

Parity 3. Data Rate (MT/s) CL = 6 CL = 5 CL = 4 CL = 3-80E PC

Technical Note Design Guide for Two DDR UDIMM Systems

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

512MB DDR SDRAM SoDIMM

Double Data Rate (DDR) SDRAM MT46V128M4 32 Meg x 4 x 4 banks MT46V64M8 16 Meg x 8 x 4 banks MT46V32M16 8 Meg x 16 x 4 banks

Transcription:

TN-46-8: Initialization Sequence for DDR SDRAM Introduction Technical Note Initialization Sequence for DDR SDRAM Introduction The double data rate DDR synchronous dynamic random access memory SDRAM device is a volatile and complex memory device. When power is removed from the device, all contents and operating configurations are assumed to be lost. Each time the memory is powered up, a predefined sequence of steps is required to initialize the internal state machines in the device and to configure various user-defined operating parameters. This technical note describes the flow for the initialization sequence and the configurable device parameters. Initializing DDR SDRAM To ensure proper device functionality, a predefined sequence of 2 steps must be completed in conjunction with device power-up or a power-on reset:. Supply device power. The device core power V DD and device I/O power V DDQ must be brought up simultaneously to prevent device latch-up. At all times, V DDQ must be V INDCmax. Although not required, both V DD and V DDQ are typically from the same power source. 2. Apply the reference voltage V REF then the termination voltage V TT. The reference voltage can ramp any time after V DDQ and should always be equal to V DDQ /2. During ramp, it is critical that the voltage at the device I/O pin does not exceed that of V DDQ. Termination resistors may provide an IR drop between the actual V TT levels and input voltage at the DRAM input. 3. Assert and hold clock enable CKE to an LVCMOS logic LOW. During the initial power ramp, the CKE input does not recognize SSTL_2 logic levels. A logic LOW on CKE prevents the DRAM from receiving unwanted commands and keeps the DRAM from driving the I/O pins. 4. Provide a stable clock. After the system has established reliable device power and CKE has been driven LOW, a stable clock is provided. 5. Wait for 2µs of valid clocks. At least 2µs of valid clocks are required before CKE goes HIGH and any command is sent to the DRAM. 6. Initialize DRAM internal logic. To initialize DRAM internal logic, bring CKE to an SSTL_2 logic HIGH and assert either a NO OPERATION NOP or DESELECT on the command bus. At this point, the CKE input transitions from an LVCMOS input to an SSTL_2 input only and thereafter remains an SSTL_2 input. 7. Assert a PRECHARGE ALL command. 8. Provide NOP or DESELECT commands for at least t RP. PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 24 Micron Technology, Inc. All rights reserved. Products and specifications discussed herein are for evaluation and reference purposes only and are subject to change by Micron without notice. Products are only warranted by Micron to meet Micron s production data sheet specifications. All information discussed herein is provided on an as is basis, without warranties of any kind. Products and specifications discussed herein are subject to change by Micron without notice.

TN-46-8: Initialization Sequence for DDR SDRAM Initializing DDR SDRAM 9. Program the extended mode register. The LOAD MODE REGISTER LMR command is used to program the extended mode register. At this point, the delay-locked loop DLL and the I/O drive strength must be configured. To enable the DLL, set E = ; for standard I/O drive, set E = ; for reduced drive levels, set E =. All other bits must be set to.. Provide NOP or DESELECT commands for at least t MRD.. Program the mode register for the desired operating modes. The LMR command is used to program the mode register operating modes. All mode register bits other than M[7:] must be set to. This step also performs a DLL reset. Anytime a DLL reset occurs, 2 clock cycles must occur before any READ command can be issued. 2. Provide NOP or DESELECT commands for at least t MRD. 3. Issue a PRECHARGE ALL command with A set to a logic HIGH. 4. Provide NOP or DESELECT commands for at least t RP. 5. Issue an AUTO REFRESH command. As part of the initialization sequence, two AUTO REFRESH commands must be issued. The standard flow is to issue one at Step 5 and one at Step 7. Alternately, these may occur any time after Step. 6. Provide NOP or DESELECT commands for at least t RFC. 7. Issue the second AUTO REFRESH command. 8. Provide NOP or DESELECT commands for at least t RFC. 9. Issue an LMR command to clear the DLL bit. Although not required for Micron devices, JEDEC requires an LMR command to clear the DLL bit set M8 =. If an LMR command is issued, the same operating parameters should be set, as configured in Step. 2. Provide NOP or DESELECT commands for at least t MRD. The DRAM is now properly initialized and is ready for any valid command. NOTE: 2 clock cycles are required between the DLL reset in Step and any READ command. NOTE: There is no RESET pin on any DDR components. The only way to reset a DDR SDRAM is to cycle power, then perform the initialization sequence. PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 2 24 Micron Technology, Inc. All rights reserved.

TN-46-8: Initialization Sequence for DDR SDRAM Initializing DDR SDRAM Figure : Initialization Flow Diagram Step V DD and V DDQ Ramp 2 3 4 5 6 Apply V REF and V TT CKE must be LVCMOS LOW Apply stable CLOCKs Wait at least 2µs Bring CKE HIGH with a NOP command CKE changes to an SSTL_2 input 7 PRECHARGE ALL 8 Assert NOP or DESELECT for t RP time 9 Configure extended mode register Assert NOP or DESELECT for t MRD time Configure load mode register and reset DLL 2 Assert NOP or DESELECT for t MRD time 3 PRECHARGE ALL 4 Assert NOP or DESELECT for t RP time 5 Issue AUTO REFRESH command 6 Assert NOP or DESELECT commands for t RFC 7 Issue AUTO REFRESH command 8 Assert NOP or DESELECT for t RFC time 9 Optional LMR command to clear DLL bit 2 Assert NOP or DESELECT for t MRD time DRAM is ready for any valid command PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 3 24 Micron Technology, Inc. All rights reserved.

Configuration of Operating Parameters TN-46-8: Initialization Sequence for DDR SDRAM Configuration of Operating Parameters As part of the initialization sequence, the device operating parameters must be set. For standard DDR SDRAM this includes two internal registers, the mode register MR, and the extended mode register EMR. The LMR command is used to program the mode registers. The LMR command is issued in conjunction with the DRAM bank addresses BA[:] and selects either the MR or the EMR. The DRAM row addresses A[3:] provide the op-code to be written. The least significant row address corresponds to the least significant bit within the mode registers. Mode Register The mode register MR has seven configurable bits that can be dynamically updated to reflect changing system requirements. They include M[2:], which are used to set the burst length; M3, which is used to set the burst type; M[6:4], which define the CAS latency; and M8, which is used to perform a DLL reset. All other bits are reserved for future use and must be set to. To address the mode register, set BA = and BA =. Figure 2: Mode Register BA BA A3 A2 A A A9 A8 A7 A6 A5 A4 A3 A2 A A Address Bus 5 4 3 2 9 8 7 6 5 4 3 2 Operating Mode CAS Latency BT Burst Length Mode Register Mx M6 M5 M4 M3 Burst Type Sequential Interleaved CAS Latency 2 3 DDR4 only 2.5 M2 M M Burst Length 2 4 8 M3 M2 M M M9 M8 M7 M[6:] Operating Mode Valid Valid Normal Operation Normal Operation/Reset DLL All other states reserved Notes:. Set BA = and BA = to access the mode register. 2. A3 is only used on the Gb device. 3. A2 is only used on 256Mb and larger devices. PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 4 24 Micron Technology, Inc. All rights reserved.

Extended Mode Register TN-46-8: Initialization Sequence for DDR SDRAM Extended Mode Register The extended mode register EMR has two configurable bits that usually are not changed after the device has been initialized. Bit E is used to enable the device DLL and bit E2 defines the output drive strength. All other bits are reserved for future use and must be set to. To point to the EMR, set BA = and BA =. Figure 3: Extended Mode Register BA BA A3 A2 A A A9 A8 A7 A6 A5 A4 A3 A2 A A Address Bus 5 4 3 2 9 8 7 6 5 4 3 2 Operating Mode DS DLL Extended Mode Register Ex E DLL Enable Disable E Drive Strength Normal Reduced E3 E2 E E E9 E8 E7 E6 E5 E4 E3 E2 E[:] Valid Operating Mode Notes:. Set BA = and BA = to access the EMR. 2. A3 is only used on the Gb device. 3. A2 is only used on 256Mb and larger devices. 4. Reduced drive strength is available on x6 devices only. PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 5 24 Micron Technology, Inc. All rights reserved.

TN-46-8: Initialization Sequence for DDR SDRAM Summary Figure 4: Initialization Waveform Sequence V DD V DDQ t VTD V TT V REF CK# CK T T Ta Tb Tc Td Te Tf t CH t CL CKE LVCMOS LOW LEVEL COMMAND NOP PRE LMR LMR PRE AR AR ACT 5 t CK DM Addresses RA A ALL BANKS ALL BANKS RA Bank Address BA, BA BA = H, BA = L BA = L, BA = L BA DQS High-Z DQ High-Z T = 2µs Power-up: V DD and CK stable t RP Load Extended Mode Register t MRD t MRD t RP t RFC t RFC 5 Load Mode Register 2 cycles of CK with CKE HIGH are required before any READ command DON T CARE Summary The proper DRAM initialization sequence must be followed whenever the device is first powered up or anytime there is an interruption in device power. Failure to follow documented steps will jeopardize device functionality. The steps in this technical note provide a general flow for proper initialization; for exact device timing or device voltage levels, refer to the DDR component data sheets. For the latest data sheets, refer to Micron s Web site at www.micron.com/products. 8 S. Federal Way, P.O. Box 6, Boise, ID 8377-6, Tel: 28-368-39 www.micron.com/productsupport Customer Comment Line: 8-932-4992 Micron and the Micron logo are trademarks of Micron Technology, Inc. All other trademarks are the property of their respective owners. This data sheet contains minimum and maximum limits specified over the power supply and temperature range set forth herein. Although considered final, these specifications are subject to change, as further product development and data characterization sometimes occur. PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 6 24 Micron Technology, Inc. All rights reserved.

TN-46-8: Initialization Sequence for DDR SDRAM Revision History Revision History Rev. C............................................................................................... 8/ Initializing DDR SDRAM: Updated description. Figure : Initialization Flow Diagram: Updated figure. Updated template and formats. Minor grammatical corrections. Rev. B.............................................................................................. /5 Updated template. Corrected step 9. Rev. A............................................................................................... /4 Initial release. PDF: 95aef8ff2dde/Source: 95aef8eaf953 TN46_8.fm - Rev. C 8/ EN 7 24 Micron Technology, Inc. All rights reserved.