background image

ADSP-21992 EZ-KIT Lite Evaluation System Manual

2-5 

Using the EZ-KIT Lite

Using Programmable Flag Pins

The ADSP-21992 DSP has eight asynchronous Programmable Flag (PF) 
I/O pins (

PF7–0

) that let you interact with the running program. Data pins 

8-15 can also be used as Programmable Flag pins, depending on the configu-
ration of the DSP.

During reset, the flag pins (

PF7–0

) are used to set the multiplication factor, 

which sets the core clock frequency. After the DSP is reset, the flags are config-
ured as inputs. The direction of the flags is configured though the 

DIR

 register 

and are set and read though the 

FLAGC/S

 register. For more information on 

configuring the flag pins, see the ADSP-2199x Mixed Signal DSP Controller 
Hardware Reference
. Flags and their uses are described in 

Table 2-2

.

!

All the programmable flags are available on connector 

P9

.

Table 2-2. Programmable Flag Pin Summary

Flag

Connected To

Description

PF0

LED8

PF3–0

 are connected to the LEDs. They supply feedback for 

program execution. For instance, you can write your code to 
trigger a flag (and the corresponding LED) when a routine is 
complete.

PF1

LED9

PF2

LED10

PF3

LED11

PF4

SW3 

– Push button

PF5–4 

are connected to the push buttons on the EZ-KIT 

Lite board and are for user input. For instance, you can tell 
your program to poll for a flag and when it occurs, do other 
operation, such as to jump to another instruction.

PF5

SW2

 – Push button

PF6

AD1803 Reset

PF6

 is connected to the AD1803 telephony codec reset, and can 

be used to put the chip in reset.

PF7

AD1885 Reset

PF7

 is connected to the AD1885 audio codec reset, and can be 

used to put the chip in reset.

Summary of Contents for ADSP-21992 EZ-KIT LITE

Page 1: ...ADSP 21992 EZ KIT LiteTM Evaluation System Manual Revision 1 1 October 2003 Part Number 82 000700 01 Analog Devices Inc One Technology Way Norwood Mass 02062 9106 a...

Page 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...

Page 3: ...n This Manual xiii Technical or Customer Support xiii Supported Processors xiii Product Information xiv MyAnalog com xiv DSP Product Information xiv Related Documents xv Online Documentation xvi Print...

Page 4: ...Installing EZ KIT Lite USB Driver 1 7 Windows 98 USB Driver 1 8 Windows 2000 USB Driver 1 12 Windows XP USB Driver 1 13 Verifying Driver Installation 1 15 Starting VisualDSP 1 16 USING THE EZ KIT LITE...

Page 5: ...SPORT Interface 3 8 Programmable Flag Pins Interface 3 9 PWM Generation Unit Interface 3 9 Auxiliary PWM Unit Interface 3 9 General Purpose Timer Signals 3 9 Encoder Interface Unit Circuitry 3 10 JTAG...

Page 6: ...ace Jumpers JP28 JP30 3 17 External Flash Memory Enable Jumper JP31 3 18 Connectors 3 18 Power Supply Connector P1 3 19 Serial Port Connector P2 3 19 External Memory Interface EMI Connector P3 3 19 An...

Page 7: ...ADSP 21992 EZ KIT Lite Evaluation System Manual vii CONTENTS INDEX...

Page 8: ...CONTENTS viii ADSP 21992 EZ KIT Lite Evaluation System Manual...

Page 9: ...C and ADSP 21992 assembly Loading running stepping halting and setting breakpoints in application programs Reading and writing data memory and program memory Reading and writing core and peripheral r...

Page 10: ...ory The board s features include Analog Devices ADSP 21992 160 MHz mixed signal DSP USB debugging interface Analog input circuitry 8 channel 12 bit DAC AD5328BRU on SPI interface PWM outputs interface...

Page 11: ...rogrammer Utility on page 2 6 Additionally the EZ KIT Lite board provides un installed expansion con nector footprints that allow you to connect to the processor s External Memory Interface EMI Purpos...

Page 12: ...escribe the processor architecture and instruction set Programmers who are unfamiliar with VisualDSP should refer to the VisualDSP online Help and the VisualDSP User s Guide or Getting Started Guide F...

Page 13: ...n the following ways Visit the DSP Development Tools website at www analog com technology dsp developmentTools index html E mail questions to dsptools support analog com Phone questions to 1 800 ANALO...

Page 14: ...mation on products you are interested in You can also choose to receive weekly e mail notification containing updates to the Web pages that meet your interests MyAnalog com provides access to books ap...

Page 15: ...CAN Data Sheet General functional description pin out and timing ADSP 2199x Mixed Signal DSP Controller Hardware Reference Description of internal processor architecture and all register functions ADS...

