Analog Devices ADSP-21364 User Manual

ADSP-21364 EZ-KIT Lite
®
Evaluation System Manual
Analog Devices, Inc. One Technology Way Norwood, Mass. 02062-9106
Revision 3.2, July 2007
Part Number
82-000840-01
a
Copyright Information
©2007 Analog Devices, Inc., ALL RIGHTS RESERVED. This document 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, VisualDSP++, the VisualDSP++ logo, SHARC, SHARC logo, CROSSCORE, the CROSSCORE logo, EZ-KIT Lite, and EZ-Extender are registered trademarks of Analog Devices, Inc.
All other brand and product names are trademarks or service marks of their respective owners.
Regulatory Compliance
The ADSP-21364 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-21364 EZ-KIT Lite evaluation system had been appended to Analog Devices Development Tools Technical Construction File refer­enced “DSPTOOLS1” dated December 21, 1997 and was awarded CE Certification by an appointed European Competent Body and is on file.
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.

CONTENTS

PREFACE
Purpose of This Manual ................................................................. xii
Intended Audience ......................................................................... xii
Manual Contents .......................................................................... xiii
What’s New in This Manual ........................................................... xiv
Technical or Customer Support ...................................................... xiv
Supported Processors ....................................................................... xv
Product Information ....................................................................... xv
MyAnalog.com .......................................................................... xv
Processor Product Information .................................................. xvi
Related Documents .................................................................. xvi
Online Technical Documentation ............................................ xvii
Accessing Documentation From VisualDSP++ .................... xviii
Accessing Documentation From Windows .......................... xviii
Accessing Documentation From Web ................................... xix
Printed Manuals ....................................................................... xix
VisualDSP++ Documentation Set ......................................... xix
Hardware Tools Manuals ....................................................... xx
Processor Manuals ................................................................. xx
ADSP-21364 EZ-KIT Lite Evaluation System Manual v
CONTENTS
Data Sheets .......................................................................... xx
Notation Conventions .................................................................... xx
USING ADSP-21364 EZ-KIT LITE
Package Contents ......................................................................... 1-2
Default Configuration .................................................................. 1-3
Installation and Session Startup ..................................................... 1-5
Evaluation License Restrictions ..................................................... 1-7
External Memory .......................................................................... 1-7
Analog Audio ............................................................................... 1-8
LEDs and Push Buttons .............................................................. 1-10
Example Programs ...................................................................... 1-12
Background Telemetry Channel .................................................. 1-12
ADSP-21364 EZ-KIT LITE HARDWARE REFERENCE
System Architecture ...................................................................... 2-2
Parallel Port ............................................................................ 2-3
DAI Interface .......................................................................... 2-5
SPI Interface ........................................................................... 2-6
FLAG Pins .............................................................................. 2-6
Expansion Interface ................................................................. 2-7
JTAG Emulation Port ............................................................. 2-8
Switch Settings ............................................................................. 2-9
Electret Microphone Select Switch (SW6) ................................ 2-9
Codec Setup Switch (SW7) ................................................... 2-10
vi ADSP-21364 EZ-KIT Lite Evaluation System Manual
CONTENTS
SPI Disable Switch (SW8) ..................................................... 2-11
Push Button Enable Switch (SW9) ......................................... 2-11
Boot Mode and Clock Ratio Select Switch (SW10) ................. 2-12
Loop-Back Test Switch (SW11) ............................................. 2-13
LEDs and Push Buttons .............................................................. 2-13
General Purpose LEDs (LED8–1) .......................................... 2-14
Reset LED (LED9) ................................................................ 2-14
Power LED (LED10) ............................................................. 2-14
USB Monitor LED (ZLED3) ................................................. 2-14
Push Buttons (SW1–4) .......................................................... 2-15
Board Reset Push Button (SW5) ............................................ 2-15
Connectors ................................................................................. 2-16
Expansion Interface (J1–J3) ................................................... 2-16
Audio In RCA Connector (J4) ............................................... 2-17
Audio Out RCA Connector (J5) ............................................ 2-17
Headphone Out Jack (J6) ...................................................... 2-17
Power Jack (J7) ...................................................................... 2-18
S/PDIF Coax Connectors (J8 and J9) .................................... 2-18
SPI Header (P2) .................................................................... 2-19
DAI Header (P3) ................................................................... 2-19
USB Connector (ZJ1) ............................................................ 2-19
JTAG Header (ZP4) .............................................................. 2-20
ADSP-21364 EZ-KIT Lite Evaluation System Manual vii
CONTENTS
ADSP-21364 EZ-KIT LITE BILL OF MATERIALS
ADSP-21364 EZ-KIT LITE SCHEMATIC
Title Page ..................................................................................... B-1
ADSP-21364 Processor ................................................................. B-2
Memory ....................................................................................... B-3
Analog Audio ............................................................................... B-4
Audio Out 1 ................................................................................. B-5
Audio Out 2 ................................................................................. B-6
Audio Out 3 ................................................................................. B-7
S/PDIF Connectors ...................................................................... B-8
Reset/PB/LED .............................................................................. B-9
Expansion Interface/JTAG/SPI/DAI ............................................ B-10
Power ......................................................................................... B-11
INDEX
viii ADSP-21364 EZ-KIT Lite Evaluation System Manual

