Demonstration Design; Run The Demonstration Design; Figure 6.1. Demonstration Design Block Diagram - Lattice Semiconductor MachXO2 Breakout Board User Manual

Table of Contents

Advertisement

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.
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
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.
© 2014-2022 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.
FPGA-EB-02051-2.3
Download Demo Designs

Figure 6.1. Demonstration Design Block Diagram

package from the Lattice website.
MachXO2 Breakout Board Evaluation Kit
Evaluation Board User Guide
section.
9

Advertisement

Table of Contents
loading

Table of Contents