Summary of Contents for Analog Devices ADSP-2189M EZ-KIT Lite
Page 1
ADSP-2189M EZ-KIT Lite ® Evaluation System Manual Revision 2.1, October 2003 Part Number 82-000333-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;...
Related Documents ..............xiv Online Documentation ............. xv Printed Manuals ............... xvi VisualDSP++ Documentation Set ......... xvi Hardware Manuals ............... xvi Data Sheets ................xvi Contacting DSP Publications ........... xvii Notation Conventions ..............xvii ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 4
POST Routines ............... 2-5 Memory Checks ..............2-6 UART Check and Initialization ........... 2-6 AD73322 Codec Check and Initialization ......2-7 Monitor Program Operations ..........2-7 Halt loop ................2-8 UART ISR ................. 2-8 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 5
IRQE ................2-16 Overlay ................2-16 Primes ................2-16 TalkThrough ..............2-17 Timer ................2-17 EZ-KIT LITE HARDWARE REFERENCE System Architecture ..............3-2 Board Layout ................3-3 Flash Memory ................. 3-3 User LEDs ................3-4 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 6
Expansion Port Connectors ............. 3-9 Power Connector ..............3-11 European Power Supply Connections ........ 3-12 AD73322 Codec Connectors ..........3-12 EZ-ICE Connector ............... 3-12 Designing EZ-ICE Compatible Systems ........3-14 Hardware Debugging ............3-15 RESTRICTIONS BILL OF MATERIALS ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 7
PREFACE ® Thank you for purchasing the ADSP-2189M EZ-KIT Lite , Analog Devices (ADI) evaluation system for ADSP-2189 DSPs. The ADSP-2189M DSP is a single-chip microcomputer optimized for digital signal processing (DSP) and other high-speed numeric processing applications. The evaluation board is designed to be used in conjunction with VisualDSP++™...
Page 8
One stereo pair of 1V RMS AC coupled line-level outputs • Power Source 7.5V DC (+ or -5%) at 4.0 Amps (maximum) • Environment 0 to 70 centigrade 10 to 90 percent relative humidity (non condensing) • RS-232 Interface viii ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 9
Lite. Through the EZ-ICE, you can load programs, start and stop pro- gram execution, observe and alter registers and memory, and perform other debugging operations. To learn more about Analog Devices emula- tors and DSP development tools, go to http://www.analog.com/dsp/tools/...
PC. This manual provides guidelines for running your own code on the ADSP-2189M EZ-KIT Lite. The manual also describes the operation and configuration of the evaluation board’s components. Finally, a bill of materials is provided as a reference for future ADSP-2189M board designs.
Provides a list of components used to manufacture the EZ-KIT Lite. What’s New in This Manual This is the second revision of the ADSP-2189M EZ-KIT Lite Evaluation System Manual. The manual provides the updated listing of related docu- ments, updated installation procedure and Bill of Materials, and additional information on the processor’s internal memory.
Supported Processors The ADSP-2189MEZ-KIT Lite evaluation system supports ADSP-2189M Analog Devices microprocessors. Product Information You can obtain product information from the Analog Devices website, from the product CD-ROM, or from the printed publications (manuals). ADSP-2189M 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.
VisualDSP++ 3.5 Linker & Utilities Manual for Description of the linker function and com- 16-Bit Processors mands for 16-bit processors. VisualDSP++ 3.5 Loader Manual for 16-Bit Description of the loader/splitter function and Processors commands for 16-bit processors. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Windows task bar and select Start -->Programs -->VisualDSP -->Visu- alDSP++ Documentation. To view ADSP-2189M 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 --> ADSP-BF533 EZ-KIT Lite.
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-2189M EZ-KIT Lite Evaluation System Manual xvii...
Page 18
Notation Conventions xviii ADSP-2189M EZ-KIT Lite Evaluation System Manual...
1 GETTING STARTED This chapter provides the information you need to begin using ADSP-2189M EZ-KIT Lite evaluation system. For correct operation, install the software and hardware in the order presented in “Installation Tasks” on page 1-3. The chapter includes the following sections.
Contents of EZ-KIT Lite Package Contents of EZ-KIT Lite Package Your ADSP-2189M EZ-KIT Lite evaluation system package contains the following items. • ADSP-2189M EZ-KIT Lite board • Power cable with 7.5V DC power supply • RS-232 serial port 9-pin cable •...
Installation Tasks The following task list is provided for the safe and effective use of the ADSP-2189M EZ-KIT Lite. Follow these instructions in the presented order to ensure correct operation of your software and hardware. 1. EZ-KIT Lite hardware setup VisualDSP++ and EZ-KIT Lite soft- ware installation 2.
Store unused EZ-KIT Lite boards in the protective shipping package. The ADSP-2189M EZ-KIT Lite board is designed to run outside your personal computer as a stand-alone unit. You do not have to remove your computer case.
4. At the Custom Setup screen, select your EZ-KIT Lite from the list of available systems and choose the installation directory. Click an icon in the Feature Description field to see the selected system’s description. When you have finished, click Next. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
1. Locate the serial number provided on the sticker affixed to the CD sleeve and the registration form. 2. From the Start menu, choose Programs, Analog Devices, Visu- alDSP++ 3.5 for 16-bit Processors, VisualDSP++ Environment. 3. The information screen asks if you would like to install a license.
Describes the restrictions of the VisualDSP++ license shipped with the EZ-KIT Lite. • “Memory Map” on page 2-2 Defines the ADSP-2189M EZ-KIT Lite board’s memory map. • “Standard Operations” on page 2-3 Covers the standard operation of the EZ-KIT Lite board.
VisualDSP++ with a kit license. Memory Map The ADSP-2189M EZ-KIT Lite board contains 80K bytes configured as 16K x 24 program memory and 16K x 16 of internal SRAM that can be used for either program or data storage.
2-2. You can change the settings in the dialog box that appears the first time you start VisualDSP++. Table 2-2. User Configurable EZ-KIT Lite Settings Selection Default Setting Comm Port Comm 1 Baud rate 57600 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
LED. This lets you visually inspect states of your program. The other nine programmable flags (PFs) connect to the expansion area. Interrupts The ADSP-2189M EZ-KIT Lite has one external interrupt connected through a push button switch, . This corresponds to an external inter- rupt,...
POST Routines Power On Self-Test (POST) routines are a series of standard tests and ini- tializations that the ADSP-2189M EZ-KIT Lite performs on a power-on reset. To perform a power-on reset, disconnect power to the board for at ADSP-2189M EZ-KIT Lite Evaluation System Manual...
This test determines whether the EZ-KIT Lite board is set to the correct baud rate and verifies the external connections between the board and the host. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Using the EZ-KIT Lite as a target with the debugger lets you operate the board remotely. There are three main components of the monitor program: • “Halt loop” • “UART ISR” • “Command Processing” ADSP-2189M EZ-KIT Lite Evaluation System Manual...
The following restrictions should be observed to ensure correct board operation. • The host loses contact with the monitor while the user program is running if the user program disables the interrupt or changes Timer interrupt vector. Timer ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Lite to demonstrate some basic codec operations. It is recommended that you model your code using these examples. " Once the codec has been initialized, you must use a hard reset to re-initialize it. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
DSP. The DSP then moves the data (from the users circular buffer) into SPORT0s TX buffer and clocks it into the codec. 2-10 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Using EZ-KIT LITE Software Using EZ-KIT Lite VisualDSP++ Interface This section outlines the process of developing, loading, and running the ADSP-2189M EZ-KIT Lite example programs supplied with Visu- alDSP++ software: • “Developing Programs” on page 2-11 • “Starting Visual DSP++” on page 2-12 •...
The size of the DSP executable that you can build using the EZ-KIT Lite tools is limited to 8K. Do not run more than one ADSP-2189M EZ-KIT Lite session in the debugger at any one time. You may run an EZ-KIT Lite session and a simulator or ICE session at the same time or you can open two debugger interfaces to run more than one EZ-KIT Lite session.
Page 37
LEDs do dark (except for the power LED) before going to the next step. 9. Click OK The initialization completes and the disassembly window opens. The code in the disassembly window is the EZ-KIT Lite monitor program. ADSP-2189M EZ-KIT Lite Evaluation System Manual 2-13...
Registers and Memory To see current values in registers and memory, use the F12 key or the Window, Refresh command. Register and memory contents may not be changed while the user program is running. 2-14 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
2. Press the reset button. Wait approximately three seconds for the LEDs (except the power LED) to go dark. 3. Click OK. Do not use the reset button while the debugger is open unless the debugger requested to do so. ADSP-2189M EZ-KIT Lite Evaluation System Manual 2-15...
Do not run more than one ADSP-2189M EZ-KIT Lite session in the debugger at any one time. You may run an EZ-KIT Lite session and a simulator or ICE session at the same time or you can open two debugger interfaces to run more than one EZ-KIT Lite session.
TPERIOD and communications is lost with the host. " This interrupt will continue to be vectored to even after the pro- gram has halted. ADSP-2189M EZ-KIT Lite Evaluation System Manual 2-17...
Page 42
Using EZ-KIT Lite VisualDSP++ Interface 2-18 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
This chapter discusses the hardware design of the ADSP-2189M EZ-KIT Lite board. The following topics are covered: • “System Architecture” on page 3-2 Illustrates the configuration of the ADSP-2189M EZ-KIT Lite board. • “EZ-KIT Lite Board Layout” on page 3-3 Shows the location and describes the function of the configuration jumpers, switches, and user LEDs.
A D 7 3 32 2 C O D E C L IN E IN /L IN E O U T M IC C O N N E C T O R S Figure 3-1. ADSP-2189M EZ-KIT Lite System Block Diagram ADSP-2189M EZ-KIT Lite Evaluation System Manual...
32 words are loaded. You can change the mode of operation using the toggles on the mode DIP switch (SW3). Refer to the ADSP-218x DSP Hardware Reference and data sheet for more information on the processor’s boot modes. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
ADSP-2189M processor and the AD7322 codec to enter the hardware reset state and remain there until it is released. The switch outputs are de-bounced electronically to prevent multi- ple transitions due to mechanical contact bounce. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Full Memory Mode. BDMA can still be used but the 7 MODE C = 0 processor does not automatically use or wait for these opera- tions. 6 MODE B = 1 5 MODE A = 0 CONFIGURATION TYPE 2 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 48
0 is written to. The ADSP-2189M is configured in 7 MODE C = 1 Host Mode. has an active pull-down. IACK 6 MODE B = 0 5 MODE A = 1 CONFIGURATION TYPE 4 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
• The connector is a 1/8 inch (3.5 mm) stereo jack. This jack is used to bring out line level audio signals from the board. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 50
3-pin header that varies the I/O voltage to the DSP. For 2.5 volt operation, the jumper is placed on 2 and 3. For 3.3 volt operation, the jumper is placed on 1 and 2. • The connector is restricted. ADSP-2189M EZ-KIT Lite Evaluation System Manual...
In addition, all interrupts, bus signals, signals are available through the expansion port. The pin PWT_EVENT numbers on these connectors are arranged as follows. Figure 3-3. Expansion Connector ADSP-2189M EZ-KIT Lite Evaluation System Manual...
EZ-KIT Lite board, replace it with one that has the connections shown in Table 3-3. Table 3-3. Power Connection Terminal Connection Center pin 7.5 VDC @ 4 amps Outer ring ADSP-2189M EZ-KIT Lite Evaluation System Manual 3-11...
The ADSP-218x EZ-ICE Emulator aids the hardware debugging of an ADSP-2189M system. The emulator consists of hardware, host computer resident software, and the target board connector. The ADSP-2189M integrates on-chip emulation support with a 14-pin ICE-Port interface 3-12 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 55
• Instruction-level emulation of program booting and execution • Complete assembly and disassembly of instructions • C source-level debugging The EZ-ICE header is a 14-pin header with the connections shown in Figure 3-4. ADSP-2189M EZ-KIT Lite Evaluation System Manual 3-13...
The board is a com- plete signal processing system designed to demonstrate the capabilities of the ADSP-2189M digital signal processor. It can also be used as a plat- form to develop new applications targeting ADSP-2189M processors. 3-14 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
8V to 10V DC. Also, make sure that there are no objects beneath or on top of the board that may be causing a short circuit. Hit the reset button ( ) if the board appears to be operating improperly. ADSP-2189M EZ-KIT Lite Evaluation System Manual 3-15...
Page 58
Designing EZ-ICE Compatible Systems 3-16 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
Page 59
This causes the debugger to stop communicating. 5. Do not run more than one ADSP-2189M EZ-KIT Lite session in the debugger at any one time. You may run an EZ-KIT Lite session and a simulator or ICE session at the same time or you can open two debugger interfaces to run more than one EZ-KIT Lite session.
Page 60
ADSP-2181 EZ-KIT Lite Evaluation System Manual...
Need help?
Do you have a question about the ADSP-2189M EZ-KIT Lite and is the answer not in the manual?
Questions and answers