PREFACE

Thank you for purchasing the ADSP-21364 EZ-KIT Lite®, Analog Devices, Inc. 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 on-chip, dual-ported SRAM blocks coupled with a sophisticated IO pro­cessor, which gives a SHARC processor the bandwidth for sustained high-speed computations. SHARC processors represents today’s de facto standard for floating-point processor targeted for premium audio applications.
The evaluation system is designed to be used in conjunction with the VisualDSP++® development environment to test the capabilities of the ADSP-21364 SHARC processors. The VisualDSP++ development envi­ronment 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-21364 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
ADSP-21364 EZ-KIT Lite Evaluation System Manual ix
Access to the ADSP-21364 processor from a personal computer (PC) is achieved through a USB port or an optional JTAG emulator. The USB interface gives unrestricted access to the ADSP-21364 processor and the evaluation board peripherals. 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 processor development tools, go to
http://www.analog.com/processors/index.html.
L
alDSP++ installation. The EZ-KIT Lite is a licensed product that offers an unrestricted evaluation license for the first 90 days. For details about evaluation license restrictions after the 90 days, refer to “Evaluation License Restrictions” on page 1-7.
ADSP-21364 EZ-KIT Lite provides example programs to demonstrate the capabilities of the evaluation board.
The board features:
Analog Devices ADSP-21364 processor
The ADSP-21364 EZ-KIT Lite installation is part of the Visu-
D 136-pin BGA package D 300 MHz core clock speed
Synchronous random access memory (SRAM)
D 512 Kbit x 8-bit
Flash memory
D 1M x 8-bit
Serial peripheral interface (SPI) flash memory
D 2Mbit
x ADSP-21364 EZ-KIT Lite Evaluation System Manual
Analog audio interface
D AD1835A codec D 4x2 RCA phono jack for 4 channels of stereo output D 2x1 RCA phono jack for 1 channel of stereo input D Headphone jack for 1 channel stereo output
Digital audio interface
D RCA phono jack output D RCA phono jack input
•LEDs
D 11 LEDs: 1 power (green), 1 board reset (red), 1 USB mon-
itor (amber), and 8 general purpose (amber)
Push buttons
Preface
D 5 push buttons: 1 reset, 2 connected to DAI,
2 connected to the FLAG pins of the processor
Expansion interface (type A)
D Parallel port, FLAGs, DAI, SPI
Other features
D JTAG ICE 14-pin header D 0-ohm resistors for processor current measurement D SPI header D DAI header
The EZ-KIT Lite board has a total of 1 MB of parallel flash memory and 2 MB of SPI flash memory. The flash memories can store user-specific boot code, allowing the board to run as a stand-alone unit. For more
ADSP-21364 EZ-KIT Lite Evaluation System Manual xi

Purpose of This Manual

information, see “External Memory” on page 1-7 and “Boot Mode and
Clock Ratio Select Switch (SW10)” on page 2-12. The board also has
512 KB of SRAM, which can be used at runtime.
The DAI of the processor connects to the AD1835A audio codec and two connectors, which allow Sony/Philips Digital Interface (S/PDIF) input and output. The interface facilitates development of digital and analog audio signal-processing applications. See “Analog Audio” on page 1-8 and
“S/PDIF Coax Connectors (J8 and J9)” on page 2-18 for more
information.
Additionally, the EZ-KIT Lite board provides access to all of the proces­sor’s peripheral ports. Access is provided in the form of a three-connector expansion interface. See “Expansion Interface” on page 2-7 for details.
Purpose of This Manual
The ADSP-21364 EZ-KIT Lite Evaluation System Manual provides instructions for installing the product hardware (board) and describes the operation and configuration of the board components. The product soft­ware component is detailed in the VisualDSP++ Installation Quick Reference Card. The manual provides guidelines for running your own code on the ADSP-21364 EZ-KIT Lite. Finally, a schematic and a bill of materials are provided as a reference for future designs.

