background image

Standard Operations

2-4

ADSP-2189M EZ-KIT Lite Evaluation System Manual

Input and Output Devices

The board’s IO component are detailed in the following sections.

“Flags” on page 2-4

“Interrupts” on page 2-4

“Serial Ports” on page 2-5

Flags

The ADSP-2189M processor has one asynchronous 

FLAG

 IO pin, 

FL1

. The 

pin is connected to the amber 

FL1

 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, 

SW1

. This corresponds to an external inter-

rupt, 

IRQE

.

  

    

The external interrupts are controlled through the 

ICNTL

 and 

IMASK

 regis-

ters and are configured by modifying the interrupt vector table or through 
instructions in user code. The 

ICNTL

 register also controls the interrupt 

sensitivity between level and edge. To prevent an interrupt from being 
masked, write to the 

IMASK

 register.

The monitor program running on the ADSP-2189M processor uses one 
interrupt (

Timer

) for normal operation. When downloading your own 

code through the monitor program, the timer interrupt vector is protected 
and cannot be overwritten. If these vectors are overwritten, or the timer 

Содержание ADSP-2189M EZ-KIT Lite

Страница 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 a...

Страница 2: ...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...

Страница 3: ...in This Manual xii Technical or Customer Support xii Supported Processors xii Product Information xiii MyAnalog com xiii DSP Product Information xiii Related Documents xiv Online Documentation xv Prin...

Страница 4: ...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 Dev...

Страница 5: ...ace 2 11 Developing Programs 2 11 Starting Visual DSP 2 12 Debugging With EZ KIT Lite 2 14 Loading Programs 2 14 Registers and Memory 2 14 Setting Breakpoints and Stepping 2 15 Resetting EZ KIT Lite B...

Страница 6: ...e Selection Switch 3 5 Connectors 3 7 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 Com...

Страница 7: ...the capabilities of the ADSP 2189M DSPs The VisualDSP software gives you the ability to perform advanced application code development and debug such as Create compile assemble and link application pr...

Страница 8: ...s emulation port The boards features Analog Devices ADSP 2189MKST 300 processor Operating at an instruction rate of 75 MIPS 37 57 external clock Analog Audio Interface AD73322AR Analog Devices stereo...

Страница 9: ...monitor program stored in the original Flash memory The monitor program lets the board communicate over the serial port to a PC This monitor program lets you download execute and debug ADSP 2189M prog...

Страница 10: ...udience This manual is a user s guide and reference to the ADSP 2189M EZ KIT Lite evaluation system Programmers who are familiar with the Analog Devices processor architecture operation and programmin...

Страница 11: ...dware 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 A...

Страница 12: ...ools support analog com Phone questions to 1 800 ANALOGD Contact your ADI local sales office or authorized distributor Send questions by mail to Analog Devices Inc One Technology Way P O Box 9106 Norw...

Страница 13: ...s 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 y...

Страница 14: ...uctions Table 2 Related VisualDSP Publications Title Description VisualDSP 3 5 User s Guide for 16 Bit Proces sors Detailed description of VisualDSP 3 5 fea tures and usage VisualDSP 3 5 Assembler and...

Страница 15: ...n the Help menu item or go to the 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...

Страница 16: ...n 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...

Страница 17: ...within brackets and sepa rated by vertical bars read the example as an optional this or that this Optional item lists in syntax descriptions appear within brackets delim ited by commas and terminated...

Страница 18: ...Notation Conventions xviii ADSP 2189M EZ KIT Lite Evaluation System Manual...

Страница 19: ...sented 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 evaluat...

Страница 20: ...ograms ADSP 2189M 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 evalua...

Страница 21: ...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 install...

Страница 22: ...9M 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 P7 on the evaluation board Visually verify that all of the LEDs lig...

Страница 23: ...ling 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...

Страница 24: ...ors VisualDSP Environment 3 The information screen asks if you would like to install a license Click Yes The About VisualDSP screen appears 4 Select the Licenses tab and click New 5 In the Install a N...

Страница 25: ...eakpoints stepping through code and plotting a range of memory The information in this chapter is organized as follows EZ KIT Lite License Restrictions on page 2 2 Describes the restrictions of the Vi...

Страница 26: ...use 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...

Страница 27: ...ou have installed the board and utility software your PC and EZ KIT Lite have the default settings shown in Table 2 2 You can change the settings in the dialog box that appears the first time you star...

Страница 28: ...ternal interrupt connected through a push button switch SW1 This corresponds to an external inter rupt IRQE The external interrupts are controlled through the ICNTL and IMASK regis ters and are config...

Страница 29: ...ial Ports SPORTs SPORT0 and SPORT1 The SPORTs can operate at up to 1x clock frequency providing each with a maximum data rate of 30 Mbit sec SPORT data can be automatically transferred to and from on...

