ANALOG DEVICES ADSP-2181 Service Manual

ADSP-2181 EZ-KIT Lite
®
Evaluation System Manual
Analog Devices, Inc. One Technology Way Norwood, Mass. 02062-9106
Revision 2.1, October 2003
Part Number
82-000543-01
a
Copyright Information
© 2003 Analog Devices, Inc., ALL RIGHTS RESERVED. This docu­ment may not be reproduced in any form without prior, express written consent from Analog Devices, Inc.
Printed in the USA.
Limited Warranty
The EZ-KIT Lite evaluation system is warranted against defects in materi­als 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 impli­cation or otherwise under the patent rights of Analog Devices, Inc.
Trademark and Service Mark Notice
The Analog Devices logo, Blackfin, and EZ-KIT Lite are registered trade­marks of Analog Devices, Inc.
VisualDSP++ is a trademark of Analog Devices, Inc. All other brand and product names are trademarks or service marks of
their respective owners.

CONTENTS

PREFACE
Purpose of This Manual .................................................................. ix
Intended Audience ........................................................................... x
Manual Contents ............................................................................. x
What’s New in This Manual ............................................................ xi
Technical or Customer Support ....................................................... xi
Supported Processors ...................................................................... xii
Product Information ..................................................................... xiii
MyAnalog.com ........................................................................ xiii
DSP Product Information ........................................................ xiii
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-2181 EZ-KIT Lite Evaluation System Manual iii
CONTENTS
GETTING START ED
Contents of EZ-KIT Lite Package ................................................. 1-2
System Requirements .................................................................... 1-3
Installation Tasks .......................................................................... 1-3
Setting Up EZ-KIT Lite Hardware .......................................... 1-4
Installing VisualDSP++ and EZ-KIT Lite Software .................. 1-5
Installing VisualDSP++ License ............................................... 1-6
USING EZ-KIT LITE SOFTWARE
EZ-KIT Lite License Restrictions .................................................. 2-2
Memory Map ............................................................................... 2-2
Standard Operations ..................................................................... 2-3
Default Settings ...................................................................... 2-3
Input and Output Devices ....................................................... 2-3
Flags .................................................................................. 2-4
Interrupts ........................................................................... 2-4
Serial Ports ......................................................................... 2-5
POST Routines ....................................................................... 2-5
Memory Checks ................................................................. 2-6
UART Checks .................................................................... 2-6
AD1847 Codec Check and Initialization ............................. 2-7
Monitor Program Operations .................................................. 2-7
Halt loop ........................................................................... 2-7
UART ISR ......................................................................... 2-8
iv ADSP-2181 EZ-KIT Lite Evaluation System Manual
CONTENTS
Command Processing .......................................................... 2-8
Software Breakpoints ............................................................... 2-9
AD1847 Codec Dual Analog Front End ................................... 2-9
AD1847 Codec Transmissions ................................................. 2-9
Using EZ-KIT Lite VisualDSP++ Interface .................................. 2-10
Developing Programs ............................................................. 2-10
Starting Visual DSP++ ........................................................... 2-11
Debugging With EZ-KIT Lite ............................................... 2-13
Loading Programs .................................................................. 2-13
Registers and Memory ....................................................... 2-14
Setting Breakpoints and Stepping ...................................... 2-14
Resetting EZ-KIT Lite Board ............................................ 2-14
Example Programs ................................................................. 2-15
ADPCM ........................................................................... 2-15
DTMF ............................................................................. 2-15
ECHO ............................................................................. 2-15
FIRDEMO ....................................................................... 2-16
LPC2K4 ........................................................................... 2-16
LPC7K8 ........................................................................... 2-16
PRIMES ........................................................................... 2-17
EZ-KIT HARDWARE REFERENCE
System Architecture ...................................................................... 3-2
Board Layout ................................................................................ 3-3
Socketed Memory .................................................................... 3-4
ADSP-2181 EZ-KIT Lite Evaluation System Manual v
CONTENTS
User LEDs .............................................................................. 3-4
Switches .................................................................................. 3-4
Connectors ................................................................................... 3-5
Expansion Port Connectors ..................................................... 3-7
Power Connector .................................................................... 3-9
European Power Supply Connections .................................. 3-9
AD1847 Codec Connectors .................................................... 3-9
EPROM Jumper Settings ...................................................... 3-10
EZ-ICE Connector ............................................................... 3-12
Hardware Operation ............................................................. 3-13
Hardware Debugging ............................................................ 3-13
Designing EZ-ICE Compatible Systems ...................................... 3-14
RESTRICTIONS BILL OF MATERIALS INDEX
vi ADSP-2181 EZ-KIT Lite Evaluation System Manual

