Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
January 2014
Revision: EB68_02.2
MachXO2 Breakout Board
Evaluation Kit User’s Guide
Introduction
Thank you for choosing the Lattice Semiconductor MachXO2™ Breakout Board Evaluation Kit!
This user’s guide describes how to start using the MachXO2 Breakout Board, an easy-to-use platform for evaluat-
ing and designing with the MachXO2 ultra-low density FPGA. Along with the board and accessories, this kit
includes a pre-loaded demonstration design. You may also reprogram the on-board MachXO2 device to review
your own custom designs.
The MachXO2 Breakout Board currently features the MachXO2-7000HE device. A previous version of this board
featured the MachXO2-1200ZE. The board design and features have not changed, and consequently, this docu-
ment can be used as a guide for either version of the board. If you require a board featuring the MachXO2-1200ZE,
Lattice recommends the MachXO2 Pico Development Kit.
Note: Static electricity can severely shorten the lifespan of electronic components. See the Storage and Handling
section of this document for handling and storage tips.
Features
The MachXO2 Breakout Board Evaluation Kit includes:
• MachXO2 Breakout Board – The board is a 3” x 3” form factor that features the following on-board components
and circuits:
– MachXO2 FPGA – Current board version: LCMXO2-7000HE-4TG144C
(Previous board version no longer available: LCMXO2-1200ZE-1TG144C)
– USB mini-B connector for power and programming
– Eight LEDs
– 60-hole prototype area
– Four 2x20 expansion header landings for general I/O, JTAG, and external power
– 1x8 expansion header landing for JTAG
– 3.3V and 1.2V supply rails
• Pre-loaded Demo – The kit includes a pre-loaded counter design that highlights use of the embedded MachXO2
oscillator and programmable I/Os configured for LED drive.
• USB Connector Cable – The board is powered from the USB mini-B socket when connected to a host PC. The
USB channel also provides a programming interface to the MachXO2 JTAG port.
• Lattice Breakout Board Evaluation Kits Web Page – Visit www.latticesemi.com/breakoutboards for the latest
documentation (including this guide) and drivers for the kit.
The content of this user’s guide includes demo operation, programming instructions, top-level functional descrip-
tions of the Breakout Board, descriptions of the on-board connectors, and a complete set of schematics.
2
MachXO2 Breakout Board
Evaluation Kit User’s Guide
MachXO2
PLD (U3)
FTDI
USB to UART/FIFO
IC (U1)
• Use anti-static precautions such as operating on an anti-static mat and wearing an anti-static wrist-band.
• Store the evaluation board in the packaging provided.
• Touch a metal USB housing to equalize voltage potential between you and the board.
Software Requirements
You should install the following software before you begin developing new designs for the Breakout board:
MachXO2 Device
This board currently features the MachXO2-7000HE FPGA which offers embedded Flash technology for instant-
on, non-volatile operation in a single chip. Numerous system functions are included, such as two PLLs and 256
Kbits of embedded RAM plus hardened implementations of I2C, SPI, timer/counter, and user Flash memory. Flexi-
ble, high performance I/Os support numerous single-ended and differential standards including LVDS, and also
source synchronous interfaces to DDR/DDR2/LPDDR DRAM memory. The 144-pin TQFP package provides up to
3
MachXO2 Breakout Board
Evaluation Kit User’s Guide
114 user I/Os in a 20mm x 20mm form factor. Previous versions of this board featured the MachXO2-1200ZE PLD
in the same package. This version of the board is no longer available. A complete description of this device can be
found in the MachXO2 Family Data Sheet.
Demonstration Design
Lattice provides a simple, pre-programmed demo to illustrate basic operation of the MachXO2 device. The design
integrates an up-counter with the on-chip oscillator.
Note: You may obtain your Breakout Board after it has been reprogrammed. To restore the factory default demo
and program it with other Lattice-supplied examples see the Download Demo Designs section of this document.
c_delay[20]
1x8 LED
(~2 Hz)
Array
22-bit c_delay[21:0]
Up-Counter
Clock
Generator 2.08 MHz
WARNING: Do not connect the Breakout Board to your PC before you follow the driver installation procedure of this
section.
Communication with the Breakout Board with a PC via the USB connection cable requires installation of the FTDI
chip USB hardware drivers. Loading these drivers enables the computer to recognize and program the Breakout
Board. Drivers can be loaded as part of the installation of Lattice Diamond design software or Diamond Program-
mer, or as a stand-alone package.
To load the FTDI Chip USB hardware drivers as part of the Lattice Diamond installation:
2. Select FTDI Windows USB Driver or All Drivers in the LSC Drivers Install/Uninstall dialog box.
4. After the driver installation is complete, connect the USB cable from a USB port on your PC to the board’s USB
mini-B socket (J2). After the connection is made, a green Power LED (D9) will light indicating the board is pow-
ered on.
5. The demonstration design will automatically load and drive the LED array in an alternating pattern.
4
MachXO2 Breakout Board
Evaluation Kit User’s Guide
To load the FTDI chip USB hardware drivers via the stand-alone package on a Windows system:
1. Browse to www.latticesemi.com/breakoutboards and download the FTDI Chip USB Hardware Drivers package.
2. Extract the FTDI chip USB Hardware driver package to your PC hard drive.
3. Connect the USB cable from a USB port on your PC to the board’s USB mini-B socket (J7). After the connec-
tion is made, a green Power LED (D9) will light indicating the board is powered on.
4. If you are prompted, “Windows may connect to Windows Update” select No, not this time from available
options and click Next to proceed with the installation. Choose the Install from specific location (Advanced)
option and click Next.
5. Search for the best driver in these locations and click the Browse button to browse to the Windows driver folder
created in the Download Windows USB Hardware Drivers section. Select the CDM 2.04.06 WHQL Certified
folder and click OK.
6. Click Next. A screen will display as Windows copies the required driver files. Windows will display a message
indicating that the installation was successful.
8. The demonstration design will automatically load and drive the LED array in an alternating pattern.
See the Troubleshooting section of this guide if the board does not function as expected.
1. Browse to the Lattice Breakout Board Evaluation Kits web page (www.latticesemi.com/breakoutboards) of the
Lattice web site. Select MachXO2 Breakout Board Demo Source and save the file.
3. Open the Project in the Diamond Design Software and change the device to MachXO2-7000HE-4TG144C.
1. Install, license and run Lattice Diamond software. See www.latticesemi.com/latticediamond for download and
licensing information.
2. Connect the USB cable to the host PC and the MachXO2 Breakout Board.
5
MachXO2 Breakout Board
Evaluation Kit User’s Guide
5. Click Detect Cable. The Programmer will detect the cable (Cable: USB2, Port: FTUSB-0). If the cable is not
detected, see the Troubleshooting section.
6. Click the Program icon. When complete, PASS is displayed in the Status column.
Overview
The Breakout Board is a complete development platform for the MachXO2 FPGA. The board includes a prototyping
area, a USB program/power port, an LED array, and header landings with electrical connections to most of the
FPGA’s programmable I/O, power, and JTAG pins. The board is powered by the PC’s USB port or optionally with
external power. You may create or modify the program files and reprogram the board using Lattice Diamond soft-
ware.
Bank 1
GPIO
Bank 3 (-1200ZE) 2x20 Header
Bank 3,4 & 5 (-7000HE) Landing (J3)
GPIO
2x20 Header
Landing (J5)
Bank 2
6
MachXO2 Breakout Board
Evaluation Kit User’s Guide
Table 1 describes the components on the board and the interfaces it supports.
Subsystems
This section describes the principle sub systems for the Breakout Board in alphabetical order.
Clock Sources
All clocks for the counter demonstration designs originate from the MachXO2 on-chip oscillator. You may use an
expansion header landing to drive a FPGA input with an external clock source.
7
MachXO2 Breakout Board
Evaluation Kit User’s Guide
8
MachXO2 Breakout Board
Evaluation Kit User’s Guide
9
MachXO2 Breakout Board
Evaluation Kit User’s Guide
10
MachXO2 Breakout Board
Evaluation Kit User’s Guide
11
MachXO2 Breakout Board
Evaluation Kit User’s Guide
1 2 1 2 Top Side
LCMXO2-7000HE
4TG144C
119 120 GND GND
GND GND 11 12
121 122 13 14
125 126 GND GND
127 128 19 20
GND GND 21 22
130 131 GND GND
132 133 23 24
136 137 25 26
GND GND GND GND
138 139 27 28
140 141 GND GND
142 143 32 33
GND GND 34 35
J2 J4
82 81 60 58
GND GND 59 57
84 83 GND GND
86 85 56 54
GND GND 55 52
92 91 GND GND
94 93 50 48
GND GND 49 47
96 95 GND GND
98 97 45 43
GND GND 44 42
100 99 GND GND
105 104 41 39
107 106 40 38
12
MachXO2 Breakout Board
Evaluation Kit User’s Guide
J1
1 MachXO2
J1 LED Function Pin
3.3
TDO D8 LED7 107
TDI D7 LED6 106
D8 D6 LED5 105
NC
NC D5 LED4 104
TMS D4 LED3 100
GND D1 D3 LED2 99
TCK D2 LED1 98
D1 LED0 97
8
Top Side
LCMXO2-7000HE
4TG144C
MachXO2 FPGA
The MachXO2-7000HE-4TG144C is a 144-pin TQFP package FPGA device which provides up to 114 usable I/Os
in a 20 x 20mm package. 108 I/Os are accessible from the breakout board headers.
13
MachXO2 Breakout Board
Evaluation Kit User’s Guide
LEDs
A green LED (D9) is used to indicate USB 5V power. Eight red LEDs are driven by I/O pins of the MachXO2 device.
Power Supply
3.3V and 1.2V power supply rails are converted from the USB 5V interface when the board is connected to a host
PC.
Test Points
In order to check the various voltage levels used, test points are provided:
• TP1: +3.3V
• TP2: +1.2V
• TP3: GND
JTAG Programming: For JTAG programming, a preprogrammed USB PHY peripheral controller is provided on the
Breakout Board to serve as the programming interface to the MachXO2 FPGA.
14
MachXO2 Breakout Board
Evaluation Kit User’s Guide
Board Modifications
This section describes modifications to the board to change or add functionality.
Mechanical Specifications
Dimensions: 3 in. [L] x 3 in. [W] x 1/2 in. [H]
Environmental Requirements
The evaluation board must be stored between -40° C and 100° C. The recommended operating temperature is
between 0° C and 90° C.
Glossary
FPGA: Field Programmable Gate Array
Troubleshooting
Use the tips in this section to diagnose problems with the Breakout Board.
If power is applied but the board does not flash according to the preprogrammed counter demonstration then it is
likely the board has been reprogrammed with a new design. Follow the directions in the Demonstration Design sec-
tion to restore the factory default.
15
MachXO2 Breakout Board
Evaluation Kit User’s Guide
If Lattice Diamond Programmer or ispVM System does not recognize the USB cable after installing the Lattice USB
port drivers and rebooting, the incorrect USB driver may have been installed. This usually occurs if you attach the
board to your PC prior to installing the Lattice-supplied USB driver.
2. Search for USB driver or Troubleshooting, then select the Troubleshooting the USB Driver topic.
For ispVM:
1. Start ispVM System and choose Options > Cable and I/O Port Setup.
The Cable and I/O Port Setup Dialog appears.
If the Breakout Board has been reprogrammed, the original demo design can be restored. To restore the board to
the factory default, see the Download Demo Designs section for details on downloading and reprogramming the
device.
Ordering Information
China RoHS Environment-Friendly
Description Ordering Part Number Use Period (EFUP)
1.For reference only. This version of the board is no longer available for sale.
16
MachXO2 Breakout Board
Evaluation Kit User’s Guide
Revision History
Date Version Change Summary
December 2011 01.0 Initial release.
January 2012 01.1 Figure “MachXO2-1200ZE Breakout Board, Top Side” updated with revi-
sion B board photo.
December 2012 01.2 Updated document to describe new version of the board featuring the
MachXO2-7000HE. Indicated that the MachXO2-1200ZE version of the
board is no longer available.
February 2013 02.0 Updated Tables 3-6 to include -7000HE information. Added -7000HE
notes to Figure 3 and Appendix A.
September 2013 02.1 Updated procedure in Programming a Demo Design with the Lattice
Diamond Programmer section.
Added information to the procedure on loading the FTDI chip USB hard-
ware drivers via the standalone package:
Updated description of Reference Designators in the Power and User
LEDs Reference table.
January 2014 02.2 Updated description and procedure for downloading demo designs in
Download Demo Designs section.
Updated project file name in Programming a Demo Design with the Lat-
tice Diamond Programmer section.
© 2014 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as
listed at www.latticesemi.com/legal. All other brand or product names are trademarks or registered trademarks of
their respective holders. The specifications and information herein are subject to change without notice.
17
5 4 3 2 1
D D
JTAG
HEADER
Appendix A. Schematics
I/Os + I2C
LEDS(1-8)
BANK 0
I/Os
HEADER
C C
I/Os + SPI
FPGA
BANK 3
HEADER
BANK 1
LCMXO2-7000HE-4TG144C or
RS232
LCMXO2-1200ZE-1TG144C
USB USB to
JTAG / RS232
18
CONNECTOR
Power from USB 5V
BANK 2
I/Os
B
HEADER B
and -7000HE pin name and bank synonyms. Pin numbers are correct for either device.
A A
AXELSYS
Title
Lattice MachXO2 1200ZE Breakout Board - Block Diagram
Size Document Number
Rev
B
LCMXO2-7000HE-B-EVN or LCMXO2-1200ZE-B-EVN A
Date: Thursday, April 21, 2011 Sheet 1 of 5
5 4 3 2 1
MachXO2 Breakout Board
Evaluation Kit User’s Guide
Note: The schematics are drawn using the MachXO2-1200ZE device. Please consult Tables 3 through 6 for -1200
5 4 3 2 1
+3.3V +3.3V
L1 TCK
2 1
600ohm 500mA R4
1
C1 C2
4u7 R1 R2 R3
+3.3V 0.1uF 2k2
2
5k1 5k1 5k1
D L2 D
2 1 TMS
600ohm 500mA
1
C3 C4 TDI
4u7 +3.3V
0.1uF TDO
2
VCC1_8FT +3.3V J1
1
1 2 TDO
Figure 8. USB Interface to JTAG
2 3 TDI
3 4
4 5
5 6 TMS
6 7
VCC1_8FT +3.3V U1 7 8 TCK
FT2232HL 8
4
9
12
37
64
20
31
42
56
+3.3V header_1x8
DNI
VPLL
VPHY
VCCIO
VCCIO
VCCIO
VCCIO
VCORE
VCORE
VCORE
C5 C8 C6 C9 C7 16 0 R5
ADBUS0 TCK 3
50 17 0 R6
VREGIN ADBUS1 TDI 3
0.1uF 0.1uF 0.1uF 0.1uF 0.1uF 18 0 R7
C ADBUS2 TDO 3 C
49 19 0 R8
VREGOUT ADBUS3 TMS 3
21
ADBUS4 22
7 ADBUS5 23
5 DM DM ADBUS6
5 DP 8 24
DP ADBUS7
C10 C11 2k2 R9 26
14 ACBUS0 27
10uF 0.1uF RESET# ACBUS1 28
+3.3V R10 12k 1% ACBUS2 29
6 ACBUS3 30
+3.3V REF ACBUS4 32
ACBUS5
19
33
R11 R12 R13 ACBUS6 34
10k 10k 10k FT_EECS 63 ACBUS7
FT_EECLK 62 EECS 38 0 DNI R14
EECLK BDBUS0 RS232_Rx_TTL 3
U2 FT_EEDATA 61 39 0 DNI R15
EEDATA BDBUS1 RS232_Tx_TTL 3
8 1 40 0 DNI R16 RTSn 3
7 VCC CS 2 BDBUS2 41 0 DNI R17 FOR FUTURE RS232 FUNCTION
NU CLK BDBUS3 CTSn 3
6 3 2 43 0 DNI R18 DTRn 3
C12 5 ORG DI 4 OSCI BDBUS4 44 0 DNI R20
VSS DO BDBUS5 DSRn 3
R19 2k2 45 0 DNI R21
X1 BDBUS6 DCDn 3
0.1uF 93LC56-SO8 46
1 3 3 BDBUS7
B B
1 3 OSCO 48
2 4 BCBUS0 52
C13 G1 G2 C14 BCBUS1 53
13 BCBUS2 54
18pF 12MHZ 18pF
TEST BCBUS3 55
BCBUS4 57
BCBUS5 58
FTDI High-Speed USB BCBUS6 59
BCBUS7
60
FT2232H PWREN#
36
SUSPEND#
AGND
GND
GND
GND
GND
GND
GND
GND
GND
1
5
10
11
15
25
35
47
51
A A
AXELSYS
Title
Lattice MachXO2 1200ZE Breakout Board -USB to JTAG
Size Document Number Rev
B LCMXO2-1200ZE-B-EVN A
+3.3V
VCCIO0
MAKE PWR TRACES 2k2 2k2
D CAPABLE OF 1A C15 C16 D
MAKE PWR TRACES
U3-2 CAPABLE OF 1A 0.1uF 0.1uF
J2 BANK 0 BANK 1
PT17D_DONE 109 73 PR10D RS232_Rx_TTL 2 J3
PT17C_INITn 110 PT17D/DONE PR10D 74 PR10C
PT17C/INITn PR10C RS232_Tx_TTL 2
2 1 PT17B 111 75 PR10B RTSn 2
PT17C_INITn 4 3 PT17D_DONE PT17A 112 PT17B PR10B 76 PR10A 2 1
PT17A PR10A CTSn 2
PT17A 6 5 PT17B 4 3
8 7 PT16D 113 77 PR9D PR10D 6 5 PR10C
PT16D PR9D DSRn 2
PT16C 10 9 PT16D PT16C 114 78 PR9C PR10B 8 7 PR10A
PT16C PR9C DCDn 2
PT16A 12 11 PT16B PT16B 115 81 PR9B DTRn 2 10 9
PT15C_JTAGen 14 13 PT15D_PROGn PT16A 117 PT16B PR9B 82 PR9A PR9D 12 11 PR9C
16 15 PT16A PR9A PR9B 14 13 PR9A
PT15A 18 17 PT15B PT15D_PROGn 119 83 PR8D 16 15
PT12C_SCL_PCLT0_0 20 19 PT12D_SDA_PCLKC0_0 PT15C_JTAGen 120 PT15D/PROGRAMn PR8D 84 PR8C PR8D 18 17 PR8C
PT12A_PCLKT0_1 22 21 PT12B_PCLKC0_1 PT15B 121 PT15C/JTAGENB PR8C 85 PR8B PR8B 20 19 PR8A
24 23 PT15A 122 PT15B PR8B 86 PR8A 22 21
PT11C_TCK_TESTCLK 26 25 PT11D_TMS PT15A PR8A PCLKC1_PR5D 24 23 PCLKT1_PR5C
PT11A 28 27 PT11B PT12D_SDA_PCLKC0_0 125 87 PR5B 26 25 PR5A
PT10C_TDO 30 29 PT10D_TDI PT12C_SCL_PCLT0_0 126 PT12D/SDA/PCLKC0_0 NC4 89 28 27
32 31 PT12B_PCLKC0_1 127 PT12C/SCL/PCLKT0_0 NC5 PR4D 30 29 PR4C
PT10A 34 33 PT10B PT12A_PCLKT0_1 128 PT12B/PCLKC0_1 91 PCLKC1_PR5D PR4B 32 31 PR4A
C PT12A/PCLKT0_1 PCLKC1_0/PR5D C
PT9C 36 35 PT9D 92 PCLKT1_PR5C 34 33
PT9A 38 37 PT9B PT11D_TMS 130 PCLKT1_0/PR5C 93 PR5B PR3B 36 35 PR3A
2 TMS PT11D/TMS PR5B
40 39 2 TCK PT11C_TCK_TESTCLK 131 94 PR5A PR2D 38 37 PR2C
PT11B 132 PT11C/TCK/TEST_CLK PR5A PR2B 40 39 PR2A
PT11A 133 PT11B 95 PR4D
PT11A PR4D 96 PR4C
Header2x20 PT10D_TDI 136 PR4C 97 PR4B
2 TDI PT10D/TDI PR4B LED0 5
DNI 2 TDO PT10C_TDO 137 98 PR4A LED1 5 Header2x20
PT10B 138 PT10C/TDO PR4A DNI
PT10A 139 PT10B 99 PR3B
PT10A PR3B LED2 5
100 PR3A LED3 5
PT9D 140 PR3A
PT9D
20
PT9C 141 103
PT9B 142 PT9C NC6
PT9A 143 PT9B 104 PR2D
PT9A PR2D LED4 5
105 PR2C LED5 5
PR2C 106 PR2B
PR2B LED6 5
107 PR2A LED7 5
VCCIO0 PR2A VCCIO1
118 79
C17 123 VCCIO0 VCCIO1 88 C21
C18 C19 C20 135 VCCIO0 VCCIO1 102 C22 C23 C24
B B
VCCIO0 VCCIO1
0.01uF 0.1uF 0.1uF 0.1uF LCMXO2-7000HE-4TG144C or LCMXO2-1200ZE-1TG144C 0.01uF 0.1uF 0.1uF 0.1uF
R24 1 R25 1
A A
AXELSYS
Title
Lattice MachXO2 1200ZE Breakout Board - FPGA
Size Document Number Rev
B LCMXO2-1200ZE-B-EVN A
VCCIO3 VCC_3.3V
VCCIO2
21
PL10C 34 70 SN_PB20C
PL10D 35 PL10C SN/PB20C 71 SI_SISPI_PB20D
PL10D SI/SISPI/PB20D
VCCIO3 VCCIO2
+3.3V VCCIO2
+3.3V VCCIO3
7 37
C27 16 VCCIO3 VCCIO2 51 C31
C28 C29 C30 30 VCCIO3 VCCIO2 66 C32 C33 C34 R26 1
R27 1 VCCIO3 VCCIO2
0.01uF 0.1uF 0.1uF 0.1uF 0.01uF 0.1uF 0.1uF 0.1uF
LCMXO2-7000HE-4TG144C or LCMXO2-1200ZE-1TG144C
B B
NOTE
PLACE ALL 100 OHM
DIFF TERM RESISTORS
ON BOTTOM OF BOARD
PL10A
+3.3V
+1.2V
VCC_1.2V +1.2V
VBUS_5V
U4 FAN1112 R42 0 L3 R56 1
3 2 2 1 C35 C36 C37 C38 C39 C40 C41 C42 C43 C44 C45
Input Output 600ohm 500mA
C46 10uF 1uF 0.1uF 0.1uF 0.1uF 0.1uF 0.01uF 10uF 1uF 0.1uF 0.01uF
4 C47
Tab
Figure 11. Power LEDs
10uF R55
GND
D 22uF D
100
1
+1.2V
U3-1
DNI DNI DNI 8
129 GND 18
TP1 TP2 TP3 VCCP GND 29
VCC_3.3V +3.3V GND 46
VBUS_5V +3.3V +1.2V 36 GND 53
1
1
1
72 VCC GND 64
U5 R44 0 L4 108 VCC GND 80
R43 3 2 2 1 144 VCC GND 90
IN OUT 4 600ohm 500mA VCC GND 101
1
1K TAB GND 116
D9 C48 C49 C50 GND 124
GND GND 134
Green
10uF 22uF 0.1uF GND
1 NCP1117
C LCMXO2-1200ZE-1TG144C C
2
+3.3V LEDs
VBUS_5V
22
R45 R46 R47 R48 R49 R50 R51 R52
C51
1
1K 1K 1K 1K 1K 1K 1K 1K
L5 0.1uF
600ohm 500mA
1
1
1
1
1
1
1
1
2
D8 D7 D6 D5 D4 D3 D2 D1
J6 LAYOUT LEDs IN A SINGLE ROW Red Red Red Red Red Red Red Red
B 1 B
Proto Type Area
J7
1
VCC 2
D- DM 2
3 DP 2
D+ 4 R53 0
ID
STATUS_LED7 2
STATUS_LED6 2
STATUS_LED5 2
STATUS_LED4 2
STATUS_LED3 2
STATUS_LED2 2
STATUS_LED1 2
STATUS_LED0 2
5
GND C52 0.1uF
SKT_MINIUSB_B_RA
3 LED7
3 LED6
3 LED5
3 LED4
3 LED3
3 LED2
3 LED1
3 LED0
Proto Type Area, Holes on 0.1 inch Centers
A A
23