11
LatticeXP2 Advanced
Lattice Semiconductor
Evaluation Board User’s Guide
SW2 and SW8 on the right side and the upper side of the board are 8-pin DIP switches. The pull-up resistors asso-
ciated with these switches are wired to 3.3V. A switch in the down position produces a low (0), the up position pro-
duces a high (1). All signals of SW8 are debounced before connecting to LatticeXP2 I/O pins. Table 13 shows the
SW8 connections to the LatticeXP2 and Table 14 shows the SW2 connections to ispPAC-POWR1220AT8 I/O pins.
Table 13. 8-Position Switch SW8
Switch (Position#)
LatticeXP2 I/O
sysIO Bank
SW8 (position #1)
W15
4
SW8 (position #2)
U16
4
SW8 (position #3)
T16
4
SW8 (position #4)
Y15
4
SW8 (position #5)
Y16
4
SW8 (position #6)
Y18
4
SW8 (position #7)
Y17
4
SW8 (position #8)
W18
4
Table 14. 8-Position Switch SW2
Switch (Position#)
POWR1220AT8
I/O Pin
Pin Name
SW2 (position #1)
97
IN1
SW2 (position #2)
1
IN2
SW2 (position #3)
2
IN3
SW2 (position #4)
4
IN4
SW2 (position #5)
6
IN5
SW2 (position #6)
7
IN6
SW2 (position #7)
89
VPS0
SW2 (position #8)
90
VPS1
LEDs
The eight user-definable LEDs are provided on the lower right side of the board. These LEDs are each wired to a
separate general purpose I/O as defined in the Table 15. The current limiting resistors associated with these LEDs
are wired to 3.3V but it is safe to use any FPGA I/O voltage. The LED will light when its associated I/O pin is driven
low.
Table 15. Connection between LEDs and LatticeXP2
LED
LatticeXP2 I/O
Bank
LED
LatticeXP2 I/O
Bank
D17
AB18
4
D21
Y14
4
D18
AB19
4
D22
AA13
4
D19
V12
4
D24
AB16
4
D20
U12
4
D25
AB17
4
Table 16 describes the three LEDs associated with the dedicated programming pins.
Table 16. Programming LEDs
LED
Pin
Color
Function
D27
PROGRAMN
Yellow
On when signal is low
D29
INIT
Red
On when initializing
D28
DONE
Green
On when config is complete