PREFACE

Thank you for purchasing the ADSP-2181 EZ-KIT Lite®, Analog Devices (ADI) evaluation system for ADSP-2181 DSPs.
The ADSP-2181 DSP is a single-chip microcomputer optimized for digi­tal signal processing (DSP) and other high-speed numeric processing applications.
The evaluation board is designed to be used in conjunction with VisualDSP++™ development environment to test the capabilities of the ADSP-2181 DSPs. The VisualDSP++ software 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-2181 assembly
Load, run, step, halt, and set breakpoints in application program
Read and write data and program memory
Read and write core and peripheral registers
Plot memory
You can access the ADSP-2181 processor from a personal computer (PC) through a serial port or an optional emulator. The monitor program gives you complete target debug capability through the serial port. In contrast, the emulator allows the PC to perform in-circuit emulation through the processor’s emulation port.
ADSP-2181 EZ-KIT Lite Evaluation System Manual vii
The boards features:
Analog Devices ADSP-2181SK-133 processor
! Operating at an instruction rate of 33 MHz (16.667 exter-
nal clock)
Analog Audio Interface
! AD1847 – Analog Devices stereo codec
Analog Inputs
! One stereo pair of 2V RMS AC coupled line-level inputs ! One stereo pair of 20 mV RMS AC coupled microphone
inputs
Analog Outputs
! One stereo pair of 1V RMS AC coupled line-level outputs
Power Source
! 8 to 10V DC at 300 mA
Environment
! 0 to 70 ! 10 to 90 percent relative humidity (non condensing)
o
centigrade
RS-232 Interface
Socketed EPROM
User push buttons
Expansion connectors
User configurable jumper
viii ADSP-2181 EZ-KIT Lite Evaluation System Manual
Preface
The ADSP-2181 EZ-KIT Lite board is equipped with hardware that facil­itates interactive demonstrations. Push button switches and user programmable LEDs provide user control and board status checking. Additionally, the AD1847 SoundPort codec provides access to an audio input (selectable as line level or microphone) and an audio output (line level). To learn more about AD1847 codec, refer to the AD1847 General Purpose Analog Front End data sheet found at
http://www.analog.com/Uploaded­Files/Obsolete_Data_Sheets/1215246AD1847.pdf
The ADSP-2181 EZ-KIT Lite includes a monitor program stored in the socketed EPROM. The monitor program lets the board communicate over the serial port to a PC. This monitor program lets you download, execute, and debug ADSP-2181 programs.
You can also connect an EZ-ICE (in-circuit emulator) to the EZ-KIT 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/.
.
Additionally, the EZ-KIT Lite provides user installed expansion connec­tors that let you examine processor signals, as well as provide an interface for host control.
"
The VisualDSP++ licence provided with this EZ-KIT Lite evalua­tion system limits the size of a user program to 8K bytes of internal memory.

Purpose of This Manual

The ADSP-2181 EZ-KIT Lite Evaluation System Manual provides instruc- tions for using the hardware and installing the software on your PC. This manual provides guidelines for running your own code on the
ADSP-2181 EZ-KIT Lite Evaluation System Manual ix

Intended Audience