Страница 30: ...n memory If the monitor code is corrupted the monitor may crash before reaching the actual program code UART Check and Initialization The software UART check is done when it attempts to connect to the...

Страница 31: ...ocessor s resources AD73322 Codec Check and Initialization On reset the AD73322 codec is inactive An initialization routine initial izes the codec by sending a series of command words through the SPOR...

Страница 32: ...otherwise control is returned to the halt loop to wait for more characters The only method of executing your code once the halt loop has been entered is to send a RUN or SINGLE STEP command in the de...

Страница 33: ...the host the kernel initiates the response Software Breakpoints The ability to stop the execution of code and examine processor registers and memory is extremely helpful when debugging code Note that...

Страница 34: ...sending at lest 8 and up to 16 con trol words contained in a circular buffer to the AD73322 codec These control words correspond to the AD73322s control registers A through H This is usually done via...

Страница 35: ...ing Programs on page 2 14 Example Programs on page 2 16 For detailed information about VisualDSP features and operation see the VisualDSP 3 5 User s Guide for 16 Bit Processors and online Help Develop...

Страница 36: ...open two debugger interfaces to run more than one EZ KIT Lite session Starting Visual DSP After the VisualDSP software and license have been installed click the Windows Start menu 1 Select the Start b...

Страница 37: ...n Click OK and press the reset button on the board All the LEDs light up and after a brief delay less than 2 seconds all of the LEDs go dark except for the power LED Verify that the LEDs do dark excep...

Страница 38: ...hen loading in the simulator Wait for the Load Complete message in the Output window before you attempt any debug activities To load a program use the following procedure 1 From the File menu select L...

Страница 39: ...button SW2 switch on the board or with the Debug Reset command in the debugger After per forming a reset reload any programs you were running The Debug Restart command also resets the processor The p...

Страница 40: ...n 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 Convo...

Страница 41: ...imer interrupt is that the monitor program sets a timer at 3 times the baud rate and expects to receive 10 bits 3 x BAUD x 10 1 second When every counter has expired the reset FL1 is executed You can...

Страница 42: ...Using EZ KIT Lite VisualDSP Interface 2 18 ADSP 2189M EZ KIT Lite Evaluation System Manual...

Страница 43: ...strates 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 Con...

Страница 44: ...ADSP 2189M FLASH M EM O RY 4 M BIT 512Kx8 a AD73322 C ODEC RS 232 SE RIAL PORT INTER FA CE BREA D BOA RD ARE A EXPANSION CONNECTOR a EZ IC E PO RT HE ADER CLOCK AN D RES ET LO GIC LE DS FO R RESE T F...

Страница 45: ...torage that can be loaded by the ADSP 2189M when it is programmed to boot from the BMS Boot Memory Select and Mode A B C and D switches After the ADSP 2189M processor is reset the BDMA feature is used...

Страница 46: ...emitting diode which indicates whether RESET is asserted Switches The SW1 switch is the interrupt push button switch Pushing this button causes the ADSP 2189M to receive an IRQE interrupt input The p...

Страница 47: ...easier design and better memory management Table 3 1 Mode Selection Switches BDMA feature is used to load the first 32 program memory words from the byte memory space Program execution is held off unt...

Страница 48: ...ires additional hardware IDMA feature is used to load any internal memory as desired Program execution is held off until internal program memory location 0 is written to The ADSP 2189M is configured i...

Страница 49: ...e first 32 program memory words from the byte memory space Program execution is held off until all 32 words have been loaded The ADSP 2189M is configured in Host Mode IACK requires an external pull do...

Страница 50: ...to either the output of the microphone amplifier or to the output of the line level input filter The JP4 connector is a 2 pin header that changes the line in gain from 47 to 400 when a shorting jumpe...

Страница 51: ...pin of the jack is 2 5 mm diameter and should connect to the positive side of the power source The outer sleeve of the mating plug must be ground The P8 connector is a male 9 pin D Sub connector It i...

Страница 52: ...PF5 5 A2 IAD1 5 BMS 5 IRQL1 PF6 7 A3 IAD2 7 DMS 7 IRQ2 PF7 9 A4 IAD3 9 PMS 9 DT0 11 A5 IAD4 11 IOMS 11 TFS0 13 A6 IAD5 13 CMS 13 RFS0 15 A7 IAD6 15 CLKOUT 15 DR0 17 A8 IAD7 17 D8 17 SCLK0 19 A9 IAD8...

Страница 53: ...the power connector pinout If you do not use the power supply provided with your EZ KIT Lite board replace it with one that has the connections shown in Table 3 3 43 D7 IWR 43 D21 43 MODE_D PF3 45 BG...

