The LatticeECP2 Standard Evaluation Board is a complete, integrated design, featuring a LatticeECP2 FPGA and
a variety of both application-specific and general-purpose peripheral interfaces. This board provides a convenient
platform to evaluate, test, and debug user designs, including designs requiring PCI/PCI-X. This board includes the
following features:
• LatticeECP2 FPGA device in 484 fpBGA package
• SPI Serial Flash device included for low-cost, non-volatile configuration storage
• Prototyping area with access to over 210 I/O pins
• Optional SMA/SMB connectors (up to eight) for high-speed clock and data interfacing
• 7-segment display, eight general purpose switches, two momentary switches, eight user LEDs, and various sta-
tus LEDs
• Required voltages supplied by PCI/PCI-X or one external 5V DC supply
• ispVM
Figure 1. Lattice ECP2 Standard Evaluation Board
®
System programming support
Electrical, Mechanical, and Environmental Specifications
The nominal board dimensions are 9.75 inches by 4.2 inches. The environmental specifications are as follows:
• Operating temperature: 0ºC to 55ºC
• Storage temperature: -40ºC to 75ºC
2
k
k
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
• Humidity: < 95% without condensation
• 5VDC input (+/- 10%) up to 4A, or 3.3V input from PCI/PCI-X backplane
Additional Resources
Additional resources relating to the LatticeECP2 Standard Evaluation Board (including updated documentation,
and sample programs) can be found at the following URL:
This board features a LatticeECP2 FPGA with a 1.2V DC core in a 484-ball fpBGA package. A complete description of this device can be found in the LatticeECP2 Family Data Sheet available on the Lattice web site at www.latticesemi.com/ecp2.
On-Board Oscillator
The 3.3V oscillator socket at Y1 accepts both full-size (14-pin) and half-size (8-pin) oscillators, and will route the
oscillator output to a LatticeECP2 primary clock input or a PLL input, depending on the oscillator’s position in the
socket (see Figure 2).
When a full size oscillator is installed such that pin 1 of the oscillator aligns with pin 1 of the socket, the output of
the oscillator drives the primary clock at LatticeECP2 pin J21 (this is the default position). When pin 1 of the oscillator is aligned to pin 2 of the socket, the clock is routed to LatticeECP2 pin J21. When using a half size oscillator,
align pin 1 of the oscillator to pin 1 of the socket to drive the primary clock, or align pin 1 of the oscillator to pin 5 of
the socket to drive the PLL. Note that pin 1 of the oscillator is expected to be a no-connect pin.
Figure 2. Oscillator Options
GND
GND
Pin-1Pin-1
Default
Position
Pin-1
33.33 MHz
Full-Size
33.33 MHz
Full-Size
Pin-16Pin-16
3.3V
Primary Clock
(J21)
PLL Clock
(N21)
3.3V
Primary Clock
(J21)
PLL Clock
(N21)
GND
Pin-1Pin-16
GND
33.33 MHz
Half-Size
33.33 MHz
Half-Size
Pin-16
3.3V
Primary Cloc
(J21)
PLL Clock
(N21)
3.3V
Primary Cloc
(J21)
PLL Clock
(N21)
SPI Serial Flash
SPI Serial Flash are available in three package styles, two of those packages, 8-pin SO and 16-pin SO, are supported by this board. In general, the 8-pin devices support densities up to 16Mb, while the 16-pin devices support
larger densities. The device chosen for inclusion on this board depends on the density of the installed LatticeECP2,
but the SPI Serial Flash will be large enough to allow two bitstreams to be stored simultaneously in order to support
SPIm mode.
3
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
The 8-pin device footprint is at U4; the 16-pin device footprint is at U5. Only one location can be populated at a
time.
Configuration/Programming Headers
Two programming headers are provided on the evaluation board, providing access to the LatticeECP2 JTAG port
and sysCONFIG™ port. The JTAG connector is a 1x10 header and the sysCONFIG connector is a 2x17 header.
Both the JTAG and the sysCONFIG ports are also provided with loop-through connectors to allow for easy daisy
chaining of multiple boards. With proper jumper selection (see the next section) standard IDC ribbon cable can be
used without the need to swap wires on the cable.
See the Configuring/Programming The Board section of this document for more information on this topic.
The pinouts for these headers are provided in the following tables.
Note: A parallel port ispDOWNLOAD
using a parallel port (1x8) ispDOWNLOAD cable, connect pin 1 of the cable to pin 1 of the 1x10 JTAG header. For
more information on the ispDOWNLOAD Cable, see the ispDOWNLOAD Cables Data Sheet available on the Lattice web site at www.latticesemi.com.
®
cable is included with each LatticeECP2 Standard Evaluation Board. When
There are several JTAG and sysCONFIG cabling options that can be selected using jumpers.
5
J8
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Default Jumpers Settings
This table lists the default settings for all of the jumpers on the LatticeECP2 Standard Evaluation Board. For a complete description of each jumper refer to the next sections.
Table 5. Default Jumper Settings
JTAG Jumpers
Table 6. TDO Chain Jumper
Location
J1
J31 to 2J30
J72 to 3J31Open
J81 to 2J32Open
J9OpenJ331 to 2
J10OpenJ342 to 3
J11OpenJ35Open
J13OpenJ36Open
J171 to 2J371 to 2
J181 to 2J38Open
J19OpenJ391 to 2
J22OpenJ43
J23OpenJ441 to 2
J24Open
PositionLocationPosition
1 to 2J291 to 2
1 to 2
3 to 4
5 to 6
1 to 2
3 to 4
5 to 6
Location
J7
Determines the JTAG TDO path.
PositionFunctionDefault
1 to 2Multiple boards, but not the last board in the chain
2 to 3
Single board, or the last board in a chainX
Table 7. TCK Pull-Down
Location
There should be only one TCK pull-down on a JTAG chain.
PositionFunctionDefault
1 to 2
Open
Pull-down, 4.7K to groundX
No pull-down
Table 8. PROGRAMN Pin to JTAG
Location
J10
This jumper is normally not installed.
PositionFunctionDefault
1 to 2Connects PROGRAMN pin to the JTAG chain
Open
Disconnects PROGRAMN pin from JTAG chainX
6
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 9. INITN Pin to JTAG
Location
J11
This jumper is normally not installed.
PositionFunctionDefault
1 to 2Connects INITN pin to the JTAG chain
Open
Disconnects INITN pin from the JTAG chainX
sysCONFIG Jumpers
Table 10. CS1N
Location
J31
PositionFunctionDefault
1 to 2Pulls CS1N high
2 to 3Pulls CS1N low
Open
No pull-up or pull-down on CS1NX
Table 11. CSN
LocationPositionFunctionDefault
1 to 2Pulls CSN high
J32
2 to 3Pulls CSN low
Open
No pull-up or pull-down on CSNX
Table 12. DI/D[0]
LocationPositionFunctionDefault
J33
1 to 2
2 to 3Routes data bit D[0] to J40-5 for SPIFAST support
Routes DI to J40-5 to support serial modeX
Table 13. D[7]/DOUT
LocationPositionFunctionDefault
J34
1 to 2Routes D[7] to J40-7 for SPI sysCONFIG support
2 to 3
Routes DOUT to J40-7 to support serial modeX
Table 14. CSON to CS1N (Loop-Through)
LocationPositionFunctionDefault
J35
1 to 2CSON drives CS1N on the loop-through connector
Open
CS1N on the loop-through connector is openX
Table 15. CSON to CSN (Loop-Through)
LocationPositionFunctionDefault
J36
1 to 2CSON drives CSN on the loop-through connector
Open
CSN on the loop-through connector is openX
7
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 16. Configuration Mode (J43)
Configuration
Mode
SPI (default)
ReservedJumper (0)Jumper (0)Open (1)
SPImJumper (0)Open (1)Jumper (0)
ReservedJumper (0)Open (1)Open (1)
ReservedOpen (1)Jumper (0)Jumper (0)
Slave SerialOpen (1)Jumper (0)Open (1)
ReservedOpen (1)Open (1)Jumper (0)
Slave ParallelOpen (1)Open (1)Open (1)
CFG[2],
1 to 2
Jumper (0)Jumper (0)Jumper (0)
CFG[1],
3 to 4
CFG[0],
5 to 6
Table 17. SPIFAST
Location
J44
All SPI Serial Flash shipped with this board support fast read. This jumper must be removed when using the sysCONFIG parallel port.
PositionFunctionDefault
1 to 2
Open
SPI fast read, enables read op-code 0x0BX
SPI normal read, enables read op-code 0x03
Table 18. Jumper Settings for sysCONFIG Parallel
Location
J31
J32OpenSee schematic
J331 to 2
J342 to 3
J43All Open
J44Open
J35, J36OpenBypass Overflow
J35, J361 to 2Flow-through Overflow
PositionNotes
OpenSee schematic
Table 19. Jumper Settings for sysCONFIG Serial
Location
J31
J32Open
J331 to 2
J342 to 3
J43
J44Don’t Care
J35, J36OpenBypass Overflow
J35, J361 to 2Not allowed
PositionNotes
Open
Open
3 to 4Open if driven by cable
Open
8
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 20. Jumper Settings for SPI Emulation via J40
Location
J31
J32Open
J332 to 3
J341 to 2
J43
J44Open
J35, J36OpenBypass Overflow
J35, J361 to 2Not allowed
PositionNotes
Open
1 to 2Open if driven by cable
3 to 4Open if driven by cable
5 to 6Open if driven by cable
Power Setup
For stand-alone board operation, i.e. outside of a PCI/PCI-X backplane, the evaluation board must be supplied with
a single 5V DC power supply. 5V DC power may be applied using an AC adapter, such as the Condor Electronics
S-5V0-4A0-U11-206IP (or similar), plugged into the power jack at J47, or via the banana jacks at J45 (ground) and
J46 (5V DC).
Table 21. AC Adaptor Specifications
Voltage5VDC +/- 10%
Current CapacityUp to 4A
PolarityPositive Center
Connector I.D.0.1” (2.5mm)
Connector O.D.0.218” (5.5mm)
When the board is inserted into a PCI/PCI-X backplane, the on-board 3.3V regulator is automatically disabled; all
onboard power will be derived from the PCI/PCI-X 3.3V power rail.
Additional on-board regulators supply 1.2V, an adjustable voltage, and 5V (for the optional LCD panel). The adjustable voltage is set by the potentiometer R36, on the right side of the board, and can be set to any value between
1.22V and 2.5V.
The header at J30 allows a current measuring device to be inserted between 1.2V and the FPGA core. To measure
current remove power from the board, remove all of the jumpers at J30, install a meter between the odd pins and
the even pins, for example between pins 1 and 2, and apply power to the board. When measurement is complete,
remove power from the board and re-install all three jumpers.
Table 22. 1.2V to V
Location
J30
The header at J29 allows a current measuring device to be inserted between 3.3V and the FPGA’s V
Core
CC
PositionFunctionDefault
1 to 2
3 to 4X
5 to 6X
Connects 1.2V to the FPGA Core
X
CCAUX.
To
measure current, remove power from the board, remove the jumper at J29, install a meter between pins 1 and 2,
and apply power to the board. When measurement is complete, remove power from the board and re-install the
jumper.
9
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 23. 3.3V to V
Location
J29
CCAUX
PositionFunctionDefault
1 to 2Connects 3.3V to VCCAUXX
The LatticeECP2 is divided into 10 banks of I/Os (see Table 24), and each of these banks has a separate and independent V
Each bank supports voltages from 1.2V to 3.3V. However, because some banks, such as banks 4
CC.
and 5, which connect to PCI/PCI-X, require a fixed voltage, not all of the banks on this evaluation board are adjustable. The jumpers listed in Table 24 allow the user to select the voltage (V
) applied to the adjustable banks.
CCIO
Note that if the LatticeECP2 will be configured from the SPI Serial Flash, bank 8 must be set to 3.3V (because SPI
Serial Flash is 3.3V). Also, if the board is plugged into a PCI/PCI-X connector, bank 6 must be set to 3.3V (because
the PCI clock is routed to bank 6 on this board).
Table 24. Bank Voltage Selection
Bank
0I/O—3.3V Only
1I/O—3.3V Only
2I/OJ37
3I/O—3.3V Only
4I/O—3.3V Only
5I/O—3.3V Only
6I/OJ18
7I/OJ17
8sysCONFIGJ39
V
CCJ
J17, 18, 37, and 39 must have no more than one jumper installed.
FunctionJumperSettings
1 - 2 = 3.3V
3 - 4 = ADJ
5 - 6 = 1.2V
1 - 2 = 3.3V
3 - 4 = ADJ
5 - 6 = 1.2V
1 - 2 = 3.3V
3 - 4 = ADJ
5 - 6 = 1.2V
1 - 2 = 3.3V
3 - 4 = ADJ
5 - 6 = 1.2V
ispJTAG™
—3.3V Only
The following tables detail the various I/O standards supported by the LatticeECP2 sysIO™ structures. More information can be found in Lattice technical note TN1102, LatticeECP2 sysIO Usage Guide, available on the Lattice
web site at www.latticesemi.com.
Table 25. Mixed Voltage I/O Support
Input sysIO Standards
V
CCIO
1.2V
1.5VYe sYe sYe sYe sYe s
1.8VYe sYe sYe sYe sYe s
2.5VYe sYe sYe sYe s
3.3VYe sYe sYe sYe s
For example, if V
1.2V1.5V1.8V2.5V3.3V1.2V1.5V1.8V2.5V3.3V
Ye sYe sYe sYe s
is 3.3V, then signals from devices powered by 1.2V, 2.5V, or 3.3V can be input and the
CCIO
thresholds will be correct, assuming the user has also selected the desired input level using ispLEVER
Output levels are tied directly to V
SSTL18 Class I
SSTL2 Class I, II
SSTL3 Class I, II
HSTL15 Class I, III
HSTL18 Class I, II, III
SSTL18D Class I,
SSTL25D Class I, II,
SSTL33D_I, II
HSTL15D Class I
HSTL18D Class I, II
PCI33
LVDS
LVDS25E
LVPECL
BLVDS
RSDS
1
1
1
1
All Single-ended,
Differential
All Single-ended,
Differential
PCI SupportPCI33 no clampPCI33 no clampPCI33 with clampPCI33 no clamp
LVDS Output BuffersLVDS (3.5mA) Buffers
1. These differential standards are implemented by using complementary LVCMOS drivers and external resistors.
2. Available on 50% of the I/Os in the Bank.
2
LVDS (3.5mA) Buffers
2
PCI/PCI-X
The LatticeECP2 Standard Evaluation Board is designed to be compatible with PCI (PCI SIG 2.2 specification) and
PCI-X (Mode 1). All necessary signals required for 64-bit PCI/PCI-X operation are provided, as shown in Table 27
and Table 28.
Table 27. PCI Connections - Solder Side
J48Signal NameLatticeECP2 PinsysIO BankNote
1PCI_TRSTN--TP10, PD if master
2+12V--Decoupling cap
3PCI_TMS--TP11, PU if master
4PCI_TDI--TP12, J14-4, J13
5+5V--NC
6PCI_INTA_N--J19
7PCI_INTC_N--J19
11
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 27. PCI Connections - Solder Side (Continued)
J48Signal NameLatticeECP2 PinsysIO BankNote
8+5V--NC
9PCIX_ECC5W45
10+3.3V--
11PCIX_ECC3W55
14+3.3VAUX--TP13
15PCI_RST_NY45
16+3.3V--
17PCI_GNT_NY55
18GND--
19PME#--TP9
20PCI_AD30W65
213.3V--
22PCI_AD28Y65
23PCI_AD26W75
24GND--
25PCI_AD24Y75
26PCI_IDSELU95
27+3.3V--
28PCI_AD22W85
29PCI_AD20Y85
30GND
31PCI_AD18V95
32PCI_AD16W95
33+3.3V--
34PCI_FRAME_NU105
35GND--
36PCI_TRDY_NV105
37GND--
38PCI_STOP_NW105
39+3.3V--
40PCI_SMBCLK--TP8, PU if master
41PCI_SMBDAT--TP14, PU if master
42GND--
43PCI_PARY105
44PCI_AD15W115
45+3.3V--
46PCI_AD13U124
47PCI_AD11Y124
48GND--
49PCI_AD9W124
52PCI_CBE0_NV124
53+3.3V--
54PCI_AD6U134
55PCI_AD4Y134
12
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 27. PCI Connections - Solder Side (Continued)
J48Signal NameLatticeECP2 PinsysIO BankNote
56GND--
57PCI_AD2W134
58PCI_AD0U144
59+3.3V--
60PCI_REQ64_NW144
61NC--
62NC--
63GND--
64PCI_CBE7_NV144
65PCI_CBE5_NU154
66+3.3V--
67PAR64T154
68PCI_AD62Y154
69GND--
70PCI_AD60W154
71PCI_AD58U164
72GND--
73PCI_AD56V164
74PCI_AD54T164
75+3.3V--
76PCI_AD52Y164
77PCI_AD50W164
78GND--
79PCI_AD48Y174
80PCI_AD46W174
81GND--
82PCI_AD44Y184
83PCI_AD42W184
84+3.3V--
85PCI_AD40Y194
86PCI_AD38Y204
87GND--
88PCI_AD36V174
89PCI_AD34V184
90GND--
91PCI_AD32U184
92NC--
93GND--
94NC--
Note: PD = pull-down resistor, PU = pull-up resistor, NC = no-connect, TP = test point.
13
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 28. PCI Connections - Component Side
J14Signal NameLatticeECP2 PinsysIO BankNotes
1-12V--Decoupling cap
2PCI_TCK--TP16, PD if master
3GND--
4PCI_TDO--TP17, J3, J13
5+5V--NC
6+5V--NC
7PCI_INTB_N--J19
8PCI_INTD_N--J19
9PCI_PRSNT1_NJ14-
10PCIX_ECC4W35
11PCI_PRSNT2_N--J23
14PCIX_ECC2Y25
15GND--
16PCI_CLKR16D20, J22
17GND--
18PCI_REQ_NY35
19+3.3V--
20PCI_AD31AB25
21PCI_AD29AA35
22GND--
23PCI_AD27AB35
24PCI_AD25AB45
253.3V--
26PCI_CBE3_NAA55
27PCI_AD23AB55
28GND--
29PCI_AD21AA65
30PCI_AD19AB65
313.3V--
32PCI_AD17AB75
33PCI_CBE2_NAA75
34GND--
35PCI_IRDY_NAB85
36+3.3V--
37PCI_DEVSEL_NU115
38PCIXCAP--
39LOCK#--TP15
40PCI_PERR_NAA85
41+3.3V--
42PCI_SERR_NAA95
43+3.3V--
44PCI_CBE1_NAB95
45PCI_AD14AA105
46GND--
14
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 28. PCI Connections - Component Side (Continued)
J14Signal NameLatticeECP2 PinsysIO BankNotes
47PCI_AD12AB105
48PCI_AD10AA115
49PCI_M66EN--J38
52PCI_AD8AB115
53PCI_AD7Y115
54+3.3V--
55PCI_AD5AB125
56PCI_AD3AA125
57PCI_GND_57--U6
58PCI_AD1AB135
59+3.3V--
60PCI_ACK64_NAA134
61+5V--NC
62+5V--NC
63NC--
64GND--
65PCI_CBE6_NAB145
66PCI_CBE4_NAA144
67GND--
68PCI_AD63AB154
69PCI_AD61AA154
70+3.3V--
71PCI_AD59AB164
72PCI_AD57AA164
73GND--
74PCI_AD55AB174
75PCI_AD53AA174
76GND--
77PCI_AD51AB184
78PCI_AD49AA184
79+3.3V--
80PCI_AD47AB194
81PCI_AD45AB204
82GND--
83PCI_AD43AA204
84PCI_AD41AB214
85GND--
86PCI_AD39AA224
87PCI_AD37AA214
88+3.3V--
89PCI_AD35Y224
90PCI_AD33Y214
91GND--
92NC--
15
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 28. PCI Connections - Component Side (Continued)
J14Signal NameLatticeECP2 PinsysIO BankNotes
93NC--
94GND--
Note: PD = pull-down resistor, PU = pull-up resistor, NC = no-connect, TP = test point.
PCI/PCI-X Jumpers
Table 29. PRSNT1
LocationPositionFunctionDefault
1 to 2Master PCI/PCI-X
J9
Not installed. If installing header, first cut trace between 2 and 3. If master, also install R51 and C39.
Table 30. PRSNT2
LocationPositionFunctionDefault
J23
Not installed. If master, also install R62 and C47.
2 to 3Target PCI/PCI-X
OpenTarget PCI/PCI-XX
1 to 2Master PCI/PCI-X
OpenTarget PCI/PCI-XX
Table 31. PCIXCAP and M66EN Encoding
Frequency
PCIXCAP(J24)M66EN(J38)
1 to 22 to 333MHz66MHz
1 to 2Open66MHz66MHz
Open2 to 333MHz133MHz
OpenOpen66MHz133MHzX
Don’t Care1 to 2MasterMaster
If master, also install R126 and C111.
DefaultPCIPCI-X
Table 32. PCI TDI and TDO
LocationPositionFunctionDefault
J13
Not installed. If master then cut the trace between 1 and 2.
1 to 2Target PCI/PCI-XX
OpenMaster PCI/PCI-X
Table 33. PCI Interrupt
LocationPositionFunctionDefault
2 to 4INT = INTAX
J19
Not installed. If installing header, first cut trace between 2 and 4.
1 to 3INT = INTB
4 to 6INT = INTC
3 to 5INT = INTD
16
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 34. PCI CLK
LocationPositionFunctionDefault
Routes PCI_CLK to FPGA, only used if installing this board in a PCI or
J22
The differential signals at J20 and J21 can not be used if this jumper is installed (1 to 2).
1 to 2
OpenDisconnects this signal from the FPGAX
PCI-X backplane. For signal integrity, also remove R27 and R30. D20
provides PCI clamping for this signal.
If the board is to be a master, in addition to properly setting the jumpers, the following resistors and capacitors must
be installed.
Table 35. Install These Resistors and Caps if PCI/PCI-X is a Master
This board supports testing of single-ended and differential signals.
High-Speed Single-Ended
There are eight FPGA signals that have been routed to special test points on the board. Each signal can include a
series resistor, as well as a pull-up resistor and a pull-down resistor (for maximum flexibility these resistors are not
included with the board). Each series resistor footprint has a shorting trace that must be cut before installing a
resistor (see Figure 3). Next to each signal’s test point a ground point has been added in order to make signal
integrity measurements easier and more accurate.
Figure 3. Resistor Shorting Trace
Cut this trace
Table 36. Single Ended SI Test Points
Resistors
Test PointPin
TP_SI7J4R8R71R2
TP_SI6J5R9R72R3
TP_SI5L6R10R73R4
TP_SI4L5R11R74R5
TP_SI3K2R12R75R6
TP_SI2K1R13R76R7
TP_SI1L2R22R82R20
TP_SI0L1R23R83R21
1. Cut shorting trace before installation.
Series
1
Pull-UpPull-Down
17
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
High-Speed Differential
The board supports testing of up to eight differential pairs using two types of connectors, SMA and RJ45. Each pair
has provision for a “line-to-line” resistor as well as single-ended series resistors (for maximum flexibility these resistors are not included with the board). The resistors can be used as termination or in combination to provide signal
emulation (level shifting). For more information on signal emulation and signal types, please refer to Lattice technical note number TN1102, LatticeECP2 sysIO Usage Guide, available on the Lattice web site at www.lattices-
emi.com.
Table 37. Differential SI Connectors
ConnectorLatticeECP2Resistors
LocationTypePinType
J27
J28P2GDLLC INR25
J26
J25M6PCLKC INR85
J21
J20R2GPLLC INR29
J15
J16T4GPLLC FBR90
U6-1
U6-2E1GPIOR15
U6-3
U6-4J1GPIOR17
U6-5
U6-6K4GPIOR78
U6-7
U6-8L3
1. All support true LVDS.
2. The shorting trace must be cut before installing the resistor.
3. R27 must be installed and J22 must be open if using J21.
SMA
SMA
SMA
SMA
RJ45
RJ45
RJ45
RJ45
P1GDLLT INR24
M5PCLKT INR84
R1GPLLT INR28
R3GPLLT FBR89
E2GPIOR14
J2GPIOR16
K3GPIOR77
L4GPIOR79
1
GPIO
Series
R87
2
Line-to-Line
R26
R86
3
R30
R91
R18
R19
R80
R81
Test Points
For GPIO (general purpose I/O) testing or monitoring, numerous test points are provided. The test points are
labeled according to the associated I/O pin location, for example TP_A21. These test points have been arranged in
grids that have grounds and V
CCIO
end of this document for more information.
Note that the test points for J21 and N21 have locations for zero ohm resistors (R115 and R117) to allow isolation
of the test points from the oscillator clock. By default these resistors are not installed on the board.
Switches
Switch 1 (SW1) on the top edge of the board is an eight-switch block that is part of the prototyping area. A switch in
the down position produces a low (logic 0), while the up position produces a high (logic 1). All SW1 signals go to
bank 1.
s placed nearby to allow for easy prototyping. Please refer the schematics at the
18
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 38. SW1 Connections
SwitchPin
SW1-1C12
SW1-2B12
SW1-3A11
SW1-4A12
SW1-5D12
SW1-6E12
SW1-7D13
SW1-8E13
SW2 is a momentary switch that, when pressed, forces the FPGA to start a configuration cycle.
SW3 is a momentary switch that the user can define for any purpose, such as a global reset. SW3 is wired to I/O
E18 (bank 1) and applies a low logic level (0) when pressed.
LEDs
Eight user-definable LEDs are provided on the top of the board under SW1. These LEDs are each wired to a separate GPIO on bank 1 as defined in the Table 39. The current limiting resistors associated with these LEDs are wired
to 3.3V, but it is safe to drive these signals with any FPGA I/O voltage. The LED will light when its associated I/O pin
is driven low.
Table 39. LED Connections
LEDPin
D1B14
D2A14
D3D14
D4C13
D5E14
D6F14
D7A13
D8B13
There are also three LEDs associated with the dedicated programming pins.
Table 40. Programming LEDs
LEDPinColorFunction
D12PROGRAMNYellowOn when signal is low
D11INITNRedOn when initializing
D10DONEGreenOn when configuration is complete
Note: During JTAG programming, the state of the DONE LED has no meaning. This is because the DONE pin,
which drives the LED, is being controlled by the pin’s BSCAN cell. See Lattice technical note number TN1108,
LatticeECP2 sysCONFIG Usage Guide, for more information on the dedicated programming pins.
Seven-Segment Display
This board contains a seven-segment display, with decimal point, at U2. The segments are wired to GPIO as
defined in Table 41. A low on the pin will turn on the associated segment.
19
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 41. Seven-Segment Display Connections
SegmentPin
AA15
BA17
CC15
DE15
EF15
FB15
GA16
DPD15
Figure 4. Seven-Segment Display
A
BF
G
EC
D
DP
LCD Connector
The LCD Connector has 18 pins, but only 16 are required for simple LCD panels. If using an OPTREX 51505 or
equivalent, use pins 1-16, if using a LUMEX LCM-S02002DSR or equivalent, use pins 3-18.
Two potentiometers are provided for LCD control. R34 adjusts the backlight and R35 adjusts the contrast. Power for
the LCD panel is provided by the 3.3V to 5V converter at U7.
20
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 42. LCD Connector
J42SignalFPGA Pin
1Anode (R34)—
2Cathode (GND)—
3VSS (GND)—
4VDD (5V)—
5VO (R35)—
6RSD16
7R/WA20
8EE16
9DB0A18
10DB1C17
11DB2B18
12DB3C16
13DB4G16
14DB5B17
15DB6G15
16DB7B16
17Anode (R34)—
18Cathode (GND)—
Compact Flash
The connector at J12 supports Type 1 and Type 2 Compact Flash cards. This connector supports PC Card Memory
Mode, PC Card I/O Mode, and True IDE Mode. Ultra DMA is not supported.
Table 43. Compact Flash Connector
SignalJ12FPGA PinJ12Signal
GND1—B1126CD1
D032B10A927D11
D043A10C1028D12
D054C11F1129D13
D065E11A730D14
D076A8B931D15
CE17B8A632CE2
A108B7D833VS1
OE9C8E1034IORD
A0910D10C635IOWR
A0811C7B536WE
A0712B6D937READY
3.3V13-—383.3V
A0614F10E939CSEL
A0515F9A440VS2
A0416A5A241RESET
A0317A3E842WAIT
A0218G8B343INPACK
A0119C3D744REG
21
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Table 43. Compact Flash Connector (Continued)
SignalJ12FPGA PinJ12Signal
A0020F8F745BVD2
D0021E7D646BVD1
D0122D5H747D08
D0223D4B148D09
WP24B2C449D10
CD225J7—50GND
RS-232
The DB9 connector at J2 provides a standard DCE RS-232 connection to the FPGA. There are two jumpers, J1
and J3, which allow use of a straight-wired cable or a null modem cable.
Table 44. RS-232 Connector to FPGA Pins
J1J3FunctionDefault
1 to 21 to 2Use with a straight-wired cable.X
2 to 32 to 3Use with a null modem cable (wires 2 and 3 swapped).
Table 45. RS-232 Connector to FPGA Pins
FPGA PinRS-232 Signal
C1CTS
D1RTS
C2Transmit Data (to the cable)
D3Receive Data (from the cable)
1. Wired to TD or RD depending on J1 and J3
1
1
Configuring/Programming the Board
Requirements
• PC with Lattice Semiconductor’s ispVM System version 16.0 (or later) programming software, installed with
appropriate drivers (USB driver for USB Cable, Windows NT/2000/XP parallel port driver for ispDOWNLOAD
Cable). Note: An option to install these drivers is included as part of the ispVM System setup. The ispVM System
software can be download from the Lattice web site at: latticesemi.com/ispvm
• Any ispDOWNLOAD or Lattice USB Cable (pDS4102-DL2x, HW7265-DL3x, HW-USB-2x, etc.).
For a complete discussion of the LatticeECP2’s configuration and programming options, refer to Lattice technical
note number TN1108, LatticeECP2 sysCONFIG Usage Guide.
SRAM Configuration
The LatticeECP2 SRAM can be configured easily via the JTAG port. The LatticeECP2 device is SRAM-based, so it
must remain powered to retain its configuration when programming just the SRAM. To program the SRAM, perform
the following procedure:
.
1. Check that J7 and J8 are properly set (see Table 6 and Table 7), and that J10 and J11 are open.
2. Connect the ispDOWNLOAD cable to the JTAG header at J4. When using a 1x8 connector on the download
cable, connect to the 1x10 header by justifying the alignment to pin 1 (pin 1 on the cable to pin 1 on the header,
pin 1 is Vcc).
22
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Important Note: The board must be un-powered when connecting, disconnecting, or reconnecting the isp-
DOWNLOAD Cable. Always connect the ispDOWNLOAD Cable's GND pin (black wire), before connecting any
other JTAG pins. Failure to follow these procedures can in result in damage to the LatticeECP2 FPGA device
and render the board inoperable.
3. Connect the LatticeECP2 Evaluation Board to an external 5V supply.
4. Start the ispVM System software.
5. Press the SCAN button located on the toolbar. The LatticeECP2 device should be automatically detected. The
resulting screen should be similar to Figure 5.
Figure 5. ispVM System Interface
6. Double-click the device to open the device information dialog, as shown in Figure 6. In the device information
dialog, click the Browse button located under Data File. Locate the desired bitstream file (.bit). Click OK to
both dialog boxes.
23
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
Figure 6. Device Information Dialog
7. Click the green GO button on the toolbar; this will begin the download process into the LatticeECP2.
8. Upon successful download, the LatticeECP2 will be operational.
SPI Flash Download
For non-volatile storage of configuration data, the LatticeECP2 device features an interface compatible with lowcost SPI Serial Flash. ispVM System has the ability to program the SPI Serial Flash through JTAG. After the SPI
Serial Flash is programmed the LatticeECP2 can configure automatically from the configuration data stored in the
Flash. The following steps describe the procedure for programming the SPI Serial Flash:
1. Install all three jumpers at J43, and the jumper at J44. This enables SPI mode by setting the CFG pins of the
LatticeECP2, and it enables fast SPI reads. Check that J7 and J8 are properly set (see Table 6 and Table 7),
and that J10 and J11 are open.
2. Connect the download cable to J4. When using a 1x8 connector on the download cable, connect to the 1x10
header by justifying the alignment to pin 1 (pin 1 on the cable to pin 1 on the header, pin 1 is Vcc).
Important Note: The board must be un-powered when connecting, disconnecting, or reconnecting the ispDOWNLOAD Cable. Always connect the ispDOWNLOAD Cable's GND pin (black wire), before connecting any
other JTAG pins. Failure to follow these procedures can in result in damage to the LatticeECP2 FPGA device
and render the board inoperable.
3. Connect the evaluation board to an external 5V supply
4. Start the ispVM System software.
24
LatticeECP2 Standard Evaluation Board
Lattice SemiconductorUser’s Guide
5. Press the SCAN button located on the toolbar. The LatticeECP2 device should be automatically detected. The
resulting screen should be similar to Figure 5.
6. Double-click the device to open the device information dialog as shown in Figure 6. In the Device Options drop-
down box, select SPI Flash Programming; you should see a window similar to Figure 7. Select the Flash
device that is on your board and then browse to the desired bitstream file (.bit). Click OK in both dialog boxes.
7. Click on the green GO button on the ispVM toolbar to program the SPI Serial Flash.
8. Press and release SW2 (Program) on the board to transfer the configuration data from the SPI Serial Flash to
the LatticeECP2. The LatticeECP2 should now be running the new code.