MachXO2 Breakout Board Evaluation Kit
Evaluation Board User Guide
© 2014-202
2
Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at
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.
FPGA-EB-02051-2.3
9
6. 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
6.1.
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.08 MHz 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 approximately
every 500 ms. The resulting light pattern appears as an alternating pair of lit LEDs per row.
1 × 8 LED
Array
MachXO2
22-bit
Up-Counter
Clock
Generator
2.08 MHz
c_delay[21:0]
c_delay[20]
(~2 Hz)
Figure 6.1. Demonstration Design Block Diagram
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 Programmer, or as a
standalone 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 blue Power LED (D1) lights indicating the board is powered on.
5.
The demonstration design automatically loads and drive the LED array in a repeating pattern.
To load the FTDI chip USB hardware drivers via the stand-alone package on a Windows system:
1.
Download the
FTDI Chip USB Hardware Drivers
package from the Lattice website.
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 (J2). After the connection is
made, a blue Power LED (D1) lights indicating the board is powered on.
Summary of Contents for MachXO2 Breakout Board
Page 33: ...www latticesemi com ...