beautypg.com

Table 1-3. led connections – Analog Devices EZ-KIT Lite ADSP-21364 User Manual

Page 33

background image

ADSP-21364 EZ-KIT Lite Evaluation System Manual

1-11

Using ADSP-21364 EZ-KIT Lite

The LEDs connect to the parallel port pins,

AD7–0

, via a latch. The parallel

port of the processor can be set up as a memory bus or as general-purpose

FLAG

pins. The latch allows the LEDs to be written to in both cases. Infor-

mation about setting up the latch can be found in

“Push Button Enable

Switch (SW9)” on page 2-11

.

When the LEDs are accessed as

FLAG

pins, the latch must be set up to pass

the data through to pins

AD7–0

of the processor. In this mode, it is also

necessary to set up the parallel port to be

FLAG

pins. To set up the parallel

port as

FLAG

pins, set the

PPFLGS

bit in the

SYSCTL

register.

Table 1-3

summarizes the LED and

FLAG

connections.

L

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

Table 1-3. LED Connections

LED Reference Designator Processor Pin

Mapped as FLAG

LED1

AD0

FLAG8

LED2

AD1

FLAG9

LED3

AD2

FLAG10

LED4

AD3

FLAG11

LED5

AD4

FLAG12

LED6

AD5

FLAG13

LED7

AD6

FLAG14

LED8

AD7

FLAG15