Summary of Contents for Analog Devices ADSP-21161N EZ-KIT Lite
Page 1
ADSP-21161N EZ-KIT Lite ® Evaluation System Manual Revision 2.1, March 2004 Part Number 82-000530-01 Analog Devices, Inc. One Technology Way Norwood, Mass. 02062-9106...
Page 2
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;...
Page 3
Regulatory Compliance The ADSP-21161N 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-21161N EZ-KIT Lite evaluation system had been appended to the Technical Construction File referenced “DSPTOOLS1”...
Page 4
CONTENTS ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Related Documents ..............xviii Online Documentation ............xix Printed Manuals ............... xix VisualDSP++ Documentation Set ......... xix Hardware Manuals ..............xx Data Sheets ................xx Contacting DSP Publications ............. xx Notation Conventions ..............xxi ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 6
Using SDRAM Memory ............... 2-3 Using FLAG Pins ................. 2-5 Using Interrupt Pins ..............2-6 Using Audio Interface ..............2-6 Example Programs ................ 2-8 Using Flash Programmer Utility ............ 2-8 Using EZ-KIT Lite VisualDSP++ Interface ........2-9 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 7
EZ-KIT LITE HARDWARE REFERENCE System Architecture ..............3-2 External Port ................3-3 Host Processor Interface (HPI) ..........3-3 SPORT Audio Interface ............3-3 SPI Audio Interface ..............3-4 Breadboard Area ..............3-4 JTAG Emulation Port .............. 3-5 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 8
Reset LEDs (LED1 and LED8) ..........3-14 FLAG LEDs (LED2–7) ............3-14 VERF LED (LED9) .............. 3-14 USB Monitor LED (LED10) ..........3-15 Power LED (LED11) ............3-15 Programmable FLAG Push Buttons (SW1–4) ......3-15 viii ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 9
Link Port Connectors (P13–14) ..........3-19 SPORT1 and SPORT3 Connector (P15) ....... 3-20 Power Connector (P16) ............3-20 Specifications ................3-21 Power Supply ................ 3-21 Board Current Measurements ..........3-21 BILL OF MATERIALS INDEX ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 10
CONTENTS ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 11
PREFACE ® Thank you for purchasing the ADSP-21161N 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 12
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 13
4 Push Button Flags 3 Push Button Interrupts 6 LED Outputs • Analog Devices ADP3338 and ADP3339 Voltage Regulators • Breadboard area with typical SMT footprints The EZ-KIT Lite board has a Flash memory device that can be used to store user-specific boot code.
PC. The text includes guidelines for running your own code on the ADSP-21161N EZ-KIT Lite. The manual also describes the board’s con- figuration and components. Finally, a schematic and a bill of materials are provided as a reference for future ADSP-21161N board designs.
CD to see the schematics. Manuals What’s New in This Manual This is the third edition of the ADSP-21161N EZ-KIT Lite Evaluation System Manual. The new edition includes the updated installation and license registration procedures. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
The ADSP-21161N EZ-KIT Lite evaluation system supports Analog Devices ADSP-21161N 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-21161N 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 xviii ADSP-21161N 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-21161N EZ-KIT Lite Help, which now is a part of the VisualDSP++ Help system, go the Contents tab of the Help window and select Manuals –>Hardware Tools –>EZ-KIT Lite Evaluation Systems.
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-21161N EZ-KIT Lite Evaluation System Manual...
Page 22
Notation Conventions xxii ADSP-21161N 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-21161N EZ-KIT Lite evaluation system package contains the following items. • ADSP-21161N EZ-KIT Lite board • EZ-KIT Lite Installation Procedure •...
Page 24
VisualDSP++ 3.5 for 32-bit processors with a limited license ADSP-21161N EZ-KIT Lite debug software USB driver files Example programs ADSP-21161N EZ-KIT Lite Evaluation System Manual (this document) • Universal 7V 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-21161N 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-21161N EZ-KIT Lite Evaluation System Manual...
Store unused EZ-KIT Lite boards in the protective shipping package. The ADSP-21161N 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.
USB port. • “Windows 98 USB Driver” on page 1-7 describes the installation on Windows 98. • “Windows 2000 USB Driver” on page 1-11 describes the installa- tion on Windows 2000. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Windows 98 USB Driver Before using the ADSP-21161N EZ-KIT Lite for the first time, the Win- dows 98 USB driver must first be installed. To install the USB driver: 1.
Page 30
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-21161N EZ-KIT Lite Evaluation System Manual...
Page 31
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-21161N EZ-KIT Lite Evaluation System Manual...
Page 32
Figure 1-7. Windows 98 – Opening .SYS File 9. In Drives, select your CD-ROM drive. 10. Click OK. The Copying Files dialog box (Figure 1-8) appears. Figure 1-8. Windows 98 – Copying .SYS File 1-10 ADSP-21161N 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-21161N 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 Visu- alDSP++ 3.5 Installation Quick Reference Card for a detailed 1-12 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 35
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-21161N EZ-KIT Lite Evaluation System Manual 1-13...
2. Press and release the RESET button ( ) on the evaluation board. 3. Verify that the red DSP RESET LED ( ) blinks once and then LED8 blinks again in 15 seconds. 1-14 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 37
PC. When Windows 98 is booted and you are logged on, re-connect the USB cable to the board. The operation should continue normally from this point. ADSP-21161N EZ-KIT Lite Evaluation System Manual 1-15...
4. Click New Session. 5. The New Session dialog box, shown in Figure 1-13, appears on the screen. Figure 1-13. New Session Dialog Box 6. In Debug Target, choose EZ-KIT Lite (ADSP-21161N). 1-16 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 39
7. In Processor, choose the appropriate processor, ADSP-21161N. 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. ADSP-21161N EZ-KIT Lite Evaluation System Manual 1-17...
Page 40
Installation Tasks 1-18 ADSP-21161N 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-21161N 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.
The configuration of internal SRAM is detailed in the ADSP-21161 SHARC Processor Hardware Reference. The ADSP-21161N EZ-KIT Lite board contains 512K x 8-bits of exter- nal Flash memory. The Flash memory is connected to the processors’s memory select pins.
The SDRAM registers are configured automatically through the debugger. Checking the Manual External Mem configuration box in the Target Options dialog box, as shown in Figure 2-1 on page 2-10, disables the automatic setting. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
FLAG3 FLAG3 input. connect to LEDs on the EZ-KIT Lite FLAG4–FLAG9 LED2–LED7 FLAG4–9 board and are for user output. Not connected Not available FLAG10 FLAG11 are available on connector FLAG0–FLAG3 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Digital audio JP11 input can be provided on either a single RCA mono jack ( ) or an optical input connector ( determines the source. Three of the stereo out- ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 47
AD1836, depending on the setting of jumpers. See “MIC Gain Selection Jumpers (JP9–10)” on page 3-8 “ADC1 Input Selec- tion Jumper (JP11)” on page 3-9 for more information. Two RCA jacks ADSP-21161N EZ-KIT Lite Evaluation System Manual...
This signal may also be used by interpolation filters to provide error correction. Example Programs Example programs are provided with the ADSP-21161N 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 .
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-21161N EZ-KIT Lite evaluation system. ADSP-21161N 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. 2-10 ADSP-21161N 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-21161N EZ-KIT Lite Evaluation System Manual 2-11...
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 2-12 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Each of the three tabs in the Hardware Breakpoints dialog box has com- mon attributes. The common attributes are described in Table 2-8. Global Hardware Breakpoint Options For ADSP-21161N DSPs, the options listed in Table 2-9 apply to all hardware breakpoints, regardless of their type. ADSP-21161N EZ-KIT Lite Evaluation System Manual 2-13...
. 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. 2-14 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
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 ADSP-21161N EZ-KIT Lite Evaluation System Manual 2-15...
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 2-16 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Enables IO breakpoints. IO breakpoints are triggered by accesses made on the IO Address Bus. Use an IO breakpoint to break on accesses made dur- ing DMA transfers, MMS accesses, and Host accesses. ADSP-21161N EZ-KIT Lite Evaluation System Manual 2-17...
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. 2-18 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
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. ADSP-21161N EZ-KIT Lite Evaluation System Manual 2-19...
Page 60
Using EZ-KIT Lite VisualDSP++ Interface 2-20 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
This chapter describes the hardware design of the ADSP-21161N EZ-KIT Lite board. The following topics are covered. • “System Architecture” on page 3-2 Describes the configuration of the ADSP-21161N EZ-KIT Lite board and explains how the board components interface with the processor. •...
A 25 MHz through-hole oscillator supplies the input clock to the proces- sor. Footprints are provided on the board for a surface-mount oscillator and a through-hole crystal for alternate user-installed clocks. The speed at ADSP-21161N EZ-KIT Lite Evaluation System Manual...
AD1836 codec ( ). A 3.5 mm SPORT0 SPORT2 stereo jack and four RCA mono jacks facilitate an audio input, while a 3.5 mm stereo jack and eight RCA mono jacks facilitate an audio output. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
• All board voltages and grounds • Package footprints: 1x SOIC16 1x SOIC20 4x SOT23-6 1x PSOP44 2x SOT23 27x 0805 Analog Devices does not support and is not responsible for the effects of additional circuitry. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
14-pin header. 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 (P12)” on page 3-19.
JP10: Mic Gain Left JP7: ADC2 Input Mode Left JP8: ADC2 Input Mode Right Figure 3-2. Jumper Locations MCLK Selection Jumper (JP3) jumper is used to select the MCLK source for the AD1836 and AD1852. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
SPI can no longer communicate with the AD1852. Sample Frequency Jumper (JP6) jumper is used to select the sample frequency for the AD1852 device. Table 3-3 shows the valid frequency modes. ADSP-21161N EZ-KIT Lite Evaluation System Manual...
JP10 microphone circuit (see Table 3-5). The gain for the left and right channel should be configured the same. Table 3-5. MIC Pre Amp Gain Jumper Position Gain Not Installed 0 dB ADSP-21161N EZ-KIT Lite Evaluation System Manual...
. The jumper settings are illustrated in Table 3-6). (The words are on the board as a LINE reference.) Table 3-6. Audio Input Jumper Settings Microphone Input Stereo LINE_IN (Default) JP11 JP11 LINE LINE ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Pins 5 & 6 Ratio Clock Ratio Not installed Installed Installed Not installed Installed Not installed Not installed Not installed Installed 1x (default) Installed Installed Installed Installed Installed Not installed Installed Not installed Installed ADSP-21161N EZ-KIT Lite Evaluation System Manual 3-11...
JP26 SW2 Enable Jumper (JP27) push button is attached though a driver to of the processor. FLAG1 To disconnect the driver from (for example, to use as an output), FLAG1 remove JP27 3-12 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
LED indicates that there is a possible error in the audio stream VERF of the CS8414 digital receiver. The error may occur when digital audio cables disconnect from the optical or coaxial SPDIF connectors. 3-14 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Three push buttons are provided for general-purpose user interrupts. SW5– connect to the processor’s programmable FLAG pins. The push but- tons are active “ ” and, when pressed, send a to the HIGH High (1) ADSP-21161N EZ-KIT Lite Evaluation System Manual 3-15...
This section describes the connector functionality and provides informa- tion about mating connectors. Figure 3-4 shows the connector locations. USB Connector (P2) The USB connector ( ) is a standard Type B USB receptacle. 3-16 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 77
EZ-KIT Lite Hardware Reference Figure 3-4. Connector Locations Part Description Manufacturer Part Number Type B USB receptacle Mill-Max 897-30-004-90-000 Digi-Key ED90003-ND Mating Connector (provided with the EZ-KIT Lite) USB cable Assmann AK672-5 Digi-Key AK672-5ND ADSP-21161N EZ-KIT Lite Evaluation System Manual 3-17...
A 40-pin 0.05' spacing connector provides access to some of the proces- sor’s External Port signals. By default, this connector is not populated. Part Description Manufacturer Part Number 40-pin 0.05’ (male) Samtec FTSH-120-01-F-D-K Mating Connector Female to female cable Samtec FFSD-20-D-5.000-01-N 3-18 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Berg 54102-T08-07 Link Port Connectors (P13–14) Each link port is connected to a 26-pin connector. Refer to EE-106 found on the ADI website at for more information http://www.analog.com about the link port connectors. ADSP-21161N EZ-KIT Lite Evaluation System Manual 3-19...
Power Connector (P16) The power connector ( ) provides all of the power necessary to operate the EZ-KIT Lite board. Part Description Manufacturer Part Number 2.5 mm Power Jack ( SWITCHCRAFT RAPC712 Digi-Key SC1152-ND 3-20 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Center pin +7V@2 amps Outer Ring Board Current Measurements The ADSP-21161N EZ-KIT Lite board provides two zero-ohm resistors that may be removed to measure current draw. Table 3-14 shows the resis- tor number, the voltage plane, and a description of the components on the plane.
Page 82
Specifications 3-22 ADSP-21161N EZ-KIT Lite Evaluation System Manual...
Page 93
ADSP-21161 EZ-KIT LITE Schematic ANALOG 20 Cotton Road Nashua, NH 03063 DEVICES Title 21161N EZ-KIT LITE - TITLE PAGE Approvals Date Drawn Size Board No. Checked A0157-2000 Engineering Date Sheet 1 OF 24 11-13-2003_11:40...
Page 96
A[0:18] D[16:23] 3.3V R175 JP22 SJ32 SHORTING JUMPER DEFAULT=INSTALLED IDC2X1 74LVC00AD 74LVC14A SOIC14 SOIC14 INSTALL JUMPER TO READ/WRITE OR BOOT FROM FLASH REMOVE JUMPER WHEN USING SPI OR NO BOOT MODE M29W040B PLCC32RS FLASH 512K X 8 ANALOG 20 Cotton Road Nashua, NH 03063 DEVICES Title...
Page 97
3.3V R184 R188 R189 R191 4.7K 4.7K 4.7K 4.7K 3.3V USB_TMS USB_TCK TRST R187 USB_TRST USB_TDI R165 4.7K QS3257Q QSOP16 USB_EMU IDC7X2 JTAG HEADER PIN 3 SHOULD BE CUT QS3257Q QSOP16 JTAG HEADER CIRCUIT FOR EZ-KIT LITE ONLY REFER TO EE-68 FOR STANDARD JTAG HEADER CONNECTION.
Page 98
AUDIO_OSC R176 MCLK SHORTING JUMPER DEFAULT=2&3 IDC3X1 MCLK SOURCE FOR AD1836 AND AD1852 DSDATA2 SDATA INSTALL JUMPER ON 1 & 2 TO USE AUDIO OSCILALTOR DLRCLK FSYNC INSTALL JUMPER ON 2 & 3 TO USE CS8414 MCK DBCLK FER2 0.01UF 1206 VERF VERF...
Page 99
INSTALL JUMPER TO CONNECT CODEC TO SPI PORT (JP12 & JP13 NOT INSTALLED) REMOVE JUMPER TO USE FLAG0 FOR PUSH BUTTON OR EXPANSION HEADER ODVDD IS CONNECTED TO 3.3V 3.3V 3.3V SD0A ASDATA1 OUT1L+ OUT1L+ DAC1 LEFT ASDATA2 ASDATA2 OUT1L- OUT1L- SHORTING JUMPER...
Need help?
Do you have a question about the ADSP-21161N EZ-KIT Lite and is the answer not in the manual?
Questions and answers