ADSP-BF561 EZ-KIT Lite Evaluation System Manual
1-9
Using EZ-KIT Lite
For more information about the memory connection on the EZ-KIT Lite,
see
“External Bus Interface Unit” on page 2-3
L
An example program is included in the EZ-KIT installation direc-
tory to demonstrate how to set up the SDRAM interface.
LEDs and Push Buttons
The EZ-KIT Lite provides four push buttons and sixteen LEDs for gen-
eral-purpose IO.
Sixteen LEDs labeled
LED5
through
LED20
are controlled by the processor’s
programmable flags
PF32
through
PF47
(equivalent to
PPI0 D15–8
and
PPI1 D15–8
). These LEDs are accessed through the
Flag 2
registers. First,
the direction must be configured to output by setting the bits of the
FIO2_DIR
register to “
1
”. Then the value of the LEDs can be modified
using one the
FIO2_FLAG_D
,
FIO2_FLAG_C
,
FIO2_FLAG_S
, or
FIO2_FLAG_T
registers.
The four general-purpose push buttons are labeled
SW6
through
SW9
. These
connect to the programmable flags
PF8–5
. A status of each individual but-
ton can be read through the
FIO0_FLAG_D
register. When the
corresponding bit of the register reads “
1
”, a switch is being pressed-on.
When the switch is released, the bit reads “
0
”. A connection between the
Table 1-3. SDRAM Optimum Settings
1
Register
Value
EBIU_SDGCTL
0x0091998D
EBIU_SDBCTL
0x00000013
EBIU_SDRRC
0x000003A0
1 Calculated with SCLK = 120 MHz