Page 16: ...k on the Help menu item or go to the Windows task bar and select Start Programs Analog Devices Visu alDSP 3 5 for 16 bit Processors VisualDSP Documentation To view ADSP 21992 EZ KIT Lite Help which no...

Page 17: ...ibutors 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 downl...

Page 18: ...t this document Example Description Close command File menu or OK Text in bold style indicates the location of an item within the VisualDSP environment s and boards menu system and user inter face ite...

Page 19: ...ing a related topic In the online version of this book the word Note appears instead of this symbol Caution A caution providing information about critical design or programming issues that influence o...

Page 20: ...Notation Conventions xx ADSP 21992 EZ KIT Lite Evaluation System Manual...

Page 21: ...Lite Package on page 1 1 Provides a list of the components shipped with this EZ KIT Lite evaluation system PC Configuration on page 1 3 Describes the minimum requirements for the PC to work with the...

Page 22: ...e fill out and return If any items are 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 discha...

Page 23: ...e use of the ADSP 21992 EZ KIT Lite Follow the instructions in the presented order to ensure correct operation of your software and hardware 1 VisualDSP and EZ KIT Lite software installation 2 VisualD...

Page 24: ...se 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 C...

Page 25: ...number in the field provided exactly as it appears on your CD sleeve or registration form and click Next An information window notifies of successful license installation Setting Up the EZ KIT Lite Ha...

Page 26: ...Refer to Figure 3 3 on page 3 11 3 Connect your power supply to P1 on the EZ KIT Lite board The ADSP 21992 EZ KIT Lite board contains a 5 way terminal block for connection of external power supplies F...

Page 27: ...full speed USB port Windows 98 USB Driver on page 1 8 describes installation on Windows 98 Windows 2000 USB Driver on page 1 12 describes installation on Windows 2000 Windows XP USB Driver on page 1 1...

Page 28: ...Z KIT Lite for the first time the Win dows 98 USB driver must first be installed To install the USB driver 1 Insert the CD into the CD ROM drive The connection of the device to the USB port activates...

Page 29: ...n System Manual 1 9 Getting Started 3 Select Search for the best driver for your device as shown in Figure 1 2 4 Click Next 5 Select CD ROM drive as shown in Figure 1 3 Figure 1 2 Searching for Driver...

Page 30: ...tion System Manual 6 Click Next Windows 98 locates the WmUSBEz inf file on the installation CD as shown in Figure 1 4 7 Click Next The Coping Files dialog box appears Figure 1 5 8 Click Browse Figure...

Page 31: ...1 11 Getting Started The Open dialog box shown in Figure 1 6 appears on the screen 9 In Drives select your CD ROM drive 10 Click OK The Copying Files dialog box Figure 1 7 appears 11 Click OK Figure 1...

Page 32: ...on page 1 15 Windows 2000 USB Driver VisualDSP 3 5 installation software pre installs the necessary drivers for the selected EZ KIT Lite The install also upgrades an older driver if such is detected...

Page 33: ...ppropriate driver for the selected device see step 1 3 Verify the installation by following the instructions in Verifying Driver Installation on page 1 15 Windows XP USB Driver VisualDSP 3 5 installat...

Page 34: ...llation 2 Connect the EZ KIT Lite device to your PC s USB port Connecting the device to the USB activates the Windows XP Found New Hardware Wizardas shown in Figure 1 9 3 Select Install the software a...

Page 35: ...the EZ KIT Lite evaluation system verify that the USB driver software is installed properly 1 Ensure that the USB cable is connected to the evaluation board and the PC 2 Press the RESET button S1 on...

Page 36: ...Hold down the Control CTRL key 3 Click the Start button on the Windows taskbar and then choose Programs Analog Devices VisualDSP 3 5 for 16 bit Pro cessors VisualDSP Environment If you are running Vis...

Page 37: ...g Started 6 In Debug Target choose EZ KIT Lite ADSP 21992 7 In Processor choose ADSP 21992 8 Type a new target name in Session Name or accept the default name 9 Click OK to return to the Session List...

Page 38: ...Installation Tasks 1 18 ADSP 21992 EZ KIT Lite Evaluation System Manual...

Page 39: ...page 2 2 Provides information about the example programs included in the ADSP 21992 EZ KIT Lite evaluation system Memory Map on page 2 3 Defines the memory map to assist in developing programs for the...

Page 40: ...Software Breakpoints Under some conditions breakpoints cannot effectively be placed Generally the emulator or EZ KIT Lite development system restricts breakpoint placement when certain conditions are...