ADSP-2181 EZ-KIT Lite. The manual also describes the operation and configuration of the evaluation board’s components. Finally, a bill of materials are provided as a reference for future ADSP-2181 board designs.
Intended Audience
This manual is a user’s guide and reference to the ADSP-2181 EZ-KIT Lite evaluation system. Programmers who are familiar with the Analog Devices processor architecture, operation, and programming are the pri­mary audience for this manual.
Programmers who are unfamiliar with Analog Devices 16-bit fixed-point processors can use this manual in conjunction with the ADSP-218x DSP Hardware Reference and the ADSP-218x DSP Instruction Set Reference, which describe the processor architecture and instruction set. Program­mers who are unfamiliar with VisualDSP++ should refer to the VisualDSP++ online Help and the VisualDSP++ user’s or getting started guides. For the locations of these documents, refer to “Related
Documents”.

Manual Contents

The manual consists of:
Chapter 1,“Getting Started” on page 1-1 Provides software and hardware installation procedures, PC system requirements, and basic board information.
Chapter 2, “Using EZ-KIT LITE Software” on page 2-1 Provides information on the EZ-KIT Lite from a programmer’s perspective and provides an easy-to-access memory map.
x ADSP-2181 EZ-KIT Lite Evaluation System Manual
Preface
Chapter 3, “EZ-KIT Hardware Reference” on page 3-1 Provides information on the hardware aspects of the evaluation system.
Appendix A, “Restrictions” on page A-1 Provides a list of restrictions applicable to Release 1.1 of the ADSP-2181 EZ-KIT Lite evaluation board.
Appendix B, “Bill Of Materials” on page B-1 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-2181 EZ-KIT Lite Evaluation Sys­tem Manual. The manual provides the updated listing of related
documents, updated installation procedure and Bill of Materials, and additional information on the processor’s internal memory.

Technical or Customer Support

You can reach DSP Tools Support in the following ways.
Visit the DSP Development Tools website at
www.analog.com/technology/dsp/developmentTools/index.html
Email questions to
dsptools.support@analog.com
Phone questions to 1-800-ANALOGD
Contact your ADI local sales office or authorized distributor
Send questions by mail to
ADSP-2181 EZ-KIT Lite Evaluation System Manual xi

Supported Processors

Analog Devices, Inc.
One Technology Way
P.O. Box 9106
Norwood, MA 02062-9106
USA
Supported Processors
The ADSP-2181 EZ-KIT Lite evaluation system supports ADSP-2181 Analog Devices microprocessors.
xii ADSP-2181 EZ-KIT Lite Evaluation System Manual
Preface

Product Information

You can obtain product information from the Analog Devices website, from the product CD-ROM, or from the printed publications (manuals).
Analog Devices is online at www.analog.com. Our website provides infor­mation about a broad range of products—analog integrated circuits, amplifiers, converters, and digital signal processors.

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. MyAnalog.com provides access to books, application notes, data sheets, code examples, and more.
Registration:
Visit www.myanalog.com to sign up. Click Register to use MyAnalog.com. Registration takes about five minutes and serves as means for you to select the information you want to receive.
If you are already a registered user, just log on. Your user name is your email address.

DSP Product Information

For information on digital signal processors, visit our website at
www.analog.com/dsp, which provides access to technical publications, data
sheets, application notes, product overviews, and product announcements.
ADSP-2181 EZ-KIT Lite Evaluation System Manual xiii
Product Information
You may also obtain additional information about Analog Devices and its products in any of the following ways.
Email questions or requests for information to
dsp.support@analog.com
Fax questions or requests for information to 1-781-461-3010 (North America) or +49 (0) 89 76903-157 (Europe)

Related Documents

For information on product related development software, see the follow­ing publications.
Table 1. Related DSP Publications
Title Description
ADSP-2181 DSP Microcomputer Data Sheet General functional description, pinout, and
timing.
ADSP-218x DSP Hardware Reference Description of internal processor architecture
and all register functions.
ADSP-218x DSP Instruction Set Reference Description of all allowed processor assembly
instructions.
Table 2. Related VisualDSP++ Publications
Title Description
VisualDSP++ 3.5 User’s Guide for 16-Bit Proces­sors
VisualDSP++ 3.5 Assembler and Preprocessor Manual for ADSP-218x and 219x Processors
VisualDSP++ 3.5 C Complier and Library Man­ual for ADSP-218x Processors
Detailed description of VisualDSP++ 3.5 fea­tures and usage.
Description of the assembler function and commands for processors.
Description of the complier function and com­mands for processors
xiv ADSP-2181 EZ-KIT Lite Evaluation System Manual
Table 2. Related VisualDSP++ Publications (Cont’d)
Title Description
Preface
VisualDSP++ 3.5 Linker & Utilities Manual for 16-Bit Processors
VisualDSP++ 3.5 Loader Manual for 16-Bit Processors
Description of the linker function and com­mands for 16-bit processors.
Description of the loader/splitter function and commands for 16-bit processors.
The listed documents can be found through online Help or in the folder of your VisualDSP++ installation. Most documents are available in printed form.
If you plan to use the EZ-KIT Lite board in conjunction with a
"
JTAG emulator, refer to the documentation that accompanies the emulator.

