Summary of Contents for Analog Devices ADSP-21160 EZ-KIT Lite
Page 1
ADSP-21160 EZ-KIT Lite ® Evaluation System Manual Revision 3.1, March 2004 Part Number 82-000513-01 Analog Devices, Inc. One Technology Way Norwood, Mass. 02062-9106...
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;...
Related Documents ..............xiv Online Documentation ............. xv Printed Manuals ................ xv VisualDSP++ Documentation Set .......... xv Hardware Manuals ............... xvi Data Sheets ................xvi Contacting DSP Publications ............ xvi Notation Conventions ..............xvii ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 4
Using FLAG Pins ................. 2-4 Using Interrupt Pins ..............2-4 Example Programs ................ 2-5 Using Flash Programmer Utility ............ 2-5 Using EZ-KIT Lite VisualDSP++ Interface ........2-6 Boot Load ................2-6 Target Options ................ 2-6 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 5
Expansion Interface ..............3-4 JTAG Emulation Port .............. 3-4 Jumper and DIP Switch ..............3-5 Audio Input Selection Jumper (JP1) ......... 3-6 Boot Mode Select Switch (SW1) ..........3-6 LEDs and Push Buttons ..............3-7 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 6
Audio Connectors (P9–10) ............ 3-13 SPORT0 Connector (P11) ............ 3-13 Specifications ................3-14 Power Supply ................ 3-14 Board Current Measurements ..........3-14 BILL OF MATERIALS ADSP-21160M EZ-KIT LITE ............A-1 ADSP-21160N EZ-KIT Lite ............A-7 INDEX ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 7
PREFACE ® Thank you for purchasing the ADSP-21160 EZ-KIT Lite , Analog ® Devices (ADI) evaluation system for SHARC processors. The SHARC processors are based on a 32-bit super Harvard architecture that includes a unique memory architecture comprised of two large...
Page 8
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/...
Page 9
“SPORT0 Audio Interface” on page 3-3. Additionally, the EZ-KIT Lite board provides access to most of the pro- cessor’s peripheral ports on populated expansion interface connectors. For information about the expansion interface, see “External Port” on page 3-3. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
PC. The text includes guidelines for running your own code on the ADSP-21160 EZ-KIT Lite. The manual also describes the board’s config- uration and components. Finally, a schematic and a bill of materials for each board modification are provided as a reference for future ADSP-21160 board designs.
CD to see the schematics. Manuals What’s New in This Manual This is the third edition of the ADSP-21160 EZ-KIT Lite Evaluation Sys- tem Manual. The new edition includes the updated installation and license registration procedures.
The ADSP-21160 EZ-KIT Lite evaluation system supports Analog Devices ADSP-21160 SHARC processors. Product Information You can obtain product information from the Analog Devices website, from the product CD-ROM, or from the printed publications (manuals). ADSP-21160 EZ-KIT Lite Evaluation System Manual...
MyAnalog.com MyAnalog.com is a free feature of the Analog Devices website that allows customization of a webpage to display only the latest information on products you are interested in. You can also choose to receive weekly email notification containing updates to the webpages that meet your interests.
Description of the linker function and com- for 32-Bit Processors mands for the 32-bit processors. VisualDSP++ 3.5 Loader Manual for 32-Bit Description of the loader function and com- Processors mands for the 32-bit processors. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Windows task bar and select Start –>Programs –>Analog Devices–>Visu- alDSP++ for 32-bit Processors –>VisualDSP++ Documentation. To view ADSP-21160 EZ-KIT Lite Help, which now is a part of the Visu- alDSP++ Help system, go the Contents tab of the Help window and select Manuals –>...
Product Information If you do not have an account with Analog Devices, you will be referred to Analog Devices distributors. To get information on our distributors, log onto www.analog.com/salesdir/continent.asp Hardware Manuals Printed copies of hardware reference and instruction set reference manuals can be ordered through the Literature Center or downloaded from the Analog Devices website.
A caution providing information about critical design or programming Caution: issues that influence operation of a product. In the online version of this book, the word Caution appears instead of this symbol. ADSP-21160 EZ-KIT Lite Evaluation System Manual xvii...
Page 18
Notation Conventions xviii ADSP-21160 EZ-KIT Lite Evaluation System Manual...
“Installation Tasks” on page 1-3 Describes the step-by-step procedures for setting up the hardware and software. Contents of EZ-KIT Lite Package Your ADSP-21160 EZ-KIT Lite evaluation system package contains the following items. • ADSP-21160M or ADSP-21160N EZ-KIT Lite board • EZ-KIT Lite Installation Procedure •...
Page 20
VisualDSP++ 3.5 for 32-bit processors with a limited license ADSP-21160 EZ-KIT Lite debug software USB driver files Example programs ADSP-21160 EZ-KIT Lite Evaluation System Manual (this document) • Universal 7.5V DC power supply • USB 2.0 type 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.
Installation Tasks The following task list is provided for the safe and effective use of the ADSP-21160 EZ-KIT Lite. Follow the instructions in the presented order to ensure correct operation of your software and hardware. 1. VisualDSP++ and EZ-KIT Lite software installation 2.
VisualDSP++ and EZ-KIT Lites are licensed products. You may run only one copy of the software for each license purchased. Once a new copy of the VisualDSP++ or EZ-KIT Lite software is installed on your PC, you must install, register, and validate your licence. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Store unused EZ-KIT Lite boards in the protective shipping package. The ADSP-21160 EZ-KIT Lite board is designed to run outside your per- sonal computer as a stand-alone unit. You do not have to open your computer case.
Installing EZ-KIT Lite USB Driver The EZ-KIT Lite evaluation system installed on the following platforms requires one full-speed USB port. • “Windows 98 USB Driver” on page 1-7 describes the installation on Windows 98. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Windows 98 USB Driver Before using the ADSP-21160 EZ-KIT Lite for the first time, the Win- dows 98 USB driver must first be installed. To install the USB driver: 1.
Page 26
3. Select Search for the best driver for your device, as shown in Figure 1-3. Figure 1-3. Windows 98 – Searching for Driver 4. Click Next. 5. Select CD-ROM drive, as shown in Figure 1-4. Figure 1-4. Windows 98 – Searching for CD-ROM ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 27
CD, as WmUSBEz.inf shown in Figure 1-5. Figure 1-5. Windows 98 – Locating Driver 7. Click Next. The Coping Files dialog box appears (Figure 1-6). Figure 1-6. Windows 98 – Searching for .SYS File ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 28
Figure 1-7. Windows 98 – Opening .SYS File 9. In Drives, select your CD-ROM drive. 10. Click OK. Figure 1-8. Windows 98 – Copying .SYS File The Copying Files dialog box (Figure 1-8) appears. 1-10 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Prior to running the VisualDSP++ 3.5 installer, ensure there are no other Hardware Wizard windows running in the background. If there are any wizard windows running, close them before starting the installer. ADSP-21160 EZ-KIT Lite Evaluation System Manual 1-11...
To install the USB driver: 1. If VisualDSP++ 3.5 is already installed on your system, go to step 2. Otherwise, run VisualDSP++ 3.5 installation. Refer to the VisualDSP++ 3.5 Installation Quick Reference Card for a detailed 1-12 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 31
By connecting the device to the USB port you activate the Win- dows XP Found New Hardware Wizard, shown in Figure 1-10. Figure 1-10. Windows XP – Found New Hardware Wizard 3. Select Install the software automatically (Recommended) and click Next. ADSP-21160 EZ-KIT Lite Evaluation System Manual 1-13...
PC. 2. Verify that the yellow USB monitor LED ( ) is lit. This signi- LED5 fies the board is communicating properly with the host PC and is ready to run VisualDSP++. 1-14 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
LED5 USB connector) is lit. This signifies that the board is communicat- ing properly with the host PC and is ready to run VisualDSP++. 2. Press and hold down the Control (CTRL) key. ADSP-21160 EZ-KIT Lite Evaluation System Manual 1-15...
Page 34
7. In Processor, choose the appropriate processor, ADSP-21160. 8. Type a new target name in Session Name or accept the default name. 9. Click OK to return to the Session List. Highlight the new session and click Activate. 1-16 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
2 USING EZ-KIT LITE This chapter provides specific information to assist you with developing programs for the ADSP-21160 EZ-KIT Lite evaluation system. This information appears in the following sections. • “EZ-KIT Lite License Restrictions” on page 2-2 Describes the restrictions of the VisualDSP++ license shipped with the EZ-KIT Lite.
ADSP-21160 SHARC Processor Hardware Reference. The External Port (EP) of the ADSP-21160 processor connects to the Flash memory and SBSRAM. ADSP-21160 EZ-KIT Lite board contains 512 Kb x 8-bits of external Flash memory. The Flash memory connects to the processors’s memory select pins.
Page 37
0x0080 0000 0x0087 FFFF MSO and BMS (Flash memory External MS1 (SBRAM) 0x0280 0000 0x0281 FFFF Memory All other locations Not Used 1 When viewing external memory with VisualDSP++, ensure that is set to MSIZE ADSP-21160 EZ-KIT Lite Evaluation System Manual...
To use these pins, you must enable the specific IRQ interrupt, as well as enable global interrupts. You also need to write a special interrupt service routine to handle the interrupts when they occur. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
IRQ0–2 Example Programs Example programs are provided with the ADSP-21160 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 . Please \…\VisualDSP 3.5 32-Bit\211xx\EZ-KITs\ADSP-21160\Examples...
Target Options Choosing Target Options from the Settings menu opens the Target Options dialog box (Figure 2-1). Use target options to control certain aspects of the processor on the ADSP-21160 EZ-KIT Lite evaluation system. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
SPORT-receive data cannot be held off, it is lost, and the overrun bit is set. The direct write buffer (internal memory write) and the EP pad buffer are allowed to flush any remaining data to internal memory. Other Options Table 2-6 describes other available target options. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
If an attempt to halt the processor is made during one of these conditions, the EZ-KIT Lite may encounter a core hang. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Performs a software reset on the target board. Hardware Breakpoints Hardware breakpoints work similarly to watchpoints. Set hardware break- points on: • Data transfers within a user-defined memory range • Instructions • Register reads and writes ADSP-21160 EZ-KIT Lite Evaluation System Manual...
The common attributes are described in Table 2-8. Global Hardware Breakpoint Options For ADSP-21160 DSPs, the options listed in Table 2-9 apply to all hard- ware breakpoints, regardless of their type. 2-10 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Page 45
. Otherwise, the Skip Count remains at its current value. RESTART AND All Break- ANDs the interrupts to form the composite interrupt. Normally, the group points interrupts are ORed to create a composite interrupt. ADSP-21160 EZ-KIT Lite Evaluation System Manual 2-11...
The two data breakpoints are ORed to generate a single data breakpoint condition. The Data page of the Hardware Breakpoints dialog box, which permits the specification of two data breakpoints, is shown in Figure 2-3. Figure 2-3. Data Page of Hardware Breakpoints Dialog Box 2-12 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Shown below is the Instruction page of the Hardware Breakpoints dialog box, which permits the specification of four individual instruction breakpoints. Figure 2-4. Instruction Page of Hardware Breakpoints Dialog Box ADSP-21160 EZ-KIT Lite Evaluation System Manual 2-13...
(EP), and multiprocessor memory space (MMS). Enables I/O breakpoints. I/O breakpoints are triggered by accesses made on the I/O Address Bus. Use an I/O breakpoint to break on accesses made during DMA transfers, MMS accesses, and Host accesses. 2-14 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
For more information on these illegal loca- tions, refer to your DSP’s Hardware Reference. Setting a Breakpoint on a Single Address To set a breakpoint on a single address, set the Start Address equal to the End Address. ADSP-21160 EZ-KIT Lite Evaluation System Manual 2-15...
That is, under some conditions, break- points cannot be placed effectively. Such conditions depend on bus architecture, pipeline depth, and ordering of the EZ-KIT Lite and its tar- get processor. 2-16 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
This chapter describes the hardware design of the ADSP-21160 EZ-KIT Lite board. The following topics are covered. • “System Architecture” on page 3-2 Describes the configuration of the ADSP-21160 EZ-KIT Lite board and explains how the board components interface with the processor. •...
2x. If there is a ADSP-21160M processor on the board, the external oscillator is 40 MHz. If there is a ADSP-21160N processor on the board, the external oscillator is 47.5 MHz. ADSP-21160 EZ-KIT Lite Evaluation System Manual...
The codec can be held in reset by driving SPORT0 FLAG3 “low” ( ). The processor must drive “high” ( ) to start the codec. FLAG3 pins are shorted together using TCLK0 RCLK0 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
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. JTAG Emulation Port The JTAG emulation port allows an emulator to access the processor’s internal and external memory, as well as the special function registers, through a 14-pin interface.
EZ-KIT Lite Hardware Reference For a detailed description of the interface’s connectors, see EE-68 pub- lished on the Analog Devices website. For more information, see “JTAG Connector (P8)” on page 3-12. For more information about available emulators, contact Analog Devices (see “Product...
Boot Mode Pin 1 Pins 2 Pins 3 Boot from 8-bit Flash memory Off (output Off (input) Boot from Host Off (input) Booting from Link Port On (input) No Boot (execute from external memory) ADSP-21160 EZ-KIT Lite Evaluation System Manual...
1 Default mode LEDs and Push Buttons This section describes the functionality of the LEDs and push buttons. Figure 3-3 shows the locations of the LEDs and push buttons. Figure 3-3. LED and Push Button Locations ADSP-21160 EZ-KIT Lite Evaluation System Manual...
VisualDSP++ EZ-KIT Lite session. If the LED does not light in approxi- mately 15 second after the USB cable connects the board, try cycling power on the board and/or reinstalling the USB driver (see “Installing EZ-KIT Lite USB Driver” on page 1-6). ADSP-21160 EZ-KIT Lite Evaluation System Manual...
IRQs when programming the processor. The push button reference desig- nators and corresponding interrupt signals are summarized in Table 3-5. Table 3-5. Interrupt Switches Interrupt Signal Push Button Reference Designator IRQ0 IRQ1 IRQ2 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Figure 3-4. Connector Locations Expansion Connectors (P1–3) Three board-to-board connectors provide signals for most of the proces- sor’s peripheral interfaces. Analog Devices does not populate the expansion connectors or provide any additional support for the interface. “Expansion Interface” on page 3-4 for more information on the expansion interface.
7.5V Power Supply GlobTek TR9CC2000LCP-Y Link Port Connectors (P5–6) Each link port links to a 26-pin connector. Refer to EE-106 found on the ADI website at for more information about the http://www.analog.com link port connectors. ADSP-21160 EZ-KIT Lite Evaluation System Manual 3-11...
JTAG Connector (P8) The JTAG header ( ) is the connecting point for a JTAG in-circuit emu- lator pod. When an emulator is connected to the JTAG header, the USB debug interface is disabled. 3-12 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
20-pin connector. The pinout for this connector can be SPORT0 found in Appendix B, “Schematics”. Table 3-12. P11 Part Number Information Part Description Manufacturer Part Number 20-position AMPMODU system 50 104069-1 receptacle ( Mating Connector ADSP-21160 EZ-KIT Lite Evaluation System Manual 3-13...
Power Supply The power connector supplies DC power to the EZ-KIT Lite board. Table 3-13 shows the power supply specifications. Table 3-13. Power Supply Specifications Terminal Connection Center pin +7.5V@2 amps Outer Ring 3-14 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Figure 3-5 shows the location of the mounting holes as well as pin 1 of each of the expansion connectors. 5.000 4.750 3.875 3.750 2.500 1.400 1.300 1.125 0.250 0.000 Figure 3-5. Mechanical Drawing ADSP-21160 EZ-KIT Lite Evaluation System Manual 3-15...
Page 66
Specifications 3-16 ADSP-21160 EZ-KIT Lite Evaluation System Manual...
Need help?
Do you have a question about the ADSP-21160 EZ-KIT Lite and is the answer not in the manual?
Questions and answers