Страница 54: ...IC2 of the AD73322 SoundPort Stereo codec depending on the setting of jumpers JP3 The LINE Output jack connects to the left L LINE_OUT and right R LINE_OUT pins of the codec EZ ICE Connector The ADSP...

Страница 55: ...dapters needed Due to the small footprint of the EZ ICE connector emulation can be supported in final board designs The EZ ICE performs provides In target operation Setting up to 30 breakpoints Single...

Страница 56: ...pins are set up by default to boot the processor from the byte wide memory interface which is con nected to the Flash EPROM The hardware consists of a printed circuit board measuring 3 5 inches by 5 5...

Страница 57: ...e DSP and the codec It is possible to disable the codec if the serial port is to be used for another purpose When the jumper JP1 is shorted the codec is disabled and its signals are put in a high impe...

Страница 58: ...Designing EZ ICE Compatible Systems 3 16 ADSP 2189M EZ KIT Lite Evaluation System Manual...

Страница 59: ...the user program is running if the user program disables the Timer interrupt or changes the Timer interrupt vector 3 The host loses contact with the monitor while the program is run ning and in an ISR...

Страница 60: ...A 2 ADSP 2181 EZ KIT Lite Evaluation System Manual...

Страница 61: ...2 5 VOLT REGULATOR TPS76325DBVT SOT23 VR3 5 1 37 5MHZ OSCILLA TOR EC1300HS 37 5M DIP8 U2 6 1 ADSP 2189 DSP ADSP 2189MKST 30 0 LQFP100 U1 7 1 GP DUAL ANALOG FRONT END AD73322AR SOIC28 U4 8 1 5V REGULA...

Страница 62: ...C29 23 1 10uF 16V 10 TAJC106K016R C CT10 24 3 22uF 16V 10 PCT3226CT ND D CT11 CT13 25 1 2 00K 1 8W 1 CRCW1206 2001FRT 1 1206 R30 26 1 SUPER FAST RECTI FIER ES1B SMA D2 27 2 100 OHMS 100MW 5 CRCW0805 1...

Страница 63: ...JRT1 1206 R3 R9 R23 R35 R40 R45 R46 42 6 100K OHMS 1 8W 5 CRCW1206 104JRT1 1206 R29 R31 R34 R41 43 3 33 OHMS 1 8W 5 NRC12J330TR 1206 R1 R2 R10 44 7 680 OHMS 1 8W 5 CR32 681J T 1206 R15 R17 R24 R28 45...

Страница 64: ...4 ADSP 2189M EZ KIT Lite Evaluation System Manual 52 1 IDC 7X2 PTC07DAAN IDC P6 53 2 3 5mm MINI STEREO JACK ST 323 5 3 5mm J1 J2 Reference Quantity Description Manufacturer Reference Design Reference...

Страница 65: ......

Страница 66: ......

Страница 67: ......

Страница 68: ......

Страница 69: ......

Страница 70: ......

Страница 71: ......

Страница 72: ......

Страница 73: ......

Страница 74: ...2 2 memory map 2 2 resetting board 2 5 setting hardware 1 4 system architecture 3 2 VisualDSP interface 2 11 ADSP 2189M processor internal memory restrictions 2 2 ADSP 2189M processors mode selection...

Страница 75: ...expansion 3 9 P4 expansion 3 9 P5 expansion 3 9 P6 EZ ICE 3 9 P7 power 1 4 3 9 P8 RS 232 1 4 3 9 3 15 conventions manual xvii convolution filter 2 16 copyright information i ii customer support xii D...

Страница 76: ...MASK registers 2 4 input jack 3 12 see also JP3 connector inserting breakpoints 2 15 installation tasks 1 3 installing hardware 1 5 licence 1 6 VisualDSP and EZ KIT Lite software 1 5 internal memory 3...

Страница 77: ...g programs 2 14 M memory buffer 2 16 checking 2 6 2 14 3 13 map 2 2 microphone amplifier 3 8 input 3 8 microphone inputs viii mode selection SW3 switch 3 5 monitor program viii ix 2 4 2 6 2 7 2 9 A 1...

Страница 78: ...i ix 1 2 2 5 setting breakpoints 2 15 3 13 hardware 1 4 shorting jumper 3 8 simulator session 2 12 Single Step command 2 8 software breakpoints 2 9 installation 1 5 SPORT0 port 2 5 2 10 3 15 SPORT0 TX...

Страница 79: ...valuation System Manual U UART 2 5 baud rate 2 8 initializing 2 6 ISR 2 8 protocol 3 15 test protocol 2 6 user LEDs see LEDs V VisualDSP 1 2 documentation xvi installation 1 5 interface 2 11 license 1...

Страница 80: ...ADSP 2189M EZ KIT Lite Evaluation System Manual I 7 INDEX...

Страница 81: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Analog Devices Inc ADZS 2189M EZLITE...

Отзывы: