4
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
.
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
section of this document.
Run the Demonstration Design
Upon power-up, the preprogrammed demonstration design automatically loads and drives the LED array in an
alternating pattern. The program shows a clock generator based on the MachXO2 on-chip oscillator. The counter
module is clocked at the oscillator default frequency of 2.08MHz to illustrate how low speed timer functions can be
implemented with a FPGA. The 22-bit up-counter further divides the clock to advance the LED display approxi-
mately every 500ms. The resulting light pattern will appear as an alternating pair of lit LEDs per row.
Figure 2. Demonstration Design Block Diagram
1x
8
LED
Array
MachXO2
22-
b
it
Up-Co
u
nter
Clock
Generator
2.0
8
MHz
c_delay[21:0]
c_delay[20]
(~2 Hz)
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:
1.
Select
Programmer Drivers
in the Product Options of Lattice Diamond Setup.
2.
Select
FTDI Windows USB Driver
or
All Drivers
in the LSC Drivers Install/Uninstall dialog box.
3.
Click
Finish
to install the USB driver.
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.