Analog Devices ADSP-21535 E-KIT LITE Using the Sdram Interface, Register Value Function

Page 29

3.4Using the SDRAM Interface

In order to use the 4M x 32 bits (16 MB) of SDRAM memory, the three SDRAM control registers must be initialized. The following table shows the standard configuration for these registers when using the EZ-KIT Lite in the default configuration. These numbers were derived using the M48LC4M16ATG-75 with a system clock frequency of 120 MHz.

Table 3-2: SDRAM Default Settings

Register

Value

Function

EBIU_SDRRC

0x0000074A

RDIV = 1866 clock cycles

EBIU_SDBCTL

0x00000001

Bank 0 enabled

 

 

Bank 0 size = 16 MB

 

 

Bank 0 column address width = 8 bits

EBIU_SDGCTL

0x0091998F

32 bit data path

 

 

External buffering timing disabled

 

 

tWR = 2 SCLK cycles

 

 

tRCD = 3 SCLK cycles

 

 

tRP = 3 SCLK cycles

 

 

tRAS = 6 SCLK cycles

 

 

pre-fetch disabled

 

 

CAS latency = 3 SCLK cycles

 

 

SCLK1 disabled

If you are in an EZ-KIT Lite session (that is, not using an emulator), the SDRAM registers are configured automatically through the debugger. The debugger uses the values in Table 3-2whenever bank 0 is accessed through the debugger (such as viewing memory windows or loading a program). Clearing the appropriate checkbox on the Target Options dialog box, which is accessible through the Settings pull-down menu, disables this feature and allows manual configuration.

An example program is included in the EZ-KIT installation directory, which demonstrates how to setup the SDRAM interface.

3.5Using Flash Memory

The DSM2150 Flash/PLD chip provides a total of 272K x 16 bits of external flash memory, arranged into two independent flash arrays (boot and main). The chip also has a series of configuration registers to control I/O and PLD. This chip is initially configured with the memory sectors mapped to the DSP as shown below in Figure 3-1.

ADSP-21535 EZ-KIT Lite Evaluation System Manual

3-3

 

Image 29
Contents ADSP-21535 EZ-KIT LITE Limited Warranty Regulatory Compliance Table of Contents Index List of Figures List of TablesAnalog Devices ADSP-21535 DSP IntroductionFor More Information About Analog Devices Products SdramIntended Audience For Technical or Customer SupportPurpose of This Manual Online Help Manual ContentsADSP-21535 Sharc DSP Document Name DescriptionOverview Contents of your EZ-KIT Lite PackageGetting Started Installation Tasks PC ConfigurationInstalling the EZ-KIT Lite Debug Software Installing the VisualDSP++ SoftwareInstalling the VisualDSP++ License EZ-KIT Lite Hardware Setup Setting Up the EZ-KIT Lite HardwareWindows 98 USB Driver Installation Installing the EZ-KIT Lite USB DriverSearch for the driver Driver is located Open the .sys File Finish the Software Installation 10 Found New Hardware Wizard Windows 2000 USB Driver Installation11 Search for a Suitable Driver 12 Locate Driver Files 13 Driver File Search Results Verifying Driver Installation 14 Completing Driver Installation Dialog BoxClick on New Session Starting VisualDSP++Using the Programmable Flag Pins Section Using the EZ-KIT LiteMemory Map Start Address End Address ContentEZ-KIT Lite License Restrictions Register Value Function Using the Sdram InterfaceUsing Flash Memory 0x2001 00FF 0x200A 0x2002 0x2000Flag Connected Use Using the Programmable Flag PinsUsing the Flash Programmer Utility Using the Power Management FeaturesPF14 PF13 PF12 Example ProgramsSystem Architecture Section EZ-KIT Lite Hardware ReferenceSystem Architecture DSPSPORT0 Audio Interface External Bus InterfaceJtag Emulation Port Connector InterfacesExpansion Interface Audio Input Select Jumper JP1 Jumper and DIP Switch SettingsAudio Codec Disable Jumper JP2 Stereo Linein DefaultBoot Mode Select Switch SW1 DSP PLL Setup Switch SW2Default PLL Setup Switch Settings SW2 DSP Pin Switch PositionLED and Push Button Locations LEDs and Push ButtonsReset LEDs LED7, LED8 Power LED LED6Programmable Flag LEDs LED1, LED2, LED3, LED4 USB Monitor LED LED5Push Button DSP Programmable Reset Push Button SW8Programmable Flag Push Buttons SW4, SW5, SW6, SW7 Connector Locations ConnectorsPart Description Manufacturer Part Number Expansion Interface P1, P2, P3FlashLINK P4 Audio P5, P6Jtag P8 USB P7SPORT0 P9 Power Connector P10Specifications Terminal Connection Power SupplyBoard Current Measurements Resistor Voltage Plane DescriptionMechanical Drawing Mechanical DimensionsDescription Ref. Des Manufacturer Part Number Appendix a Bill of Materials3V-1.0AMP Regulator CT1 DIG01 PCT3226CT-ND Tant Panasonic ECJ-2VC1H390J NPO Appendix B Schematic ADSP-21535 EZ-KIT Lite For RTC ADSP-21535 EZ-KIT Lite DSP Memory ADSP-21535 EZ-KIT Lite Audio Codec ADSP-21535 EZ-KIT Lite Config Analog ADSP-21535 EZ-KIT Lite Connectors ADSP-21535 EZ-KIT Lite Power ADSP-21535 EZ-KIT Lite Power ADSP-21535 EZ-KIT Lite Bypass Caps 4-5 IndexSPORT0