Using The Programmable Flag Pins; Example Programs; Table 3-2: Programmable Flag Pin Summary - Analog Devices EZ-KIT LITE ADSP-2191 Manual

Evaluation system
Hide thumbs Also See for EZ-KIT LITE ADSP-2191:
Table of Contents

Advertisement

3.4 Using the Programmable Flag Pins

The ADSP-2191 has 8 asynchronous programmable flag I/O pins (PF0-7) that let
you interact with the running program. Data pins 8-15 can also be used as
Programmable Flag pins depending on the configuration of the DSP.
During reset, the flag pins (PF0-7) are used to set the multiplication factor, which
sets the core clock frequency. After the DSP is reset, the flags are configured 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-2191 DSP Hardware Reference. Flags and their uses
are described in

Table 3-2: Programmable Flag Pin Summary

Flag
Connected to
PF0
LED8
PF1
LED9
PF2
LED10
PF3
LED11
PF4
SW3 –Push
Button
PF5
SW2 – Push
Button
PF6
AD1803
Reset
PF7
AD1885
Reset
! Note: All of the programmable flags are available on connector P9.

3.5 Example Programs

Example programs are provided with the ADSP-2191 EZ-KIT Lite to demonstrate
various capabilities of the evaluation board. These programs are installed with
the EZ-KIT Lite software and can be found in
KITs\ADSP-2191\Examples. Please refer to the example program readme files
for more information.
ADSP-2191 EZ-KIT Lite Evaluation System Manual
Table
3-2.
Use
PF0-3 are connected to the LEDs and 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.
PF4-5 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 some other operation such as jump to
another instruction.
PF6 is connected to the AD1803 telephony codec
reset, and can be used to put the chip in reset.
PF7 is connected to the AD1885 audio codec reset,
and can be used to put the chip in reset.
\...\VisualDSP\219x\EZ-
3-24

Advertisement

Table of Contents
loading

Table of Contents