Analog Devices ADSP-2189M EZ-KIT Lite Manual
Analog Devices ADSP-2189M EZ-KIT Lite Manual

Analog Devices ADSP-2189M EZ-KIT Lite Manual

Evaluation system
Table of Contents

Advertisement

Quick Links

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
a

Advertisement

Table of Contents
loading
Need help?

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

Subscribe to Our Youtube Channel

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;...
  • Page 3: Table Of Contents

    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/...
  • Page 10: Purpose Of This Manual

    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.
  • Page 11: Manual Contents

    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.
  • Page 12: Technical Or Customer Support

    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...
  • Page 13: Myanalog.com

    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.
  • Page 14: Related Documents

    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...
  • Page 15: Online Documentation

    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.
  • Page 16: Hardware 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.
  • Page 17: Notation Conventions

    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...
  • Page 19: Getting Started

    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.
  • Page 20: Contents Of Ez-Kit Lite Package

    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 •...
  • Page 21: System Requirements

    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.
  • Page 22: Setting Up Ez-Kit Lite Hardware

    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.
  • Page 23: Installing Visualdsp++ And Ez-Kit Lite Software

    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...
  • Page 24: Installing Visualdsp++ License

    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.
  • Page 25: Using Ez-Kit Lite Software

    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.
  • Page 26: Ez-Kit Lite License Restrictions

    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.
  • Page 27: Standard Operations

    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...
  • Page 28: Input And Output Devices

    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,...
  • Page 29: Serial Ports

    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...
  • Page 30: Memory Checks

    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...
  • Page 31: Ad73322 Codec Check And Initialization

    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...
  • Page 32: Halt Loop

    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...
  • Page 33: Command Processing

    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...
  • Page 34: Ad73322 Codec Transmissions

    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...
  • Page 35: Using Ez-Kit Lite Visualdsp++ Interface

    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 •...
  • Page 36: Starting Visual Dsp

    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...
  • Page 38: Debugging With Ez-Kit Lite

    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...
  • Page 39: Setting Breakpoints And Stepping

    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...
  • Page 40: Example Programs

    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 41: Talkthrough

    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...
  • Page 43: Ez-Kit Lite Hardware Reference

    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.
  • Page 44: System Architecture

    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...
  • Page 45: Board Layout

    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...
  • Page 46: User Leds

    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...
  • Page 47: Mode Selection Switch

    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...
  • Page 49: Connectors

    • 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...
  • Page 51: Expansion Port Connectors

    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...
  • Page 52 IRQL1/PF6 A3/IAD2 IRQ2/PF7 A4/IAD3 A5/IAD4 IOMS TFS0 A6/IAD5 RFS0 A7/IAD6 CLKOUT A8/IAD7 SCLK0 A9/IAD8 A10/IAD9 TFS1 A11/IAD10 RFS1 A12/IAD11 A13/IAD12 SCLK1 D0/IAD13 RESET D1/IAD14 PWDACK D2/IAD15 D3/IACK MODE_A/PF0 D4/IS MODE_B/PF1 D5/IAL D6/IRD MODE_C/PF2 3-10 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 53: Power Connector

    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...
  • Page 54: European Power Supply Connections

    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...
  • Page 56: Designing Ez-Ice Compatible Systems

    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...
  • Page 57: Hardware Debugging

    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...
  • Page 61 T0220 HEX INVER SCHMITT 74LVC14AD SOIC14 TRIGGER AUDIO OP AMP AD8058AR SOIC8 16.384 MHZ OSCILLA- EC1300HS-16384M DIP8 512K 3V FLASH AT49BV040 PLCC32 10uF 25V 10% TAJD106K025R CT18 1000pF 50V 5% 12065A102JATMA 1206 C11, C12 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 62 R13, R18 47K OHMS 1/8W 5% CR32-473F-T 1206 R21, R22 0.33uf 35V 10% TAJA334K035R CT3, CT5, CT9 220pf 50V 10% 12065A221JAT2A 1206 C3, C4 FERRITE BEAD BLM31P500SPT 1206 FB6, FB7 FERRITE BEAD BLM11A601SPT FB1–FB4 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 63 LED5 LED GREEN P504CT-ND LED1 MOMENTARY EVQ-QS205K SW1, SW2 SWITCH 1uF 25V 20% ECS-T1EY105R CT2, CT4, CT7, CT8, CT14 IDC 2X1 68001-402H JP1, JP2, JP4, JP5, JP6, JP7 IDC 3X1 S1012-03 IDC 3X2 PTC03DAANR ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 64 IDC 7X2 PTC07DAAN 3.5mm MINI STEREO ST-323-5 3.5mm J1, J2 JACK ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 74 VisualDSP++ interface, 2-11 memory select (BMS), ADSP-2189M processor modes, internal memory restrictions, process, 3-14 ADSP-2189M processors booting mode selection, programs, 3-13 analog selecting modes, ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 75 P4 (expansion), external P5 (expansion), clock, -viii P6 (EZ-ICE), interrupt, P7 (power), 1-4, port, 3-11 P8 (RS-232), 1-4, 3-9, 3-15 EZ-ICE conventions, manual, -xvii (in-circuit emulator), -ix, 3-12 convolution filter, 2-16 compatible systems, 3-14 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 76 JP1 (codec) connector, 2-5, 3-8, 3-15 JP2 (codec) connector, 1-5, port interface, 3-12 JP3 (codec) connector, 1-5, 3-8, 3-12 session, 2-12, JP4 (line in gain) connector, ICNTL register, JP5 (line in gain) connector, IMASK registers, ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 77 (J4), 3-11 source, -viii specifications, 3-12 memory supply, 1-2, 3-15 buffer, 2-16 primes program, 2-16 checking, 2-6, 2-14, 3-13 program map, booting, 3-13 microphone execution, amplifier, memory, 2-2, input, size, microphone inputs, -viii storage, ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 78 -viii, -ix, 1-2, UART, setting Timer ISR, 2-4, 2-8, breakpoints, 2-15, 3-13 TPERIOD register, 2-17 hardware, transmitted loop back routine, shorting jumper, TX interrupt, 2-10 simulator session, 2-12 ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 79 INDEX UART, VisualDSP++, baud rate, documentation, -xvi initializing, installation, ISR, interface, 2-11 protocol, 3-15 license, test protocol, online Help, user LEDs requirements, see LEDs ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 80 INDEX ADSP-2189M EZ-KIT Lite Evaluation System Manual...
  • Page 81 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Analog Devices Inc. ADZS-2189M-EZLITE...

Table of Contents