Analog Devices, Inc.
Digital Signal Processing Division
One Technology Way
Norwood, MA 02062-9106
a
Limited Warranty
The EZ-KIT Lite evaluation system is warranted against defects in materials and
workmanship for a period of one year from the date of purchase from Analog
Devices or from an authorized dealer.
Disclaimer
Analog Devices, Inc. reserves the right to change this product without prior
notice. Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its use;
nor for any infringement of patents or other rights of third parties, which may
result from its use. No license is granted by implication or otherwise under the
patent rights of Analog Devices, Inc.
Trademark and Service Mark Notice
EZ-KIT Lite, VisualDSP++, VisualDSP++ logo, CROSSCORE, CROSSCORE
logo, Blackfin and the Blackfin logo are trademarks of Analog Devices Inc.
SoundMAX, EZ-ICE, SHARC, the SHARC logo, TigerSHARC, and the
TigerSHARC logo, are registered trademarks of Analog Devices, Inc. All
trademarks and logos are property of their respective holders.
Microsoft and Windows are registered trademarks of Microsoft Corporation.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated.
PSDsoft Express and FlashLINK are trademarks of ST Microelectronics
All other brand and product names are trademarks or service marks of their
respective owners.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
ii
Regulatory Compliance
The ADSP-21535 EZ-KIT Lite evaluation system has been certified to comply
with the essential requirements of the European EMC directive 89/336/EEC
(inclusive 93/68/EEC) and therefore carries the “CE” mark.
The ADSP-21535 EZ-KIT Lite evaluation system had been appended to the
Technical Construction File referenced ‘DSPTOOLS1’ dated December 21, 1997
and was awarded CE Certification by an appointed European Competent Body as
listed below.
Technical Certificate No: Z600ANA1.007
Issued by: Technology International (Europe) Limited
41 Shrivenham Hundred Business Park
Shrivenham, Swindon, SN6 8TZ, UK
The EZ-KIT Lite evaluation system contains ESD (electrostatic
discharge) sensitive devices. Electrostatic charges readily
accumulate on the human body and equipment and can
discharge without detection. Permanent damage may occur on
devices subjected to high-energy discharges. Proper ESD
precautions are recommended to avoid performance degradation
or loss of functionality. Store unused EZ-KIT Lite boards in the
protective shipping package.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
iii
TABLE OF CONTENTS
LIST OF TABLES............................................................................................................. vi
LIST OF FIGURES ........................................................................................................... vi
Thank you for purchasing the ADSP-21535 EZ-KIT Lite evaluation system.
The evaluation board is designed to be used in conjunction with the
VisualDSP++ development environment to test the capabilities of the ADSP21535 digital signal processor (DSP). The VisualDSP++ development
environment gives you the ability to perform advanced application code
development and debug such as:
• Create, compile, assemble, and link application programs written in C++,
C and ADSP-2153x assembly
• Load, run, step, halt, and set breakpoints in application programs
• Read and write data and program memory
• Read and write core and peripheral registers
• Plot memory
Access to the ADSP-21535 from a PC is achieved through a USB port or an
optional JTAG emulator. The USB interface gives unrestricted access to the
ADSP-21535 DSP and the evaluation board peripherals. Analog Devices JTAG
emulators offer faster communication between the host PC and target hardware.
Analog Devices carries a wide range of in-circuit emulation products. To learn
more about Analog Devices emulators and DSP development tools, go to
http://www.analog.com/dsp/tools/
.
ADSP-21535 EZ-KIT Lite provides example programs to demonstrate the
capabilities of the evaluation board.
NOTE: The VisualDSP++ license provided with this EZ-KIT Lite evaluation
system limits the use of internal memory to 176KB.
The board’s features include:
• Analog Devices ADSP-21535 DSP
o 300 MHz Core Clock Speed – default
o Core Clock Speed – switch configurable
o Boot Mode – switch configurable
• USB Debugging Interface
o NOTE: this is not the DSP’s USB interface
ADSP-21535 EZ-KIT Lite Evaluation System Manual
1-1
• Analog Devices AD1885 48 kHz AC’97 SoundMAX
Codec
o Jumper-Selectable Line-In or Mic-In 3.5 mm Stereo Jack
o Line-Out 3.5 mm Stereo Jack
• SDRAM
o 4 M x 32-bit
• Flash Memory
o 272 K x 16
• Interface Connectors
o 14-Pin Emulator Connector for JTAG Interface
o SPORT0 Connector
o FlashLINK
TM
Connector (for flash programming)
o Expansion Interface Connectors (not populated)
• General-Purpose I/O
o 4 Push Buttons connected to DSP Programmable Flags
o 1 Push Button connected to DSP Non-maskable Interrupt
o 4 LEDs connected to DSP Programmable Flags
• Real Time Clock
• Analog Devices ADP3331, ADP3338, ADP3339 & ADP3088 Voltage
Regulators
The EZ-KIT Lite board has a flash memory device that can be used to store user
specific boot code. By configuring the boot mode switch (SW1) and by
programming the flash, the board can run as a stand-alone unit. For information
about using the flash, see section 3.5.
SPORT0 is interfaced with an audio Codec, allowing you to create audio signal
processing applications. SPORT0 is also attached to an off-board connector to
allow communication with other serial devices. For information about SPORT0,
see section 4.2.2.
Additionally, the EZ-KIT Lite board provides access to most of the DSP’s
peripheral ports. Access is provided in the form of uninstalled expansion
interface connectors. These DSP’s USB pins are brought to this connector, but
require additional circuitry to function as a USB port. The PCI bus of the DSP is
not available at any connector of the EZ-Kit Lite. For information about the
expansion interface, see section 4.2.3.
1.1 For More Information About Analog Devices Products
Analog Devices can be accessed on the Internet at http://www.analog.com
can directly access the DSP Web pages at http://www.analog.com/dsp
provides access to DSP-specific technical information and documentation,
product overviews, and product announcements. For specific information about
DSP tools, go to http://www.analog.com/dsp/tools
.
. You
. This page
ADSP-21535 EZ-KIT Lite Evaluation System Manual
1-2
You may also obtain additional information about Analog Devices and its
products in any of the following ways:
• FAX questions or requests for information to (781) 461-3010.
• Access the Computer Products Division File Transfer Protocol (FTP) site
at 137.71.23.21 or ftp://ftp.analog.com
1.2 For Technical or Customer Support
You can reach our Customer Support group in the following ways:
• Contact your local Analog Devices sales office or an authorized Analog
Devices distributor.
The ADSP-21535 EZ-KIT Lite Evaluation System Manual provides instructions
for using the hardware and installing the software on your PC. This manual
provides guidelines for running your own code on the ADSP-21535 EZ-KIT Lite.
This manual also provides a description of the use and configuration of the
components on the evaluation board. Finally, a schematic and a bill of materials
are provided as reference for future ADSP-21535 board designs.
1.4 Intended Audience
This manual is a user’s guide and reference to the ADSP-21535 EZ-KIT Lite
evaluation system. DSP programmers who are familiar with the Analog Devices
Blackfin DSP architecture, operation, and programming are the primary
audience for this manual.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
1-3
DSP programmers who are unfamiliar with Analog Devices Blackfin DSPs can
use this manual in conjunction with the ADSP-21535 DSP Hardware Reference
and the ADSP-21535 DSP Instruction Set, which describe the DSP architecture
and instruction set. DSP programmers who are unfamiliar with VisualDSP++
should refer to the VisualDSP++ Help menu and the VisualDSP++ User’s Guide.
For the locations of these documents, refer to section 1.6.
1.5 Manual Contents
This manual contains the following information:
• Chapter 1 — Introduction
Provides manual information and Analog Devices contact
information.
• Chapter 2 — Getting Started
Provides software and hardware installation procedures, PC system
requirements, and basic board information.
• Chapter 3 — Using the EZ-KIT Lite
Provides information on the EZ-KIT Lite from a programmers
perspective, and provides an easy-to-access memory map.
• Chapter 4 — EZ-KIT Lite Hardware Reference
• Appendix A — Bill of Materials
• Appendix B — Schematics
1.6 Online Help
Your software installation kit includes online Help as part of the Windows
interface. These help files provide information about VisualDSP++ and the
ADSP-21535 EZ-KIT Lite evaluation system.
To view VisualDSP++ Help, click on the Help menu item or go to the Windows
task bar and select Start\Programs\VisualDSP\VisualDSP++ Help.
Provides information on the hardware aspects of the evaluation
system.
Provides a list of components used to manufacture the EZ-KIT Lite
board.
Provides the resources to allow EZ-KIT Lite board-level
debugging or to use as a reference design.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
1-4
To view help on additional ADSP-21535 EZ-KIT Lite features, go to the
windows task bar and select Start\Programs\VisualDSP\EZ-KIT Help.
The documents in the following tables can be found through online Help or in the
Docs folder of your VisualDSP++ installation.
General functional description, pinout,
and timing.
Description of internal DSP architecture
and all register functions.
Description of all allowed DSP
assembly instructions.
Table 1-2: Related VisualDSP++ Documents
Document Name Description
VisualDSP++ 2.0 Users
Guide for BLACKfin DSPs
VisualDSP++ 2.0 Assembler
& Preprocessor Manual for
BLACKfin DSPs
VisualDSP++ 2.0 C/C++
Complier and Library Manual
for BLACKfin DSPs
VisualDSP++ 2.0 Linker &
Utilities Manual for
BLACKfin DSPs
! Important: If you plan to use the EZ-KIT Lite board in conjunction with
a JTAG emulator, refer to the documentation that accompanies the
emulator.
Detailed description of VisualDSP++
2.0 features and usage.
Description of the assembler function
and commands for Blackfin family
DSPs
Description of the complier function and
commands for Blackfin family DSPs
Description of the linker function and
commands for the Blackfin family DSPs
ADSP-21535 EZ-KIT Lite Evaluation System Manual
1-5
2 GETTING STARTED
2.1 Overview
This chapter provides the information you need to begin using ADSP-21535 EZ-KIT Lite
evaluation system. For correct operation install the software and hardware in the order
presented in section 2.4. This chapter has the following sections:
• Contents of your EZ-KIT Lite Package (Section 2.2)
Provides a list of the components that are shipped with this EZKIT Lite evaluation system.
• PC Configuration (Section 2.3)
Describes the minimum requirements for the PC to work with the
EZ-KIT Lite evaluation system.
• Installation Tasks (Section 2.4)
Describes the step-by-step procedure for setting up the hardware
and software.
2.2 Contents of your EZ-KIT Lite Package
Your ADSP-21535 EZ-KIT Lite evaluation system package contains the
following items.
• EZ-KIT Lite Quick Start Guide
• ADSP-21535 EZ-KIT Lite board
• VisualDSP++ CD with license.
• ADSP-21535 EZ-KIT Lite CD, containing:
o EZ-KIT Lite specific debug software
o USB driver files
o Example programs
o ADSP-21535 EZ-KIT Lite manual (this document)
o Flash Programmer Utility
• Installation Quick Reference Card for VisualDSP++
• Universal 7.5V DC power supply
• 5 meter USB type A to type B cable
• Registration card - please fill out and return
If any item is missing, contact the vendor where you purchased your EZ-KIT Lite
or contact Analog Devices, Inc.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-1
The EZ-KIT Lite evaluation system contains ESD (electrostatic
discharge) sensitive devices. Electrostatic charges readily
accumulate on the human body and equipment and can
discharge without detection. Permanent damage may occur on
devices subjected to high-energy discharges. Proper ESD
precautions are recommended to avoid performance degradation
or loss of functionality. Store unused EZ-KIT Lite boards in the
protective shipping package.
2.3 PC Configuration
For correct operation of the VisualDSP++ software and the EZ-KIT Lite, your
computer must have the minimum configuration shown in Table 2-1.
Table 2-1: Minimum PC Configuration
Windows 98, Windows 2000
Intel (or comparable) 166MHz processor
VGA Monitor and color video card
2-button mouse
50 MB free on hard drive
32 MB RAM
Full-speed USB port
CD-ROM Drive
! NOTE: This EZ-KIT Lite does not run under Windows 95 or Windows
NT.
2.4 Installation Tasks
The following tasks are provided for the safe and effective use of the ADSP21535 EZ-KIT Lite. Follow these instructions in the order presented to ensure
correct operation of your software and hardware.
1. VisualDSP++ software installation
2. VisualDSP++ license installation
3. EZ-KIT Lite debug software installation
4. EZ-KIT Lite hardware setup
5. EZ-KIT Lite USB driver installation
6. USB driver installation verification
7. VisualDSP++ startup
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-2
2.4.1 Installing the VisualDSP++ Software
This EZ-KIT Lite comes with the latest version of VisualDSP++ for the Blackfin
DSP family. You must install this software before installing the EZ-KIT Lite
debug software.
Insert the VisualDSP++ CD-ROM into the CD-ROM drive. If Auto Run is
enabled on your PC, the home screen of the VisualDSP++ install wizard will
automatically appear. If not, choose Run from the Start menu, and enter
D:\Setup.exe in the Open field, where D is the name of your local CD-ROM
drive. Click on the Install VisualDSP++ option. This will launch the setup
wizard. Follow the on-screen instructions.
2.4.2 Installing the VisualDSP++ License
Before the VisualDSP++ software can be used, the license must be installed.
To install the VisualDSP++ license:
1. Ensure that VisualDSP++ has been installed first.
2. Insert the VisualDSP++ CD-ROM into the CD-ROM drive if it is not
already in the drive.
3. Once the CD-ROM browser appears, select the Install License option.
4. Follow the setup wizard instructions.
! NOTE: You will need the serial number located on the back of the CD-
ROM sleeve.
2.4.3 Installing the EZ-KIT Lite Debug Software
VisualDSP++ communicates with the EZ-KIT Lite board using the EZ-KIT Lite
debug software. This software is supplied on the EZ-KIT Lite CD-ROM.
To install the EZ-KIT Lite debug software:
1. Ensure that VisualDSP++ has been installed first.
2. Close all Windows applications. The install will not work correctly if any
VisualDSP++ applications are running.
3. Insert the EZ-KIT Lite CD-ROM into the CD-ROM drive. If Autorun is
enabled on your PC, the home screen of the EZ-KIT Lite install wizard
will automatically appear. If not, choose Run from the Start menu, and
enter D:\Setup.exe in the Open field, where D is the name of you local
CD-ROM drive. Click the Install EZ-KIT Lite Software option. This
will launch the setup wizard. Follow this wizard with the on-screen
instructions.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-3
2.4.4 Setting Up the EZ-KIT Lite Hardware
The EZ-KIT Lite evaluation system contains ESD (electrostatic
discharge) sensitive devices. Electrostatic charges readily
accumulate on the human body and equipment and can
discharge without detection. Permanent damage may occur on
devices subjected to high-energy discharges. Proper ESD
precautions are recommended to avoid performance degradation
or loss of functionality. Store unused EZ-KIT Lite boards in the
protective shipping package.
The ADSP-21535 EZ-KIT Lite board is designed to run outside your personal
computer as a stand-alone unit. You do not have to open your computer case.
To connect the EZ-KIT Lite board:
1. Remove the EZ-KIT Lite board from the package. Be careful when
handling the board to avoid the discharge of static electricity, which may
damage some components.
2. Figure 2-1 shows the default jumper settings, DIP Switch, connector
locations, and LEDs used in installation. Confirm that your board is set up
in the default configuration before continuing.
Figure 2-1: EZ-KIT Lite Hardware Setup
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-4
3. Plug the provided power supply into P10 on the EZ-KIT Lite board.
Visually verify that the green power LED (LED6) is on. Also verify that
the two red reset LEDs (LED7 and LED8) go on for a moment and then
go off.
4. Connect the USB cable to an available full speed USB Port and to P7 on
the ADSP-21535 EZ-KIT Lite board.
2.4.5 Installing the EZ-KIT Lite USB Driver
The EZ-KIT Lite evaluation system can be installed on Windows 98 and
Windows 2000 and requires one full-speed USB port. Section 2.4.5.1 describes
the installation on Windows 98. Section 2.4.5.2 describes the installation on
Windows 2000.
2.4.5.1 Windows 98 USB Driver Installation
Before using the ADSP-21535 EZ-KIT Lite for the first time, the Windows 98
USB driver must first be installed.
To install the USB driver:
1. Insert the EZ-KIT Lite CD-ROM into the CD-ROM drive.
The connection of the device to the USB port will activate the Windows 98 “Add
New Hardware Wizard” as shown in Figure 2-2.
Figure 2-2: Add New Hardware Wizard Dialog Box
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-5
2. Click Next.
3. Select Search for the best driver for your device as shown in Figure 2-3.
Figure 2-3: Search for the driver
4. Click Next.
5. Select CD-ROM drive as shown in Figure 2-4.
Figure 2-4: Search the CD-ROM
6. Click Next.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-6
Windows 98 will locate the WmUSBEz.inf file that is on the CD-ROM as shown
in Figure 2-5.
Figure 2-5: The driver is located
7. Click Next.
The Coping Files dialog box appears (Figure 2-6).
Figure 2-6: Search for .sys File Dialog Box
8. Click Browse.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-7
Figure 2-7 will appear.
Figure 2-7: Open the .sys File
9. In Drives select your CD-ROM drive.
10. Click OK.
Figure 2-8 will appear.
Figure 2-8: Copying Files
11. Click OK.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-8
The driver installation is now complete as shown in Figure 2-9.
Figure 2-9: Finish the Software Installation
12. Click Finish to exit the wizard.
Verify the installation by following the instructions in section 2.4.6.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-9
2.4.5.2 Windows 2000 USB Driver Installation
Before using the ADSP-21535 EZ-KIT Lite for the first time, the Windows 2000
USB driver must first be installed.
To install the USB Driver:
1. Insert the EZ-KIT Lite CD-ROM into the CD-ROM drive.
The connection of the device to the USB port will activate the Windows 2000
“Found New Hardware Wizard” as shown in Figure 2-10.
Figure 2-10: Found New Hardware Wizard
2. Click Next.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-10
3. Select Search for a suitable driver for my device as shown in Figure 2-11.
Figure 2-11: Search for a Suitable Driver
4. Click Next.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-11
5. Ensure that CD-ROM drives is selected as shown in Figure 2-12.
6. Click Next.
Figure 2-12: Locate Driver Files
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-12
Figure 2-13 appears.
Figure 2-13: Driver File Search Results
7. Click Next.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-13
Windows 2000 will automatically install the ADSP-21535 EZ-KIT Lite driver.
The driver installation is now complete as shown in Figure 2-14.
Verify the installation by following the instructions in section 2.4.6.
2.4.6 Verifying Driver Installation
Before you use the EZ-KIT Lite evaluation system, verify that the USB driver
software is installed properly:
1. Ensure that the USB cable is connected to the evaluation board and the PC.
2. Verify that the yellow USB monitor LED (LED5) is lit. This signifies that the
board is communicating properly with the host PC and is ready to run
VisualDSP++.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-14
2.4.7 Starting VisualDSP++
To start debugging, set up a session in VisualDSP++.
1. Verify that the yellow USB monitor LED (LED5, located near the USB
connector) is lit. This signifies that the board is communicating properly with
the host PC, and is ready to run VisualDSP++.
2. Hold down the Control (CTRL) key.
3. Select the Start button on the Windows taskbar, and then choose
Programs\VisualDSP\VisualDSP++.
The Session List dialog box appears if you already have existing sessions. Skip to
step 4 if this is the first time running VisualDSP++.
4. Click on New Session.
5. The New Selection dialog will appear as shown in Figure 2-15.
Figure 2-15: New Session Dialog Box
6. In Debug Target, choose EZ-KIT Lite (ADSP-21535).
7. Type a new target name in Session Name or accept the default name.
8. Click OK to return to the Session List. Highlight the new session and click Activate.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
2-15
3 USING THE EZ-KIT LITE
3.1 Overview
This chapter provides specific information to assist you with developing programs
for the ADSP-21535 EZ-KIT Lite board. This information appears in the
following sections:
• EZ-KIT Lite License Restrictions (Section 3.2)
Describes the restrictions of the VisualDSP++ license shipped with
the EZ-KIT Lite.
• Memory Map (Section 3.3)
Defines the memory map to assist in developing programs for the
EZ-KIT Lite evaluation system.
• Using the SDRAM Interface (Section 3.4)
Defines the register values to configure the on-board SDRAM.
• Using Flash Memory (Section 3.5)
Describes how to program and use the on-board flash memory.
• Using the Programmable Flag Pins (Section 3.6)
Describes the function and use of the programmable flag pins on
the EZ-KIT Lite evaluation system.
• Example Programs (Section 3.7)
Provides information about the example programs included in the
ADSP-21535 EZ-KIT Lite evaluation system.
• Using the Flash Programmer Utility (Section 3.8)
Provides information on the Flash Programmer Utility included
with the EZ-KIT Lite software.
For more detailed information about programming the ADSP-21535, see the
documents referred to in section 1.6.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
3-1
3.2 EZ-KIT Lite License Restrictions
The license shipped with the EZ-KIT Lite imposes the following restrictions:
• Internal Memory space is limited to 176 KB of the ADSP-21535 internal
memory space
• No connections to Simulator or Emulator sessions are allowed.
• Only one EZ-KIT Lite can be connected to the host PC and debugged at a
time
3.3 Memory Map
The ADSP-21535 has internal SRAM that can be used for instruction storage or
data storage. The configuration of internal SRAM is detailed in the ADSP-21535 DSP Hardware Reference.
The ADSP-21535 EZ-KIT Lite board contains 272K x 16 bits of external flash
memory. This memory is connected to the DSP’s ~AMS0 memory select pin.
The external memory interface is also connected to 4M x 32-bit SDRAM
memory. This memory is connected to the ~SMS0 pin.
Table 3-1: EZ-KIT Lite Evaluation Board Memory Map
Start Address End Address Content
0x0000 0000 0x00FF FFFF SDRAM Bank 0
(SDRAM)
External
Memory
Internal
Memory
0x2000 0000 0x2009 FFFF ASYNC Memory Bank 0
All other locations Not used
0xF000 0000 0xF003 FFFF L2 SRAM 256 KB
0xFF80 0000 0xFF80 3FFF Data Bank A 16 KB
0xFF90 0000 0xFF90 3FFF Data Bank B 16 KB
0xFFA0 0000 0xFFA0 3FFF Instruction SRAM 16 KB
0xFFB0 0000 0xFFB0 0FFF Scratch Pad SRAM 4 KB
0xFFC0 0000 0xFFDF FFFF System MMRs 2 MB
0xFFE0 0000 0xFFFF FFFF Core MMRs 2 MB
All other locations Reserved
See section 3.4
(FLASH)
See section 3.5
ADSP-21535 EZ-KIT Lite Evaluation System Manual
3-2
3.4 Using 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.
Bank 0 size = 16 MB
Bank 0 column address width = 8 bits
External buffering timing disabled
t
= 2 SCLK cycles
WR
t
= 3 SCLK cycles
RCD
= 3 SCLK cycles
t
RP
t
= 6 SCLK cycles
RAS
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-2 whenever 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.5 Using 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
0x200A 0000
0x2002 0000
0x2000 8000
0x2000 0000
Main Flash
Array
Empty
0x2001 00FF
Config
0x2001 0000
Empty
Boot Flash
Array
Figure 3-1: Flash Memory Map
Use PSDsoft Express
TM
to modify the default settings for the flash memory, the
DSM project must be modified and the flash must be reprogrammed using
FlashLINK
TM
. The default project files can be found in,
\…\VisualDSP\Blackfin\EZ-KITs\ADSP-21535\DSMConfigFiles. Analog
Devices does not provide any support for setting up the DSM2150 with PSDsoft
Express
TM
or programming it using FlashLINKTM. Email STMicroelectronics for
technical assistance at apps.psd@st.com.
To program the flash with your boot code, you must first create a loader file from
your DSP code. You will need to set up the loader in VisualDSP++ depending on
how you will be booting the flash. The two possibilities are to boot the DSP in
16-bit external execution mode or in 8-bit boot mode. See section 4.3.3 for the
boot mode settings.
Next, the loader file must be programmed into the flash. This can be done
through the DSP using the VisualDSP++ Flash Programmer Utility (see section
3.8) or using by using the FlashLink programmer.
The DSM2150 can be reprogrammed using the FlashLINK
TM
JTAG programming
cable available from STMicoreclectronics (www.st.com/psd) for approximately
$59. FlashLINK
TM
plugs into any PC parallel port. The software development
tool, PSDsoft Express, is required to modify the configuration of the DSM2150
and operate the FlashLINKTM cable. PSDsoft ExpressTM can be downloaded at no
charge from at www.st.com/psd.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
3-4
3.6 Using the Programmable Flag Pins
The ADSP-21535 has 16 asynchronous Programmable Flag (PF) I/O pins.
During reset PF0-PF9 function as inputs to the internal PLL of the DSP. They are
not valid until 120uS after reset. Table 3-3 describes how the PFs are used on the
EZ-KIT Lite.
After a DSP reset, all of the PF pins are initialized as inputs. The direction of the
PF is configured by the FIO_DIR Memory Mapped Register (MMR). The PFs
are set high (1) using the FIO_FLAG_S and cleared (0) using the FIO_FLAG_C
MMRs. For more information on configuring the PF pins, see the ADSP-21535 DSP Hardware Reference Manual.
All of the PFs can are brought out to the expansion connector P2. The location of
the PF nets can be found in APPENDIX B: SCHEMATIC.
Table 3-3: Programmable Flag Pin Summary
Flag Connected
Use
to
PF0
PF1 LED1
LED4
PF0-3 are connected to the LEDs. These can be used
to light an LED when a routine completes.
PF2 LED2
PF3 LED3
PF4 SW4
PF5 SW5
PF6 SW6
PF7 SW7
PF4-7 are connected to the push buttons on the EZ-
KIT Lite board and are for user input. Your routine
can monitor and execute specific code when a push
button has been pressed.
PF8 Not used
PF9 Not used
PF10 Not used
PF11 Not used
PF12 PMGMT0
PF13 PMGMT1
These are used to change the internal voltage of the
DSP. Refer to section 3.6.1 for more information.
PF14 PMGMT2
PF15 U7.11 Connected to the reset of the AD1885 Codec (U7).
This signal must be output as a high (1) to enable the
AD1885 Codec.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
3-5
3.6.1 Using the Power Management Features
PF14-PF12 allow you to program the core voltage of the DSP. The default core
voltage is 1.5V. Table 3-4 gives the value of the core voltage corresponding to
the state of these PFs.
When lowering the core voltage of the DSP, the frequency of the DSP must be
taken into consideration. As you lower the core voltage of the DSP, the frequency
the core is running at must be decrease.
Example programs are provided with the ADSP-21535 EZ-KIT Lite to
demonstrate various capabilities of the evaluation board. These programs are
installed with the EZ-KIT Lite software and can be found in
\…\VisualDSP\Blackfin\EZ-KITs\ADSP-21535\Examples. Please refer to the
readme files provided with each example program for more information.
3.8 Using the Flash Programmer Utility
The ADSP-21535 EZ-KIT Lite evaluation system includes a Flash Programmer
Utility. The utility allows you to program the flash on the EZ-KIT Lite. This
utility must be installed separately from the debug software. To install the utility,
insert the EZ-KIT Lite CD-ROM and follow the steps in the installation wizard.
After it has been installed, it is available from the Tools pull-down menu in
VisualDSP++.
For more information on the Flash Programmer Utility go to the Start menu and
choose Programs\VisualDSP\Flash Programmer Help.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
3-6
4 EZ-KIT LITE HARDWARE REFERENCE
4.1 Overview
This chapter describes the hardware design of the ADSP-21535 EZ-KIT Lite
board. The following topics are covered:
• System Architecture (Section 4.2)
Describes the configuration of the DSP as well as a description of
how all of the components on the board interface with the DSP.
• Jumper and DIP Switch Settings (Section 4.3)
Shows the location and describes the function of all the
configuration jumpers and DIP Switches.
• LEDs and Push Buttons (Section 4.4)
Shows the location and describes the function of all the LEDs and
push buttons.
• Connectors (Section 4.5)
Shows the location and gives the part number for all of the
connectors on the board. Also, the manufacturer and part number
information is given for the mating part.
• Specifications (Section 4.6)
Gives the requirements for powering the board.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-1
4.2 System Architecture
The EZ-KIT Lite has been designed to demonstrate the capabilities of the ADSP21535 DSP. This section describes the DSP’s configuration on the EZ-KIT Lite
board.
USB Connector
Management
+7.5V
Connector
SRAM
EZ USB FX
20MHz
Oscillator
32.768KHz
Crystal
Power
5V
A5V 3.3V
Power
Regulation
JTAG Header
3.3V
544KB Flash
(U4)
External Bus Interface
Unit
JTAG Port
ADSP-21535
CLK_IN
RTC
VDD_INT
VDD_EXT
DSP
(U1)
AD1885
Codec
(U7)
SPI 1:0
UART1:0
Timer2:0
SPORT1
USB
PF15:0SPORT0
4M X 32bit
SDRAM
(U5, U6)
Expansion
Connectors
(P1, P2, P3)
LEDs, PBs
and Clock
Logic
SPORT0
Connector
Stereo LINEIN/
MIC and
LINEOUT
Connectors
Figure 4-1: System Architecture
The DSP has a default core voltage of 1.5V. Refer to section 3.6.1 for more
information about changing the core voltage while the DSP is running. The
voltage of the DSP’s peripheral interface is 3.3V.
A 20 MHz oscillator supplies the input clock to the DSP. The speed at which the
core and peripherals operate is determined by the configuration of the multiplier
select switch (SW2) at reset. (See section 4.3.4.) By default, the DSP core runs
at 300 MHz and the peripheral interface runs at 120 MHz. A 32.768 kHz crystal
supplies the Real Time Clock (RTC) inputs of the DSP
The EZ-KIT Lite board can be configured to boot in all of the possible ADSP21535 boot modes. For information about configuring the boot mode, see section
4.3.3.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-2
4.2.1 External Bus Interface
The External Bus Interface Unit (EBIU) is connected to 4M x 32 bits of SDRAM
(16 MB). This memory is connected to the synchronous memory select 0
(~SMS0) pin. Refer to section 3.4 for information about configuring the
SDRAM.
The EBIU is also connected to 272K x 16 bits of flash memory. This memory is
connected to the asynchronous memory select (~AMS0) pin. The DSP can use
this memory both for booting and storing information during normal operation.
Refer to section 3.5 for information about using the flash memory.
All of the address, data, and control signals are available externally via the
extender connectors (P1-3). The pinout of these connectors can be found in
APPENDIX B: SCHEMATIC.
4.2.2 SPORT0 – Audio Interface
SPORT0). is connected to the AD1885 SoundMAX Codec (U7). Two 3.5mm
stereo jacks (P5, P6) allow audio to be input and output. You can supply an audio
input to the Codec microphone input channel (MIC1) or to the stereo LINE_IN
input channel. The jumper settings of JP1 determine the Codec channel driven by
the input jack (P5). For information about configuring JP1, see section 4.3.1.
SPORT0 is also routed to an off-board connector (P9). When using the off-board
connector, the Codec must be held in reset, so that it does not drive any of the
SPORT0 signals. The Codec can be held in reset by driving PF15 low or by
setting up JP2 to always hold the Codec in reset (see section 4.3.2). PF15 must be
pulled HI (1) for the Codec to function.
! NOTE: TCLK0 and RCLK0 pins are shorted together using R114 and
R118.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-3
4.2.3 Expansion Interface
The expansion interface consists of the footprints for 3 connectors. The following
table shows the interfaces each connector provides. For the exact pin-out of these
connectors refer to APPENDIX B: SCHEMATIC. Analog Devices does not
populate these connectors or provide any additional support for this interface.
The mechanical locations of these connectors can be found in section 4.6.3.
Table 4-1: Connector Interfaces
Connector Interfaces
P1 5V, GND, Address, Data
P2 3.3V, GND, EBUI control signals, PF0-15, SPI0-1, SPORT1,
UART0-1, TMR0-2, NMI
P3 1.5V, GND, Reset, USB, CLKOUT, SLEEP
Limits to the current and to the interface speed must be taken into consideration if
you use this interface. The maximum current limit is dependent on the regulator
used and its capabilities. Additional circuitry can also add extra loading to
signals, decreasing their maximum effective speed.
! Analog Devices does not support and is not responsible for the effects of
additional circuitry.
4.2.4 JTAG Emulation Port
The JTAG emulation port allows an emulator to access the DSP’s internal and
external memory through a 6-pin interface. The JTAG emulation port of the DSP
is also connected to the USB debugging interface (NOTE: This is not the DSP’s
USB interface). When an emulator is connected to the board at P8, the USB
debugging interface is disabled. See section 4.5.5 for more information about the
JTAG connector.
To learn more about available emulators, contact Analog Devices (see section
1.1).
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-4
4.3 Jumper and DIP Switch Settings
This section describes the function of all the jumpers and DIP switches. The
following figure shows the location of all the jumpers and DIP switches.
Figure 4-2: Jumper Locations
4.3.1 Audio Input Select Jumper (JP1)
The audio input jack (P5) can be connected to the MIC1 or the LINEIN input
channels of the AD1885 Codec (U7). When the JP1 jumpers connect pins 1 and 3
and pins 2 and 4, P3 connects to the mono MIC1 channel. When the jumpers
connect pins 3 and 5 and pins 4 and 6, P5 connects to the stereo LINE_IN channel
of the AD1885 Codec. These jumper settings are illustrated below in Figure 4-3.
(The words MIC and LINE are on the board as a reference)
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-5
Stereo LINE_IN (DEFAULT)
Mono MIC1
JP1
MIC
2
1
LINE
6
5
Figure 4-3: Audio Input Jumper Settings (JP1)
4.3.2 Audio Codec Disable Jumper (JP2)
Placing a jumper between pins 1 and 2 of JP2 holds the AD1885 in reset,
preventing it from driving signals to the serial port. When a jumper is between
pins 2 and 3 of JP2, the AD1885 is held in reset until PF15 is set to an output and
is asserted. These position are labeled on the board as “DIS” and “ENA 1885”.
4.3.3 Boot Mode Select Switch (SW1)
The boot mode select switch determines how the DSP will boot. Table 4-2 shows
the switch settings for the boot modes.
JP1
MIC
2
1
LINE
6
5
NOTE: SPI ROM is not available on the EZ-KIT Lite.
Table 4-2: Boot Mode Select Switch (SW1) Settings
BMODE0
Pin 1
BMODE1
Pin 2
BMODE2
Pin 3
On On On
Off On On
On Off On
Off Off On
- - Off All others reserved
4.3.4 DSP PLL Setup Switch (SW2)
The DSP’s Phase Lock Loop (PLL) multiplies the 20 MHz input clock by a
multiplication factor to set the core clock speed of the DSP. Internal to the DSP
the Programmable Flags, PF0-PF9, are multiplexed with the PLL setup signals,
SSEL0-6, DF, and MSEL0-1.
Function
Execute from 16 bit external memory
(no boot)
Boot from 8-bit EPROM
(Default)
Boot from SPI0 ROM
(8-bit addresses)
Boot from SPI0 ROM
(16-bit addresses)
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-6
During reset, the function of these pins is to setup the PLL. At this time, these
signals are attached to the PLL setup switch (SW2) and determine the core and
external clock speeds of the DSP. Approximately 120uS after reset has been deasserted these pins are no longer attached to SW2, but function as PFs.
The following table shows the switch position that corresponds to a DSP pin.
Table 4-3: PLL Setup Switch (SW2) Functions
DSP Pin Switch
Position
MSEL0
1
MSEL1 2
MSEL2 3
MSEL3 4
MSEL4 5
MSEL5 6
MSEL6 7
DF 8
SSEL0 9
SSEL1 10
None 11
Bypass 12
Figure 4-4 shows the default setting for SW2. This will produce a 300MHz core
clock speed and a 120 MHz peripheral interface speed. For more information
about setting up the multiplication factors, refer to the Managing DSP Clocks
section of the
! NOTE: A switch setting of “ON” supplies a logic low (0) on the
corresponding DSP pin.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-7
4.4 LEDs and Push Buttons
This section describes the function of all the LEDs and push buttons. Figure 4-5
shows the location of all the LEDs and push buttons.
Figure 4-5: LED and Push Button Locations
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-8
4.4.1 Programmable Flag LEDs (LED1, LED2, LED3, LED4)
Four LEDs are connected to four of the DSP’s Programmable Flag (PF) pins,
PF0-3. These LEDs are active HIGH and are lit by an output of “1” from the
DSP. Refer to section 3.6 for more information about using of the PFs when
programming the DSP.
Table 4-4: Programmable Flag LEDs
LED Reference
Designator
DSP Programmable
Flag Pin
LED4 PF0
LED1 PF1
LED2 PF2
LED3 PF3
4.4.2 USB Monitor LED (LED5)
The USB Monitor LED (LED5) indicates that USB communication has been
initialized successfully and you may connect to the DSP using a VisualDSP++
EZ-KIT Lite session. This should take approximately 15 seconds. If the LED
does not light, try cycling power on the board and/or reinstalling the USB driver
(see section 2.4.5).
4.4.3 Power LED (LED6)
LED6 is a green LED that indicates when power is being properly supplied to the
board.
4.4.4 Reset LEDs (LED7, LED8)
When LED8 is lit, it indicates that the master reset of all the major ICs is active.
When LED7 is lit, the USB interface chip (U11) is being reset. The USB chips
will only reset on power-up, or if USB communication has not been initialized.
4.4.5 Non-Maskable Interrupt Push Button (SW3)
SW3 is connected to the Non-maskable Interrupt (NMI) pin of the DSP. When
pressed, the DSP will vector to the NMI interrupt vector.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-9
4.4.6 Programmable Flag Push Buttons (SW4, SW5, SW6, SW7)
Four push buttons are provided for general-purpose user input. SW4-7 connect to
the DSP’s Programmable Flag (PF) pins, PF4-7. The push buttons are active high
and when pressed send a high (1) to the DSP. Refer to section 3.6 for more
information about the use of the PFs when programming the DSP. Table 4-5
shows the PF signal and the switch it is connected to.
Table 4-5: Programmable Flag Switches
Push Button
Reference Designator
DSP Programmable
SW4 PF4
SW5 PF5
SW6 PF6
SW7 PF7
4.4.7 Reset Push Button (SW8)
The RESET push button resets all of the ICs on the board. This reset does not
affect the USB interface chip (U11) unless communication has not been
initialized with a PC. After USB communication has been initialized, the only
way to reset the USB is by powering down the board.
Flag Pin
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-10
4.5 Connectors
This section describes the function of the connectors and gives information about
mating connectors. The following figure shows the locations of the connectors.
Figure 4-6: Connector Locations
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-11
4.5.1 Expansion Interface (P1, P2, P3)
Three board-to-board connector footprints provide the signals for most of the DSP
peripheral interfaces. Analog Devices does not populate these connectors or
provide any additional support for this interface. See section 4.2.3, for more
information on the Expansion Interface. Contact Samtec for the availability and
pricing of these connectors.
Part Description Manufacturer Part Number
90 Position 0.05” Spacing (P1,
Samtec SFM-145-01-S-D
P2, P3)
Mating Connector
90 Position 0.05” Spacing
Samtec TFM-145-x1 Series
(Through Hole)
90 Position 0.05” Spacing
Samtec TFM-145-x2 Series
(Surface Mount)
90 Position 0.05” Spacing (Low
Samtec TFC-145 Series
Cost)
4.5.2 FlashLINK (P4)
The FlashLINK connector allows you to configure and program the
STMicroelectronics DSM2150 flash/PLD chip. See section 3.5, for more
information about using the FlashLINK connector.
Part Description Manufacturer Part Number
Right-angle 7X2 Shrouded 0.1
spacing
FlashLINKTM JTAG
Programmer
4.5.3 Audio (P5, P6)
There are two 3.5mm stereo audio jacks: one input, and one output.
Part Description Manufacturer Part Number
3.5mm stereo jack (P5, P6) Shogyo SJ-0359AM-5
3.5mm stereo plug to 3.5mm
stereo cable
TYCO 2-767004-2
Mating Assembly
ST Micro FL-101B
Mating Cable
Radio Shack 42-2387A
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-12
4.5.4 USB (P7)
The USB connector is a standard Type B USB receptacle. This connector is used
to debug the DSP, and is not connected to the DSP’s USB interface.
Part Description Manufacturer Part Number
4.5.5 JTAG (P8)
The JTAG header is the connecting point for a JTAG in-circuit emulator pod.
When an emulator is connected to the JTAG header, the USB debug interface is
disabled.
! NOTE: Pin 3 is missing to provide keying. Pin 3 in the mating connector
should have a plug.
Mill-Max 897-30-004-90-000 Type B USB receptacle (P7)
Digi-Key ED90003-ND
Mating Connector
Assmann AK672-5 USB cable (provided with kit)
Digi-Key AK672-5ND
! NOTE: When using an emulator with the EZ-KIT Lite board, follow the
connection instructions provided with the emulator.
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-13
4.5.6 SPORT0 (P9)
SPORT0 is connected to a 20-pin connector. The pinout for this connector can be
found in APPENDIX B: SCHEMATIC. Contact AMP for pricing and availability
on these connectors.
Part Description Manufacturer Part Number
20 position AMPMODU system
50 receptacle (P9)
20 position AMPMODU system
20 connector
20 position AMPMODU system
20 connector (w/o lock)
Flexible film contacts (20 per
connector)
Straight-through assembly with
locking connector on each end
4.5.7 Power Connector (P10)
AMP 104069-1
Mating Connectors
AMP 2-487937-0
AMP 2-487938-0
AMP 487547-1
Mating Assembly
Gopher
Electronics
DRFFC10X7RHURHU5
The power connector provides all of the power necessary to operate the EZ-KIT
Lite board.
Part Description Manufacturer Part Number
7.5V Power Supply GlobTek TR9CC2000LCP-Y
4.6 Specifications
This section provides the requirements for powering the board and the mechanical
dimensions of the board.
Switchcraft RAPC712 2.5mm Power Jack (P10)
Digi-key SC1152-ND
Mating Power Supply (shipped with EZ-KIT Lite)
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-14
4.6.1 Power Supply
The power connector supplies DC power to the EZ-KIT Lite board. Table 4-6
shows the power connector pinout.
Table 4-6: Power Connector
Terminal Connection
Center pin +7.5 VDC@2amps
Outer Ring GND
4.6.2 Board Current Measurements
The ADSP-21535 EZ-KIT Lite board provides eight zero-ohm resistors that may
be removed to measure current draw. Table 4-7 shows the resistor number, the
voltage plane, and a description of the components on the plane.
Table 4-7: Current Measurement Resistors
Resistor Voltage Plane Description
R2 VDD_RTC DSP Real Time Clock Supply
R3 VDD_EXT DSP External Interface Supply
R6 VDD_INT DSP Internal Interface Supply
R7 VDD_PCIEXT DSP PCI Interface Supply
R8 VDD_PLL DSP Phase Lock Loop Supply
R110 5V 5V Supply
R111 3V 3V supply to all non DSP-related
components
R113 3V_DSP 3V to DSP-related components
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-15
4.6.3 Mechanical Dimensions
The following figure shows the location of the mounting holes as well as the PIN1
of each of the expansion connectors.
5.000
4.750
3.875
2.500
1.125
0.250
0.000
3.750
1.300
0.000
0.250
0.625
3.250
3.600
P1
P2
1.400
P3
6.375
6.200
6.750
7.000
Figure 4-7: Mechanical Drawing
ADSP-21535 EZ-KIT Lite Evaluation System Manual
4-1
APPENDIX A: BILL OF MATERIALS
REF QTY. Description Ref. Des Manufacturer Part Number
2 3
3 1
4 1
5 1
6 1
7 1
8 1
9 1
10 3
11 1
12 1
13 1
14 1
15 1
16 2
17 1
18 1
19 1
20 2
21 2
22 1
23 1
74LVC14A SOIC14
HEX-INVER-SCHMITT-TRIGGER
IDT74FCT3244APY SSOP20
3.3V-OCTAL-BUFFER
24.576MHZ SMT OSC005
CRYSTAL
CY7C64603-128 PQFP128
USB-TX/RX MICROCONTROLLER
MMBT4401 SOT-23
NPN TRANSISTOR 200MA
74LVC00AD SOIC14
24LC00-SN SOIC8
128 BIT SERIAL EEPROM
ADP3331ART SOT23-6
ADJ 200MA REGULATOR
BSS123 SOT23D
NMOS FET
CY7C1019BV33-15VC SOJ32
128K X 8 SRAM
SN74AHC1G02 SOT23-5
SINGLE-2 INPUT-NOR
SN74LV164A SOIC14
8-BIT-PARALLEL-SERIAL
CY7C4201V-15AC TQFP32
64-BYTE-FIFO
12.0MHZ THR OSC006
CRYSTAL
MT48LC4M16 TSOP54
4MX16-SDRAM-133MHZ
32.768kHz TH OSC007
CRYSTAL
SN74AHC1G00 SOT23-5
SINGLE-2-INPUT-NAND
21535 BRD DSM2150F5V U4""
BLKFIN160.OBJ SUM 876F5F1