Page 41: ...elect BMS pin or the memory select 0 MS0 pin via a two input AND gate U1 Jumper JP31 is placed on the MS0 line to disconnect the MS0 pin if required The flash memory can be accessed in either the boot...

Page 42: ...x 24 bit program memory internal 0x00 8000 0x00 BFEF 0 16K x 16 bit data memory internal 0x00 0000 0x00 FFFF 05 Reserved 16K External Memory at reset 0x01 0000 0x3F FFFF 1 63 External Memory Bank 0 0...

Page 43: ...roller Hardware Reference Flags and their uses are described in Table 2 2 All the programmable flags are available on connector P9 Table 2 2 Programmable Flag Pin Summary Flag Connected To Description...

Page 44: ...stall path 219x EZ KITs ADSP 21990 Examples Please refer to the readme file provided with each example for more information Using Flash Programmer Utility VisualDSP includes a Flash Programmer utility...

Page 45: ...Lite board and explains how the board components interface with the processor Jumper Settings on page 3 11 Shows the location and describes the function of the configuration jumpers Connectors on pag...

Page 46: ...3V required by the ADSP 21992 from a 5V source The linear regulators also provide the power for the digital peripheral circuitry on the ADSP 21992 EZ KIT Lite board Linear regulators are also provide...

Page 47: ...Figure 3 1 LEDs are provided to indicate that the power supplies are working cor rectly Power supply LEDs are listed in Table 3 1 on page 3 3 Figure 3 1 Power Supply Connector Table 3 1 Power Supply...

Page 48: ...d from VisualDSP through the USB interface Position 1 2 default is recommended when using the VisualDSP development tools Analog Input Interface The ADSP 21992 EZ KIT Lite board permits up to eight an...

Page 49: ...citors provide simple low pass filtering with a very high cut off frequency 339 kHz on all analog inputs The analog inputs are applied to the ADSP 21992 in a single ended fash ion so that the invertin...

Page 50: ...To connect the external voltage reference to the ADSP 21992 on the eval uation board close the JP4 jumper This connects the external voltage reference from the LM4140 1 0 to the VREF pin of the ADSP 2...

Page 51: ...tion about the location of the flash memory in the DSP s memory map Jumpers are provided to allow mapping RAM into different banks A two nput AND gate with a jumper allows mapping the Flash memory int...

Page 52: ...input and output to the CAN bus voltages lev els Connectors P12 and P13 provide connections to the user s CAN bus and allow easy daisy chaining of CAN devices CAN bus termination of 120 ohms can be pr...

Page 53: ...hree jumpers are provided for the configuration of the PWM Generation Unit of the ADSP 21992 JP5 is used to enable disable the PWMTRIP input JP6 is used to enable disable PWM switched reluctance mode...

Page 54: ...for the EIU inputs of the ADSP 21992 Three jumpers JP28 JP29 JP30 are provided to enable this encoder interface circuitry It is also possible to apply encoder signals directly to the encoder interfac...

Page 55: ...10 VIN0 VIN7 A6 A5 A6 A6 A5 A5 P4 1 10 VIN0 VIN7 P4 1 10 VIN0 VIN7 VIN0 VIN7 AVDD AVDD DGND P1 VDD P1 VDD AGND P8 PF0 PF15 EXTERNAL MEMORY INTERFACE U5 U6 U8 P3 EXTERNAL MEMORY INTERFACE U5 U6 U8 U5 U...

Page 56: ...ice of reset JP3 1 2 position Internal external Vref source JP4 Open Internal external Vref source JP5 1 2 position Disable enable PWMTRIP JP6 1 2 position PWM SR mode selection JP7 1 2 position PWM p...

Page 57: ...switch S1 the external power on reset IC ADM708 or the USB interface circuitry on the ADSP 21992 EZ KIT Lite board JP21 Open RS 232 circuit jumper JP22 No shunt required CAN circuitry jumper JP23 Open...

Page 58: ...reference operation are Internal reference P3 in position 1 2 and JP4 is open External reference P3 in position 2 3 and JP4 is closed Refer to Reference Voltage Generation on page 3 6 for details on v...

Page 59: ...he appropriate setting for this jumper is determined by the exact nature of the gate drive circuit of the target system A third alter native is to leave JP5 unconnected In this case its state can be d...

Page 60: ...e PLL configuration register specify the PLL multiplication factor at reset When JP12 is closed BYPASS mode is selected default SPI EEPROM Enable Jumpers JP13 JP14 A socket is available on the ADSP 21...

Page 61: ...A 64K by 16 bit SRAM IC U8 is provided on the External Memory Interface EMI of the ADSP 21992 EZ KIT Lite board External mem ory space consists of four memory banks Memory bank pins MS3 through MS0 se...