Intended Audience

The primary audience for this manual is a programmer who is familiar with Analog Devices processors. This manual assumes that the audience has a working knowledge of the appropriate processor architecture and instruction set. Programmers who are unfamiliar with Analog Devices processors can use this manual but should supplement it with other texts
xii ADSP-21364 EZ-KIT Lite Evaluation System Manual
Preface
(such as the ADSP-2136x SHARC Processor Programming Reference and ADSP-2136x SHARC Processor Hardware Reference) that describe your tar-
get architecture.
Programmers 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, see “Related Documents”.

Manual Contents

The manual consists of:
Chapter 1, “Using ADSP-21364 EZ-KIT Lite” on page 1-1 Provides information on the EZ-KIT Lite from a programmer’s perspective and provides an easy-to-access memory map.
Chapter 2, “ADSP-21364 EZ-KIT Lite Hardware Reference” on
page 2-1
Provides information on the hardware aspects of the evaluation system.
Appendix A, “ADSP-21364 EZ-KIT Lite Bill Of Materials” on
page A-1
Provides a list of components used to manufacture the EZ-KIT Lite board.
Appendix B, “ADSP-21364 EZ-KIT Lite Schematic” on page B-1 Provides the resources to allow modifications to the EZ-KIT Lite or to use as a reference design.
L
ADSP-21364 EZ-KIT Lite Evaluation System Manual xiii
Appendix B now is part of the online Help. The PDF version of the ADSP-21364 EZ-KIT Lite Evaluation System Manual is located in the Alternatively, the schematic can be found on the Analog Devices Web site: http://www.analog.com/processors.
Docs\EZ-KIT Lite Manuals folder on the installation CD.

What’s New in This Manual

What’s New in This Manual
This edition of the ADSP-21364 EZ-KIT Lite Evaluation System Manual documents ADSP-21364 EZ-KIT Lite compliance with the RoHS and WEEE directives.

Technical or Customer Support

You can reach Analog Devices, Inc. Customer Support in the following ways:
Visit the Embedded Processing and DSP products Web site at
http://www.analog.com/processors/technicalSupport
E-mail tools questions to
processor.tools.support@analog.com
E-mail processor questions to
processor.support@analog.com (World wide support) processor.europe@analog.com (Europe support) processor.china@analog.com (China support)
Phone questions to 1-800-ANALOGD
Contact your Analog Devices, Inc. local sales office or authorized distributor
Send questions by mail to:
Analog Devices, Inc. One Technology Way P.O. Box 9106 Norwood, MA 02062-9106 USA
xiv ADSP-21364 EZ-KIT Lite Evaluation System Manual

Supported Processors

The ADSP-21364 EZ-KIT Lite evaluation system supports the Analog Devices ADSP-21364 SHARC processors.

Product Information

You can obtain product information from the Analog Devices Web site, from the product CD-ROM, or from the printed publications (manuals).
Analog Devices is online at http://www.analog.com. Our Web site pro­vides information about a broad range of products—analog integrated circuits, amplifiers, converters, and digital signal processors.

MyAnalog.com

Preface
MyAnalog.com is a free feature of the Analog Devices Web site that allows customization of a Web page to display only the latest information on products you are interested in. You can also choose to receive weekly e-mail notifications containing updates to the Web pages that meet your interests. MyAnalog.com provides access to books, application notes, data sheets, code examples, and more.
Registration:
Visit http://www.myanalog.com to sign up. Click Register to use MyAna­log.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 e-mail address.
ADSP-21364 EZ-KIT Lite Evaluation System Manual xv
Product Information

Processor Product Information

For information on embedded processors and DSPs, visit our Web site at
http://www.analog.com/processors, which provides access to technical
publications, data sheets, application notes, product overviews, and prod­uct announcements.
You may also obtain additional information about Analog Devices and its products in any of the following ways.
E-mail questions or requests for information to
processor.support@analog.com (World wide support) processor.europe@analog.com (Europe support) processor.china@analog.com (China support)
Fax questions or requests for information to
1-781-461-3010 (North America) +49-89-76903-157 (Europe)

Related Documents

For information on product related development software and hardware, see these publications:
Table 1. Related Processor Publications
Title Description
ADSP-21364 SHARC Microprocessor Datasheet General functional description, pinout, and
timing
ADSP-2136x SHARC Processor Hardware Refer­ence
ADSP-2136x SHARC Processor Programming Reference
xvi ADSP-21364 EZ-KIT Lite Evaluation System Manual
Description of internal processor architecture, registers, and all peripheral functions
Description of all allowed processor assembly instructions
Preface
Table 2. Related VisualDSP++ Publications
VisualDSP++ User’s Guide Detailed description of VisualDSP++ features
and usage
VisualDSP++ Assembler and Preprocessor Man­ual
VisualDSP++ C/C++ Complier and Library Manual for SHARC Processors
VisualDSP++ Linker and Utilities Manual Description of the linker function and com-
VisualDSP++ Loader and Utilities Manual Description of the loader function and com-
Description of the assembler function and commands
Description of the complier function and com­mands for SHARC processors
mands
mands
If you plan to use the EZ-KIT Lite board in conjunction with a
L
JTAG emulator, also refer to the documentation that accompanies the emulator.
All documentation is available online. Most documentation is available in printed form.
Visit the Technical Library Web site to access all processor and tools man­uals and data sheets:
http://www.analog.com/processors/technicalSupport/technicalLi­brary/index.html
.

Online Technical Documentation

Online documentation comprises the VisualDSP++ Help system, software tools manuals, hardware tools manuals, processor manuals, the Dinkum Abridged C++ library, and Flexible License Manager (FlexLM) network license manager software documentation. You can easily search across the entire VisualDSP++ documentation set for any topic of interest. For easy printing, supplementary .pdf files of most manuals are provided in the
Docs folder on the VisualDSP++ installation CD.
ADSP-21364 EZ-KIT Lite Evaluation System Manual xvii
Product Information
Each documentation file type is described as follows.
File Description
.chm Help system files and manuals in Help format
.htm or .html
.pdf VisualDSP++ and processor manuals in Portable Documentation Format (PDF).
Dinkum Abridged C++ library and FlexLM network license manager software doc­umentation. Viewing and printing the Internet Explorer 5.01 (or higher).
Viewing and printing the .pdf files requires a PDF reader, such as Adobe Acrobat Reader (4.0 or higher).
.html files requires a browser, such as
If documentation is not installed on your system as part of the software installation, you can add it from the VisualDSP++ CD at any time by run­ning the Tools installation. Access the online documentation from the VisualDSP++ environment, Windows
®
Explorer, or the Analog Devices
Web site.
Accessing Documentation From VisualDSP++
To view VisualDSP++ Help, click on the Help menu item or go to the Windows task bar and navigate to the VisualDSP++ documentation via the Start menu.
To view ADSP-21364 EZ-KIT Lite Help, which is part of the Visu­alDSP++ Help system, use the Contents or Search tab of the Help window.
Accessing Documentation From Windows
In addition to any shortcuts you may have constructed, there are many ways to open VisualDSP++ online Help or the supplementary documenta­tion from Windows.
xviii ADSP-21364 EZ-KIT Lite Evaluation System Manual
Preface
Help system files (
.chm) are located in the Help folder, and .pdf files are
located in the Docs folder of your VisualDSP++ installation CD-ROM. The Docs folder also contains the Dinkum Abridged C++ library and the FlexLM network license manager software documentation.
Your software installation kit includes online Help as part of the Windows interface. These help files provide information about VisualDSP++ and the ADSP-21364 EZ-KIT Lite evaluation system.
Accessing Documentation From Web
Download manuals at the following Web site:
http://www.analog.com/processors/technicalSupport/technicalLi­brary/index.html
.
Select a processor family and book title. Download archive (.zip) files, one for each manual. Use any archive management software, such as Win­Zip, to decompress downloaded files.

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
To purchase VisualDSP++ manuals, call 1-603-883-2430. The manuals may be purchased only as a kit.
If you do not have an account with Analog Devices, you are referred to Analog Devices distributors. For information on our distributors, log onto
http://www.analog.com/salesdir/continent.asp.
ADSP-21364 EZ-KIT Lite Evaluation System Manual xix

Notation Conventions

Hardware Tools Manuals
To purchase EZ-KIT Lite and In-Circuit Emulator (ICE) manuals, call 1-603-883-2430. The manuals may be ordered by title or by product number located on the back cover of each manual.
Processor Manuals
Hardware reference and instruction set reference manuals may be ordered through the Literature Center at 1-800-ANALOGD (1-800-262-5643), or downloaded from the Analog Devices Web site. Manuals may be ordered by title or by product number located on the back cover of each manual.
Data Sheets
All data sheets (preliminary and production) may be downloaded from the Analog Devices Web site. Only production (final) data sheets (Rev. 0, A, B, C, and so on) can be obtained from the Literature Center at 1-800-ANALOGD (1-800-262-5643); they also can be downloaded from the Web site.
To have a data sheet faxed to you, call the Analog Devices Faxback System at 1-800-446-6212. Follow the prompts and a list of data sheet code numbers will be faxed to you. If the data sheet you want is not listed, check for it on the Web site.
Notation Conventions
Text conventions used in this manual are identified and described as follows.
L
xx ADSP-21364 EZ-KIT Lite Evaluation System Manual
Additional conventions, which apply only to specific chapters, may appear throughout this document.
Example Description
Preface
Close command (File menu)
{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
.SECTION Commands, directives, keywords, and feature names are in text with
filename Non-keyword placeholders appear in text with italic style format.
L
a
Titles in reference sections indicate the location of an item within the VisualDSP++ environment’s menu system (for example, the Close command appears on the File menu).
brackets and separated by vertical bars; read the example as this or
that. One or the other is required.
rated by vertical bars; read the example as an optional this or that.
delimited by commas and terminated with an ellipse; read the example as an optional comma-separated list of
letter gothic font.
Note: For correct operation, ... A Note provides supplementary information on a related topic. In the online version of this book, the word Note appears instead of this
symbol.
Caution: Incorrect device operation may result if ... Caution: Device damage may result if ...
A Caution identifies conditions or inappropriate usage of the product that could lead to undesirable results or product damage. In the online version of this book, the word Caution appears instead of this symbol.
this.
Warn in g: Injury to device users may result if ... A Warning identifies conditions or inappropriate usage of the product
[
that could lead to conditions that are potentially hazardous for the devices users. In the online version of this book, the word Wa rn in g appears instead of this symbol.
ADSP-21364 EZ-KIT Lite Evaluation System Manual xxi
Notation Conventions
xxii ADSP-21364 EZ-KIT Lite Evaluation System Manual
1 USING ADSP-21364 EZ-KIT
LITE
This chapter provides specific information to assist you with development of programs for the ADSP-21364 EZ-KIT Lite evaluation system.
The information appears in the following sections.
“Package Contents” on page 1-2 Lists the items contained in your ADSP-21364 EZ-KIT Lite package.
“Default Configuration” on page 1-3 Shows the default configuration of the ADSP-21364 EZ-KIT Lite.
“Installation and Session Startup” on page 1-5 Instructs how to start a new or open an existing ADSP-21364 EZ-KIT Lite session using VisualDSP++.
“Evaluation License Restrictions” on page 1-7 Describes the restrictions of the VisualDSP++ license shipped with the EZ-KIT Lite.
“External Memory” on page 1-7 Describes how to access external memory, defines the memory map of the EZ-KIT Lite.
“Analog Audio” on page 1-8· Describes how to set up and communicate with the on-board audio codec.
“LEDs and Push Buttons” on page 1-10 Describes the board’s general-purpose IO pins and buttons.
ADSP-21364 EZ-KIT Lite Evaluation System Manual 1-1

Package Contents

“Example Programs” on page 1-12 Provides information about example programs included in the ADSP-21364 EZ-KIT Lite evaluation system.
“Background Telemetry Channel” on page 1-12 Highlights the advantages of the background telemetry channel feature of VisualDSP++.
For information on the graphical user interface, including the boot load­ing, target options, and other facilities of the EZ-KIT Lite system, refer to the online Help.
For detailed information on how to program the ADSP-21364 SHARC processor, refer to the documents referenced in “Related Documents”.
Package Contents
Your ADSP-21364 EZ-KIT Lite evaluation system package contains the following items.
ADSP-21364 EZ-KIT Lite board
VisualDSP++ Installation Quick Reference Card
CD containing:
D VisualDSP++ software D ADSP-21364 EZ-KIT Lite debug software D USB driver files D Example programs D ADSP-21364 EZ-KIT Lite Evaluation System Manual (this
document)
Universal 7V DC power supply
1-2 ADSP-21364 EZ-KIT Lite Evaluation System Manual
Loading...
+ 53 hidden pages