Online Documentation

Your software installation kit includes online Help as part of the Win­dows® interface. These help files provide information about VisualDSP++ and the ADSP-2181 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 -->Visu- alDSP++ Documentation.
Docs
To view ADSP-2181 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 --> ADSP-BF533 EZ-KIT Lite.
For more documentation, please go to
http://www.analog.com/technology/dsp/library.html.
ADSP-2181 EZ-KIT Lite Evaluation System Manual xv BookTitle2
Product Information

Printed Manuals

For general questions regarding literature ordering, call the Literature Center at 1-800-ANALOGD (1-800-262-5643) and follow the prompts.
VisualDSP++ Documentation Set
Printed copies of VisualDSP++ manuals may be purchased through Ana­log Devices Customer Service at 1-781-329-4700; ask for a Customer Service representative. The manuals can be purchased only as a kit. For additional information, call 1-603-883-2430.
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. The phone number is 1-800-ANALOGD (1-800-262-5643). The manuals can be ordered by a title or by product number located on the back cover of each manual.
Data Sheets
All data sheets can be downloaded from the Analog Devices website. As a general rule, printed copies of data sheets with a letter suffix (L, M, N, S) can be obtained from the Literature Center at 1-800-ANALOGD (1-800-262-5643) or downloaded from the website. Data sheets without the suffix can be downloaded from the website only—no hard copies are available. You can ask for the data sheet by part name or by product number.
xvi ADSP-2181 EZ-KIT Lite Evaluation System Manual
BookTitle2
Preface
If you want to have a data sheet faxed to you, the phone number for that service is 1-800-446-6212. Follow the prompts and a list of data sheet code numbers will be faxed to you. Call the Literature Center first to find out if requested data sheets are available.

Contacting DSP Publications

Please send your comments and recommendations on how to improve our manuals and online Help. You can contact us at
dsp.techpubs@analog.com .

Notation Conventions

The following table identifies and describes text conventions used in this manual.
"
Example Description Close command
(File menu) or OK
{this | that} Alternative required items in syntax descriptions appear within curly
[this | that] Optional items in syntax descriptions appear within brackets and sepa-
[this,…] Optional item lists in syntax descriptions appear within brackets delim-
PF9-0 Registers, connectors, pins, commands, directives, keywords, code exam-
filename Non-keyword placeholders appear in text with italic style format.
appear throughout this document.
Text in bold style indicates the location of an item within the VisualDSP++ environment’s and boards’ menu system and user interface items.
brackets separated by vertical bars; read the example as this or that.
rated by vertical bars; read the example as an optional
ited by commas and terminated with an ellipsis; read the example as an optional comma-separated list of
ples, and feature names are in text with
this or that.
this.
letter gothic font.
ADSP-2181 EZ-KIT Lite Evaluation System Manual xvii BookTitle2
Additional conventions, which apply only to specific chapters, may
Notation Conventions
Example Description
Note:
Caution:
A note providing information of special interest or identifying a related topic. In the online version of this book, the word Note appears instead of this symbol.
A caution providing information about critical design or programming issues that influence operation of a product. In the online version of this book, the word Caution appears instead of this symbol.
xviii ADSP-2181 EZ-KIT Lite Evaluation System Manual
BookTitle2

1 GETTING STARTED

This chapter provides the information you need to begin using ADSP-2181 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” on page 1-2 Provides a list of the components shipped with this EZ-KIT Lite evaluation system.
“System Requirements” on page 1-3 Describes the minimum requirements for the PC to work with the EZ-KIT Lite evaluation system.
“Installation Tasks” on page 1-3 Describes the step-by-step procedures for setting up the hardware and software.
ADSP-2181 EZ-KIT Lite Evaluation System Manual 1-1

Contents of EZ-KIT Lite Package

Contents of EZ-KIT Lite Package
Your ADSP-2181 EZ-KIT Lite evaluation system package contains the following items.
ADSP-2181 EZ-KIT Lite board
Power cable with 8-10V DC power supply
RS-232 serial port 9-pin cable
CD containing:
! VisualDSP++ for 16-bit processors with a limited license ! ADSP-2181 EZ-KIT Lite debug software ! Example programs ! ADSP-2181 EZ-KIT Lite Evaluation System Manual (this
document)
If any item is missing, contact the vendor where you purchased your EZ-KIT Lite or contact Analog Devices, Inc.
The EZ-KIT Lite evaluation system contains ESD (electrostatic discharge) sensitive devices. Electro­static 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.
1-2 ADSP-2181 EZ-KIT Lite Evaluation System Manual
Getting Started

System Requirements

For correct operation of the VisualDSP++ software and the EZ-KIT Lite, your computer must have the minimum configuration:
Windows® 98, ME, 2000, XP
Windows 98, ME, 2000, XP Windows NT 4.0, Service Pack 3 or later Pentium processor 166MHz or faster Pentium processor 166MHz or faster 100 MB available space 100 MB available space 16 MB RAM 16 MB RAM VGA Monitor and color video card VGA Monitor and color video card CD-ROM CD-ROM
Windows NT
TM

Installation Tasks

The following task list is provided for the safe and effective use of the ADSP-2181 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. VisualDSP++ and EZ-KIT Lite software installation
3. VisualDSP++ license installation
ADSP-2181 EZ-KIT Lite Evaluation System Manual 1-3
Installation Tasks

Setting Up EZ-KIT Lite Hardware

The EZ-KIT Lite evaluation system contains ESD (electrostatic discharge) sensitive devices. Electro­static 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-2181 EZ-KIT Lite board is designed to run outside your per­sonal computer as a stand-alone unit. You do not have to remove 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. Connect the RS-232 cable to an available Comm Port on the PC and to J3 on the ADSP-2181 evaluation board.
3. Plug the provided cord into a 120-Volt AC receptacle and plug the connector at the other end of the cable into J4 on the evaluation board. Visually verify that all of the LEDs light up briefly. The power (green) LED remains on and FL1 blinks. If the LED does not light up, check the power connections.
1-4 ADSP-2181 EZ-KIT Lite Evaluation System Manual
Getting Started
To configure your board to take advantage of the audio capabilities of the demos, use the following procedure.
1. Plug a set of self-powered computer speakers into jack
J1 on the
board. Turn on the speakers and set the volume to an adequate level.
2. Connect the line out of an electronic audio device to jack J2 on the board. Set jumper JP2 to LINE.
3. Open Jumper JP2 to GND to enable the AD1847 codec. (This is the board default).
This completes the hardware installation. For information about the EZ-KIT Lite hardware design, refer to “Board Layout” on page 3-3.

Installing VisualDSP++ and EZ-KIT Lite Software

This EZ-KIT Lite comes with the latest version of VisualDSP++ for 16-bit processors. VisualDSP++ installation includes EZ-KIT Lite installations.
To install VisualDSP++ and EZ-KIT Lite software:
1. Insert the VisualDSP++ installation CD into the CD-ROM drive.
2. If Autoplay is enabled on your PC, you see the Install Shield Wiz- ard Welcome screen. Otherwise, choose Run from the Start menu, and enter
D:\ADI_Setup.exe in the Open field, where D is the name of your
local CD-ROM drive.
3. Follow the on-screen instructions to continue installing the software.
4. At the Custom Setup screen, select your EZ-KIT Lite from the list of available systems and choose the installation directory.
ADSP-2181 EZ-KIT Lite Evaluation System Manual 1-5
Loading...
+ 52 hidden pages