Page 62: ...2 3 POSITION JP6 JP5 JP7 1 2 3 1 2 3 1 2 3 JP8 1 2 3 ADSP 2199X EZ LITE BOARD a ADSP 2199X EZ LITE BOARD a S1 S1 Y1 ADSP 2199x A12 ADSP 2199x A12 A6 A5 P4 1 10 VIN0 VIN7 A6 A5 A6 A6 A5 A5 P4 1 10 VIN...

Page 63: ...cted to a 10 pin connector as shown in Table 3 3 External Memory Interface EMI Connector P3 Refer to the schematics in Appendix A at the end of this document for the pinout of the EMI connector Table...

Page 64: ...outputs of the SPI DAC are brought out to the DAC outputs connec tor P5 as shown in Table 3 5 Table 3 4 Analog Input Connector P4 Pins Name Signal 1 AGND Analog ground 2 VIN0 Analog input channel 0 3...

Page 65: ...4 7 DAC5 DAC channel 5 8 DAC6 DAC channel 6 9 DAC7 DAC channel 7 10 AGND Receive clock Table 3 6 Encode Interface Connector P6 Pins Name Signal 1 DGND Digital ground 2 EIZ Differential north marker Z...

Page 66: ...e on the programmable flag interface connector P8 as shown in Table 3 8 Table 3 7 SPI Connector P7 Pins Name Signal 1 DGND Digital ground 2 SCK Clock 3 MISO Master In Slave Out 4 MOSI Master Out Slave...

Page 67: ...able flag 7 10 DGND Digital ground 11 PF8 Programmable flag 8 12 PF9 Programmable flag 9 13 PF10 Programmable flag 10 14 PF11 Programmable flag 11 15 PF12 Programmable flag 12 16 PF13 Programmable fla...

Page 68: ...face Connector P10 Pin Name Signal 1 AH PWM channel A high output 2 AL PWM channel A low output 3 BH PWM channel B high output 4 BL PWM channel B low output 5 CH PWM channel C high output 6 CL PWM cha...

Page 69: ...bus and allow easy daisy chaining of CAN devices 14 TMR0 General purpose timer I O 15 TMR1 General purpose timer I O 16 TMR2 General purpose timer I O Table 3 11 USB Connector P11 Part Description Ma...

Page 70: ...ng to provide keying Pin 3 in the mating connector should have a plug When an emulator is connected to the JTAG header the USB debug interface is disabled When using an emulator with the EZ KIT Lite b...

Page 71: ...ystem Manual 3 27 EZ KIT Lite Hardware Reference Mechanical Dimensions Figure 3 5 shows the board s dimensions in inches Figure 3 5 Mechanical Dimensions in Inches 0 000 0 000 0 250 0 250 7 000 5 000...

Page 72: ...Mechanical Dimensions 3 28 ADSP 21992 EZ KIT Lite Evaluation System Manual...

Page 73: ......

Page 74: ......

Page 75: ......

Page 76: ......

Page 77: ......

Page 78: ......

Page 79: ......

Page 80: ......

Page 81: ......

Page 82: ...4 3 20 analog input interface 3 4 architecture EZ KIT Lite 3 1 3 2 auxiliary PWM unit interface 3 9 AUXPWM connector 3 24 AUXPWM trip jumper JP8 3 15 B board architecture EZ KIT Lite 3 1 3 2 boot mode...

Page 83: ...memory interface EMI EZ KIT Lite 3 7 external memory interface connector P3 3 19 external SRAM enable jumpers JP24 JP27 3 17 external voltage reference 3 6 external internal DSP reset selection jumpe...

Page 84: ...3 17 JP31 3 18 JP4 3 14 JP5 3 14 JP6 3 15 JP7 3 15 JP8 3 15 JP9 3 16 JTAG connector about 3 26 JTAG emulation port 3 10 jumpers ADSP 21992 EZ KIT Lite 3 11 list of 3 12 L LEDs LED10 PF2 flag 2 5 LED11...

Page 85: ...interface 3 9 PWM polarity jumper JP7 3 15 PWM switched reluctance mode jumper JP6 3 15 PWM trip jumper JP5 3 14 R reference voltage selecting 3 6 registering this product 1 2 reserved memory ADSP 21...

Page 86: ...3 16 UART interface connector P9 3 23 USB driver installation Windows 2000 1 12 driver installation Windows 98 1 8 driver installation Windows XP 1 13 USB connector P11 3 25 V verifying USB driver ins...

Page 87: ...INDEX I 6 ADSP 21992 EZ KIT Lite Evaluation System Manual...

Reviews: