Analog Devices ADSP-21369 system manual PB1 SW8 FLAG1/~IRQ1 PB2

Page 35

Using EZ-KIT Lite

Two of the general-purpose push buttons are attached to the FLAG pins of the processor, while the other two are attached to the DAI pins. All of the push buttons connect to the processor through a DIP switch. The DIP switch allows processor pins, which connect to the push buttons, to be dis- connected. See “Push Button Enable Switch (SW7)” on page 2-12for instructions on how to disable the push buttons from driving the corre- sponding processor pin.

The state of the push buttons, connected to the FLAG pins, can be deter- mined by reading the FLAG register. The push buttons connected to the DAI pins must be configured as interrupts. It is necessary to set up an interrupt routine to determine each pin’s state. Table 1-2shows how each push button connects to the processor. Refer to the related example pro- gram shipped with the EZ-KIT Lite for more information.

Table 1-2. Push Button Connections

Push Button Label

Push Button Reference Designator

Processor Pin

 

 

 

 

 

 

PB1

SW8

FLAG1/~IRQ1

 

 

 

PB2

SW11

FLAG0/~IRQ0

 

 

 

PB3

SW10

DAI19

 

 

 

PB4

SW9

DAI20

 

 

 

Table 1-3summarizes the LED connections to the processor. In order to use the LEDs connected to the DAI or DPI, the respective registers inside the processor must be correctly configured. For more information on how to program the pins, refer to the ADSP-2136x SHARC Processor Hardware Reference for ADSP-21367/8/9 Processors.

An example program is included in the EZ-KIT Lite installation directory to demonstrate the functionality of the LEDs and push buttons.

ADSP-21369 EZ-KIT Lite Evaluation System Manual

1-11

Image 35
Contents ADSP-21369 EZ-KIT Lite Evaluation System Manual Disclaimer Limited WarrantyTrademark and Service Mark Notice Copyright InformationRegulatory Compliance Page Contents Using EZ-KIT Lite ADSP-21369 EZ-KIT Lite Evaluation System Manual Vii Bill of Materials Schematics Index Preface Page Preface Page Intended Audience Manual ContentsPurpose of This Manual What’s New in This Manual What’s New in This ManualTechnical or Customer Support Product Information Supported ProcessorsProduct Information MyAnalog.comProcessor Product Information Title Description Related DocumentsEach documentation file type is described as follows Online Technical DocumentationAccessing Documentation From Web Accessing Documentation From VisualDSP++Accessing Documentation From Windows Processor Manuals Printed ManualsVisualDSP++ Documentation Set Hardware Tools ManualsPreface Data Sheets Notation Conventions Notation ConventionsPreface Xxiv ADSP-21369 EZ-KIT Lite Evaluation System Manual Using EZ-KIT Lite Package Contents Using EZ-KIT Lite Default ConfigurationInstallation and Session Startup Installation and Session StartupUsing EZ-KIT Lite Evaluation License Restrictions Evaluation License RestrictionsExternal Memory Start Address End Address ContentElvis Interface Elvis InterfaceAnalog Audio LEDs and Push Buttons LEDs and Push ButtonsPB1 SW8 FLAG1/~IRQ1 PB2 Example Programs Example ProgramsBackground Telemetry Channel Sors/resources/crosscore/emulators/index.html. For more Background Telemetry Channel EZ-KIT Lite Hardware Reference System Architecture System ArchitectureEZ-KIT Lite Hardware Reference External PortDAI Interface ADSP-21369 DPI InterfaceFlag Pins Expansion Interface External PLLJtag Emulation Port Switch SettingsBoot Mode and Clock Ratio Select Switch SW2 Switch SettingsOFF Core Clock Rate Configuration Codec Setup Switch SW3Uart Enable Switch SW5 Electret Microphone Select Switch SW4Push Button Enable Switch SW7 Loop-Back Test Switches SW6 and SW14Elvis Function Generator Configuration Switch SW13 Elvis Oscilloscope Configuration Switch SW1General Purpose LEDs LED1-8 Power LED LED9LED and Push Button Locations Reset LEDs LED10 and LED12Push Buttons SW8-11 USB Monitor LED LED11VCO Select Jumper JP1 Board Reset Push Button SW12Jumpers Jumper Locations 10. VCO Select Jumper JP1 JumpersElvis Voltage Selection Jumper JP3 Elvis Select Jumper JP2Elvis Programmable Flag Jumper JP4 ConnectorsExpansion Interface Connectors J1-J3 ConnectorsConnector Locations Headphone Out Jack P7 Audio In RCA Connector P10Audio Out RCA Connector J5 Power Jack J4Spdif Coax Connectors P8 and P9 RS-232 Connector P1DAI Header P4 USB Connector P5DPI Header P3 Jtag Header P2 Connectors Bill of Materials Description Reference Designator Manufacturer Part Number Bill Of Materials VR5 ADI Switchcraft PJRAN1X1U01 BLK SPST-MOMENTARY SWT013 2A S2ARECT DO-214AA Panasonic ERJ-2GEJ472X DIGI-KEY P1.5KCFCT-ND Yageo ERJ-3RSFR10V Panasonic ECJ-1VC1H101J RED-SMT LED001 LED10,LED12 Panasonic ADSP-21369 EZ-KIT Lite Evaluation System Manual ADSP-21369 EZ-KIT Lite Schematic Devices DSP Memory Analog Audio Audio OUT DAC3 Left Audio in & Headphone OUT Analog DSP IO Current PUSHBUTTONS, LEDS, & Reset Expansion Interface Power Index Index Jtag SPI