Technical Note Using Micron Asynchronous PSRAM with the NXP LPC2292 and LPC2294 Microcontrollers

Similar documents
Technical Note Using CellularRAM Memory to Replace Single- and Dual-Chip Select SRAM

Technical Note Using CellularRAM to Replace UtRAM

PARAMETER SYMBOL MIN MAX Address Access Time

1.8V Core Async/Page PSRAM

Parallel NOR and PSRAM 56-Ball MCP Combination Memory

Technical Note NAND Flash Performance Increase with PROGRAM PAGE CACHE MODE Command

Parallel NOR and PSRAM 88-Ball MCP Combination Memory

8Mb Async/Page PSRAM

Low Power Pseudo SRAM

TABLE OF CONTENTS 1. GENERAL DESCRIPTION FEATURES ORDERING INFORMATION PIN CONFIGURATION...

Options. Data Rate (MT/s) CL = 3 CL = 2.5 CL = 2-40B PC PC PC

Migrating from Spansion Am29F to Micron M29F NOR Flash Memories

256Mb Async./Page,Syn./Burst CellularRAM 1. GENERAL DESCRIPTION

Technical Note Designing for High-Density DDR2 Memory

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

DDR SDRAM UDIMM MT8VDDT3264A 256MB MT8VDDT6464A 512MB For component data sheets, refer to Micron s Web site:

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

DDR SDRAM SODIMM MT16VDDF6464H 512MB MT16VDDF12864H 1GB

DDR SDRAM UDIMM. Draft 9/ 9/ MT18VDDT6472A 512MB 1 MT18VDDT12872A 1GB For component data sheets, refer to Micron s Web site:

NAND Flash and Mobile LPDRAM 168-Ball Package-on-Package (PoP) MCP Combination Memory (TI OMAP )

Mobile DRAM Power-Saving Features and Power Calculations

Mobile LPDDR (only) 152-Ball Package-on-Package (PoP) TI-OMAP MT46HxxxMxxLxCG MT46HxxxMxxLxKZ

Technical Note. Migrating from Micron M25P to Micron MT25Q 128Mb. Introduction. TN-25-34: Migrating from M25P to MT25Q 128Mb.

Technical Note. Migrating from Micron M25PE to Micron MT25Q 128Mb. Introduction. TN-25-36: Migrating from M25PE to MT25Q 128Mb.

1. The values of t RCD and t RP for -335 modules show 18ns to align with industry specifications; actual DDR SDRAM device specifications are 15ns.

Monitoring Ready/Busy Using the READ STATUS (70h) Command

Technical Note. Reset Configurations for MT25Q, MT25T, and N25Q Flash Memory Devices. Introduction

Product Brief LPDDR2-PCM and Mobile LPDDR2 121-Ball MCP

Technical Note. Migrating from Micron M29W Devices to MT28EW NOR Flash Devices. Introduction. TN-13-50: Migrating M29W to MT28EW NOR Flash Devices

2Mb Ultra-Low Power Asynchronous CMOS SRAM. Features. Power Supply (Vcc)

Technical Note. Migrating from Cypress's FL-S and FS-S to Micron's MT25Q. Introduction

cfeon Top Marking Example: cfeon Part Number: XXXX-XXX Lot Number: XXXXX Date Code: XXXXX

DDR2 SDRAM UDIMM MT16HTF25664AZ 2GB MT16HTF51264AZ 4GB For component data sheets, refer to Micron s Web site:

Power-Up, Power-Down, and Brownout Considerations on MT25Q, MT25T, and MT35X NOR Flash Memory

Read-While-Write, Multiplexed, Burst Mode, Flash Memory

Technical Note. Maximize SPI Flash Memory Design Flexibility With a Single Package. Introduction

Comparing Micron N25Q and Macronix MX25L Flash Devices

Technical Note. Migrating from S29GL-S Devices to MT28FW NOR Flash Devices. Introduction. TN-13-41: Migrating S29GL-S to MT28FW NOR Flash Devices

Conversion Guide (256-Mbit): Numonyx Embedded Flash Memory (J3 v. D, 130 nm) to Numonyx StrataFlash Embedded Memory (J3-65 nm)

MUX TABLE OF CONTENTS 1. GENERAL DESCRIPTION FEATURES ORDERING INFORMATION PIN CONFIGURATION...

Maximum Monolithic Density Density Number of Stacks N25Q512Axxx. 512Mb 2 256Mb N25Q00AAxxx 1Gb 4 MT25Qxs01Gxxx. 1Gb 2 512Mb MT25Qxs02Gxxx 2Gb 4

Conversion Guide: Numonyx StrataFlash Wireless Memory (L18) 130 nm to 65 nm

cfeon Top Marking Example: cfeon Part Number: XXXX-XXX Lot Number: XXXXX Date Code: XXXXX

Technical Note. Adding ECC to a Data Bus with DDR4 x16 Components. Introduction. TN-40-41: Adding ECC With DDR4 x16 Components.

Introduction to ARM LPC2148 Microcontroller

W956D6KBKX. 64Mb Async./Burst/Sync./A/D MUX

32Mb Async/Page/Burst CellularRAM 1.5

Memory Device Evolution

32Mb Async/Page/Burst CellularRAM 1.5

W957D6HB. 128Mb Async./Burst/Sync./A/D MUX

Computer Memory. Textbook: Chapter 1

Migrating from Macronix MX29GL-G/F and MX68GL-G Devices to MT28EW NOR Flash Devices

Design and Implementation of an AHB SRAM Memory Controller

AN Sleep programming for NXP bridge ICs. Document information

MT29F4G08AAA, MT29F8G08BAA, MT29F8G08DAA, MT29F16G08FAA, MT29F8G08MAA, MT29F16G08QAA,

PCMCIA Flash Memory Card

Enabled (both during preconditioning and measurement) 4KB for random writes, 2MB for sequential writes

Industrial Temperature, 3 Volt, MCP Products - Parallel NOR Flash + Pseudo Static RAM (psram)

DDR SDRAM RDIMM. MT18VDDF MB 1 MT18VDDF GB For component data sheets, refer to Micron s Web site:

Migrating from Spansion S25FL512S to Micron N25Q 512Mb Flash Device

DDR SDRAM RDIMM. MT9VDDT MB 1 MT9VDDT MB 2 MT9VDDT MB 2 For component data sheets, refer to Micron s Web site:

Memory Expansion. Lecture Embedded Systems

DDR SDRAM RDIMM MT18VDDF6472D 512MB 1 MT18VDDF12872D 1GB

DDR SDRAM RDIMM MT36VDDF GB MT36VDDF GB

DDR SDRAM VLP RDIMM MT18VDVF GB

DDR2 SDRAM UDIMM MT4HTF1664AY 128MB MT4HTF3264AY 256MB MT4HTF6464AY 512MB. Features. 128MB, 256MB, 512MB (x64, SR) 240-Pin DDR2 SDRAM UDIMM.

Technical Note. Comparing Micron N25Q and M25P Flash Devices. Introduction. TN-12-12: Comparing N25Q and M25P Flash Devices.

HT CMOS 2K 8-Bit SRAM

HM628128BI Series. 131,072-word 8-bit High speed CMOS Static RAM

NAND Flash Module DESCRIPTION: FEATURES: 69F64G16, 69F128G16, 69F256G16. DDC s 64, 128, and 256 Gb high density NAND flash features a x8 wide bus.

Technical Note. Improving Random Read Performance Using Micron's SNAP READ Operation. Introduction. TN-2993: SNAP READ Operation.

Intel Wireless Flash Memory (W18/W30 SCSP)

Excalibur Solutions Using the Expansion Bus Interface. Introduction. EBI Characteristics

3 Volt Intel StrataFlash Memory to i960 H CPU Design Guide

DDR SDRAM VLP RDIMM MT18VDVF12872D 1GB

ESMT M24L416256SA. 4-Mbit (256K x 16) Pseudo Static RAM. Features. Functional Description. Logic Block Diagram

256MB, 512MB, 1GB: (x64, SR) 200-Pin DDR2 SDRAM SODIMM Features. 200-pin SODIMM (MO-224 R/C B )

DDR SDRAM RDIMM MT18VDDF6472D 512MB 1 MT18VDDF12872D 1GB

DDR2 SDRAM UDIMM MT8HTF12864AZ 1GB

(UDIMM) MT9HTF3272A 256MB MT9HTF6472A 512MB MT9HTF12872A 1GB

DDR3 SDRAM SODIMM MT8JTF12864HY 1GB MT8JTF25664HY 2GB

AS8C803625A AS8C801825A

Data Rate (MT/s) CL = 3 CL = 2.5 CL = 2-40B PC PC

Chapter 2: Fundamentals of a microprocessor based system

DDR2 SDRAM UDIMM MT9HTF6472AZ 512MB MT9HTF12872AZ 1GB MT9HTF25672AZ 2GB. Features. 512MB, 1GB, 2GB (x72, SR) 240-Pin DDR2 SDRAM UDIMM.

MT51J256M32 16 Meg x 32 I/O x 16 banks, 32 Meg x 16 I/O x 16 banks. Options 1. Note:

Comparing Spansion S29AL008J with Macronix MX29LV800C

NAND Flash Module 69F64G16 69F128G16 69F256G16 FEATURES: Preliminary

DS1217M Nonvolatile Read/Write Cartridge

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

TwinDie 1.35V DDR3L SDRAM

2K x 16 Dual-Port Static RAM

NAND Flash Module DESCRIPTION: FEATURES: 69F96G24, 69F192G24

Numonyx StrataFlash Cellular Memory (M18)

Migration Guide for Numonyx StrataFlash Wireless Memory (L18/L30) to Numonyx StrataFlash Embedded Memory (P30)

Memory Systems for Embedded Applications. Chapter 4 (Sections )

Technical Note. Micron N25Q to Micron MT25Q Migration. Introduction. TN-25-01: Micron N25Q to Micron MT25Q Migration. Introduction

Am186ER/Am188ER AMD continues 16-bit innovation

Utilizing the Burst Mode Flash in a Motorola MPC555 System

512Kx32 Synchronous Pipeline Burst SRAM

Transcription:

TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 Introduction Technical Note Using Micron Asynchronous PSRAM with the NXP LPC2292 and LPC2294 Microcontrollers Introduction The NXP LPC2292 and LPC2294 microcontrollers include an external memory bus that can be used to interface with up to four independently configurable memory devices of 16MB each. This technical note describes the design requirements for a seamless memory connection between this family of NXP microcontrollers and a Micron asynchronous PSRAM device. Micron PSRAM Overview Micron PSRAM devices are high-speed, CMOS pseudo-sram memory devices developed for low-power, portable applications. These devices, which utilize a DRAM-based memory core, are designed to be backward compatible with the more costly 6-transistor asynchronous SRAM and can be used as an SRAM replacement in many applications. For seamless operation on an SRAM bus, PSRAM products incorporate a transparent self refresh mechanism. This hidden refresh requires no additional support from the system memory controller and has no significant impact on device READ/WRITE performance. Micron offers both asynchronous and burst PSRAM devices in densities ranging from 8Mb to 128Mb. The 48-ball 70ns asynchronous devices to which this technical note applies are available in 8Mb, 16Mb, 32Mb, or 64Mb densities. The 54-ball 128Mb burst device can also be configured for asynchronous mode operation, but details of that configuration are beyond the scope of this technical note. A future design revision of the 8Mb PSRAM device, slated for production in early 2008, will offer asynchronous READ and WRITE access times of 55ns with a VCC core voltage of 3.3V. For more information on Micron asynchronous and burst PSRAM devices, refer to the PSRAM parts catalog at www.micron.com/products/psram/partlist. NXP LPC2292/LPC2294 Microcontroller Overview The LPC2292 and LPC2294 microcontrollers are based on a 16/32-bit ARM7TDMI-S CPU with real-time emulation and embedded trace support, together with 256KB of embedded high-speed Flash memory. The system memory bus is 128 bits wide with 32- bit code execution and up to 60 MHz operation. These general-purpose controllers are particularly suitable for automotive and industrial control applications as well as medical systems and fault-tolerant maintenance buses. The LPC2292 has two controller area network (CAN) protocol controllers, and the LPC2294 has four. The CAN protocol is a serial communications protocol with a high level of security. Throughout the rest of this document, LPC2292 will refer to both the tn4529_nxp.fm - Rev. A 6/07 EN 1 2007 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.

TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 Memory Interface Description Memory Interface Description LPC2292 and the LPC2294 microcontrollers. More information on the NXP LPC2292/LPC2294 family of microcontrollers is available at www.nxp.com/pip/lpc2292_2294_5.html. The external memory controller on the LPC2292 microcontroller is a module that provides an interface between the system bus and external memory devices. It provides support for up to four independently configurable memory banks. Each memory bank is capable of supporting up to 16MB of SRAM, ROM, burst ROM, or NOR Flash memory devices. The external memory data bus can be 8, 16, or 32 bits wide. Figure 1: External Memory Interface LPC2292/LPC2294 ARM7TDMI-S AMBA AHB Advanced High-Performance Bus External Memory Controller CS[3:0] [A[23:0] BLS[3:0] OE WE D[31:0] PSRAM in Place of SRAM The NXP LPC2292 external memory controller includes four chip selects that can be configured to control up to 16MB (128Mb) of asynchronous memory per chip select. For applications that require SRAM as part of this memory configuration, the Micron 48-ball asynchronous PSRAM device is an effective alternative. Any of the four chip selects can be used to access the PSRAM device unless the system includes an external boot flash that must be connected to CS[0]#. The ZZ# pin of the PSRAM device can be tied HIGH and the device can be left in the default non-page-mode configuration. All other PSRAM signals are connected to the external memory controller precisely as asynchronous SRAM would be connected. Table 1 on page 3 shows all of the signals on the LPC2292 external memory interface and the corresponding 64Mb asynchronous PSRAM signals. Connections for the 8Mb, 16Mb, and 32Mb PSRAM devices are identical except that the higher-order addresses are no connects. tn4529_nxp.fm - Rev. A 6/07 EN 2 2007 Micron Technology, Inc. All rights reserved.

TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 Deep Power Down Table 1: NXP LPC2292 to PSRAM Pin Assignments LPC2292 Signal Name PSRAM Signal Name Description D[15:0] Data [15:0] Data A[22:1] A[21:0] Address BLS[1]# UB# Upper byte enable BLS[0]# LB# Lower byte enable CS[x]# CS# Chip select OE# OE# Output enable WE# WE# Write enable GPIO[x] ZZ# Sleep enable, configuration register access Figure 2 shows the connections required between the NXP LPC2292 and a 64Mb asynchronous PSRAM device. Figure 2: NXP LPC2292 to Micron PSRAM Interface VDD(1V8) ADDR[22:1] A[21:0] VDD(3V3) Core Power NXP LPC2292 I/O Power D[15:0] BLS[1] BLS[0] WE OE CS[x] GPIO[x] (ZZ# control option) DQ[15:0] UB# LB# WE# OE# CE# ZZ# Micron Asynchronous PSRAM VCC VCCQ VSS/VSSQ 1.8V or 3.3V VDD(3V3) ZZ# pull-up option VDD(3V3) Deep Power Down Configuration Register Access For designs requiring very low standby current, the system designer will need to include control for the PSRAM ZZ# pin via one of the general purpose I/Os available on the LPC2292. This will enable the PSRAM to enter deep power-down (DPD) mode. The ZZ# pin is also used to access the configuration register on the PSRAM device. The configuration register defines how the PSRAM device performs its transparent self refresh. Altering the refresh parameters can dramatically reduce current consumption in standby mode. The configuration register can also be accessed using a software sequence in cases where the ZZ# pin is not accessible. Further details on accessing the configuration register are contained in the Micron PSRAM data sheets. tn4529_nxp.fm - Rev. A 6/07 EN 3 2007 Micron Technology, Inc. All rights reserved.

Power Supply Considerations TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 Configuration Register Access The NXP LPC2292 microcontroller includes two sets of power supply inputs: VDD(1V8) and VDD(3V3). VDD(1V8) is used to supply internal power to the microcontroller, and VDD(3V3) is used to supply the I/O voltage levels of all external components. The PSRAM device requires a 1.8V VCC core power supply and up to 3.6V supplied to the I/Os through VCCQ. When VDD(3V3) is tied to VCCQ, the processor will match the I/O levels on the PSRAM device. LPC2292 Timing Configuration Registers The VLSI peripheral bus (VPB) divider timing register (VPBDIV[1:0]) on the LPC2292 determines the relationship between the processor clock (CCLK) and the clock used by the external memory controller (XCLK). The maximum processor clock rate is 60 MHz; in order to run the external memory at this frequency, this register must be set to 01b. The external memory controller contains four sets of 32-bit registers that control each bank of external memory. These registers must all be set appropriately in order to match the PSRAM 70ns asynchronous timing requirements, which are available in the Micron asynchronous PSRAM data sheets (see Micron PSRAM Overview on page 1). Table 2 shows the register setting that would be used for a system with an external memory clock (XCLK) running at the maximum system clock frequency of 60 MHz. Table 2: NXP LPC2292 Register Settings LPC2292 Register Name Description Setting BCFG0[3:0] IDCY Number of idle CCLK cycles (+1) between READ and WRITE 0001 BCFG0[4] Reserved NA NA BCFG0[9:5] WST1 READ access; number of CCLK cycles + 1 00100 BCFG0[10] RBLE Byte Lines Select (BLS[3:0]) enable during READs 1 BCFG0[15:11] WST2 WRITE access, number of CCLK cycles + 1 00100 BCFG0[16:23] Reserved N/A NA BCFG0[24] BUSERR Not used 0 BCFG0[25] WPERR Write protect error 0 BCFG0[26] WP Write protect 0 BCFG0[27] BM Burst-ROM 0 BCFG0[29:28] MW Data width; 01 = 16 bit 01 BCFG0[31:30] AT Not used 00 tn4529_nxp.fm - Rev. A 6/07 EN 4 2007 Micron Technology, Inc. All rights reserved.

LPC2292 and PSRAM Timing Diagrams TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 LPC2292 and PSRAM Timing Diagrams The following timing diagrams compare asynchronous READ and WRITE operations for the LPC2292 microcontroller with the register setting shown in Table 2 on page 4 and for any Micron asynchronous PSRAM devices. The READ register WST1 and WRITE register WST2 are both set to 4 (00100b) in these examples, which corresponds to an access time ( t AA and t CW) of 70ns when the system clock is running at 60 MHz. Figure 3: LPC2292 READ 5 wait states (WST1 = 4) XCLK CS OE WE/BLS Address Valid address Data Change Valid data Figure 4: PSRAM READ (WE# = VIH) t RC ADDRESS CE# Valid address t AA LB#/UB# OE# DATA-OUT High-Z Valid data High-Z Don t Care Undefined tn4529_nxp.fm - Rev. A 6/07 EN 5 2007 Micron Technology, Inc. All rights reserved.

TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 LPC2292 and PSRAM Timing Diagrams Figure 5: LPC2292 WRITE 5 wait states (WST2 = 4) XCLK CS OE WE/BLS Address Valid address Data Change Valid data Figure 6: PSRAM WRITE ADDRESS CE# t WC Valid address t AW t CW t WR LB#/UB# t AS t WP WE# OE# t DW t DH DATA-IN Valid data DATA-OUT High-Z Don t Care tn4529_nxp.fm - Rev. A 6/07 EN 6 2007 Micron Technology, Inc. All rights reserved.

PSRAM Package Information TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 PSRAM Package Information All Micron asynchronous PSRAM devices are available in a 48-ball VFBGA green package. The ball assignments for this package are shown in Figure 7. Figure 7: 48-Ball VFBGA Ball Assignment 1 2 3 4 5 6 A LB# OE# A0 A1 A2 ZZ# B DQ8 UB# A3 A4 CE# DQ0 C DQ9 DQ10 A5 A6 DQ1 DQ2 D VSSQ DQ11 A17 A7 DQ3 VCC E VCCQ DQ12 A21 A16 DQ4 VSS F DQ14 DQ13 A14 A15 DQ5 DQ6 G DQ15 A19 A12 A13 WE# DQ7 H A18 A8 A9 A10 A11 A20 Top View (Ball Down) Summary Micron PSRAM devices offer the benefits of lower cost and seamless integration in place of the more traditional 6-transistor SRAM devices. This technical note has discussed how to interface any Micron asynchronous PSRAM device with the NXP LPC2292 microcontroller. Specific details regarding timings and register settings are available in the PSRAM data sheet and the LPC2292 data sheet and user's manual (see References on page 8). For any question concerning this information, contact the Micron PSRAM Applications Team at psramsupport@micron.com. tn4529_nxp.fm - Rev. A 6/07 EN 7 2007 Micron Technology, Inc. All rights reserved.

TN-45-29: Using Micron Async PSRAM with NXP LPC2292/2294 References References NXP LPC2292/LPC2294 data sheet: www.nxp.com/pip/lpc2292_2294_5.html NXP LPC2292/LPC2294 user manual: Contact your local NXP Semiconductor sales office. Micron 16Mb asynchronous PSRAM MT45W1MW16PDGA data sheet: www.micron.com/products/psram/partlist 8000 S. Federal Way, P.O. Box 6, Boise, ID 83707-0006, Tel: 208-368-3900 prodmktg@micron.com www.micron.com Customer Comment Line: 800-932-4992 Micron, the M logo, and the Micron logo are trademarks of Micron Technology, Inc. All other trademarks are the property of their respective owners. tn4529_nxp.fm - Rev. A 6/07 EN 8 2007 Micron Technology, Inc. All rights reserved.