Lattice MachXO2280 User Manual

MachXO2280 Breakout Board Evaluation Kit
User Guide
January 2015
EB66_1.1
MachXO2280 Breakout Board Evaluation Kit
Introduction
This user guide describes how to start using the MachXO2280 Breakout Board, an easy-to-use platform for evalu­ating and designing with the MachXO2280 PLD. Along with the board and accessories, this kit includes a pre­loaded demonstration design. You may also reprogram the on-board MachXO2280 device to review your own cus tom designs.
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 MachXO2280 Breakout Board Evaluation Kit includes:
MachXO2280 Breakout Board – The board is a 3” x 3” form factor that features the following on-board compo- nents and circuits:
– MachXO2280 PLD (LCMXO2280C-3FTN256C) – USB mini-B connector for power and programming – Eight LEDs – 40-hole prototype area – Eight 2x20 expansion header landings for general I/O, JTAG, and external power – 1x8 expansion header landing for JTAG – 3.3V supply rail
-
Pre-loaded Demo – The kit includes a pre-loaded counter design that highlights use of the embedded MachXO2280 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 LCMXO2280C JTAG port.
Lattice Breakout Board Evaluation Kits Web Page – Visit www.latticesemi.com/breakoutboards for the latest documentation (including this guide), demo designs, and drivers for the kit.
The content of this user guide includes demo operation, programming instructions, top-level functional descriptions of the Breakout Board, descriptions of the on-board connectors, and a complete set of schematics.
2
Figure 1. MachXO2280 Breakout Board, Top Side
Left Side
Two 2x20 Header
Landings (J9, J10)
USB
JTAG Header
Landing (J1)
LED
Array
Bottom Side
Two 2x20 Header Landings (J7 & J8)
Top Side
Two 2x20 Header Landings (J3 & J4 )
Right Side Two 2x20 Header Landings (J5 & J6)
Prototype
Area
MachXO2280 Breakout Board Evaluation Kit
Storage and Handling
Static electricity can shorten the lifespan of electronic components. Please observe these tips to prevent damage that could occur from electro-static discharge:
• Use anti-static precautions such as operating on an an
• 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:
• FTDI Chip USB Hardware Drivers
• ispVM System™ 17.9 or later (Required for re-programming)
MachXO2280 Device
This board features the MachXO2280 PLD which offers the benefits of increased system integration by providing over 27Kbits of embedded memory, two built-in PLLs, high performance LVDS I/Os, and a low power sleep mode, all in a single-device. The 256-pin ftBGA package provides 211 user I/Os in a 17mm x 17mm package. A complete description of this device can be found in DS1002, MachXO Family Data Sheet.
ti-static mat and wearing an anti-static wrist-band.
Lattice Diamond™ (MachXO support)
3
MachXO2280 Breakout Board Evaluation Kit
Demonstration Design
Lattice provides a pre-programmed demo to illustrate basic operation of the MachXO2280 device. The design inte­grates 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.
Run the Demonstration Design
The preprogrammed demonstration design is an up-counter to drive an LED array. The program shows a clock generator based on the MachXO2280 on-chip oscillator. The counter module is clocked at ~22 MHz (18-26MHz) to illustrate how low speed timer functions can be implemented with a PLD. The 23-bit up-counter further divides the clock to advance the LED display approximately every 200ms. The resulting light pattern will appear as an alternat­ing pair of lit LEDs per row.
Figure 2. Counter Demo Block Diagram
MachXO2280
c_delay[22]
(~0.5Hz)
23-bit
Up-Counter
Clock
Generator 18-26 MHz
c_delay[22:0]
WARNING: Do not connect the Breakout Board to your PC before you follow the driver installation procedure of this section.
2x4 LED
Array
Communication with the Breakout Board with
a PC via the USB connection cable will require the FTDI chip USB hardware drivers contained in the Software Requirements section. Loading these drivers enables the computer to reliably recognize and program the Breakout Board. Drivers are distributed by Lattice as a stand-alone package or
h ispVM System version 17.9 or later. Use one of the two procedures below to install.
wit
To load the FTDI chip USB hardw
are drivers via ispVM System:
1. Browse to www.latticesemi.com/breakoutboards and download ispVM System software.
2. Install ispVM System software.
3. Run ispVM System. Choose is
The LSC 32/64-Bit USB Drivers Install/Uninstall dialog
4. Select FTDI U
SB 32-Bit Driver or FTDI USB 64-Bit Driver then click Install.
After a few moments, ispVM will indicate the installation is
5. Click OK, t
6. Choose Fil
hen click Close from the LSC 32/64-Bit USB Drivers Install/Uninstall dialog.
e > Exit to close ispVM System.
7. Connect the USB cable from a USB port on your PC to th
pTools > Install/Uninstall LSC USB/Parallel Port Driver.
appears.
complete.
e board’s USB mini-B socket (J2). After connection is
made, a green Power LED (D9) will light indicating the board is powered on.
8. Red LEDs will light and start to flash according to the preprog
rammed demonstration design.
See the Troubleshooting section of this guide if the board does not function as expected.
4
MachXO2280 Breakout Board Evaluation Kit
To load the FTDI chip USB hardware drivers via the stand-alone package:
1. Browse to www.latticesemi.com/breakoutboards and download the FTDI chip USB Hardware driver 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 (J2). After connection 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.
7. Click Finish to install the USB driver.
8. Red LEDs will light and start to flash according to the preprogrammed demonstration design. See the Troubleshooting section of this guide if the board does not function as expected.
Download Demo Designs
The counter demo is preprogrammed into the Breakout Board, however over time it is likely your board will be mod­ified. Lattice distributes source and programming files for demonstration designs compatible with the Breakout Board.
To download demo designs:
1. Browse to the Lattice Breakout Board Evaluation Kits web page (www.latticesemi.com/breakoutboards) of the
Lattice web site. Select MachXO Breakout Board Demo Source and save the file.
2. Extract the contents of MachXO2280_BB_Eval_Kit_v01.0.zip to an accessible location on your hard drive. The demo design directory Demo_LED is unpacked.
Recompile a Demonstration Project with Lattice Diamond
Use the procedure described below to recompile a demo project for the Breakout Board.
1. Install and license Lattice Diamond software.
2. Download the demo source files from the Lattice Breakout Board Evaluation Kits web page.
3. Run Lattice Diamond.
4. Open the Demo_LED_OSC.ldf project file.
5. From the Process view, select JEDEC File from the Export Files process.
6. Choose Export Files, right-click and choose Run.
After a few moments the JEDEC programming file is output.
7. See section the Programming with ispVM section for details on downloading a programming file to the board.
5
MachXO2280 Breakout Board Evaluation Kit
Programming with ispVM
A demonstration design is pre-programmed into the Breakout Board by Lattice. To restore a Breakout Board to fac­tory settings or load an alternative demo design, use the procedures in this section.
To install ispVM programming tools:
1. Install and license ispVM System software.
2. Connect the board to a host PC using the USB port header connection.
3. Follow the USB Cable Interface procedure below to program the evaluation board. The Breakout Board is equipped with a built-in USB-based programming circuit. This consists of a USB PHY and a
USB connector. When the board is connected to a PC with a USB cable, it is recognized by the ispVM System soft ware as a USB Download Cable. The MachXO2280 can then be scanned and programmed using the ispVM Sys­tem software.
To program a demo programming file:
1. From the Start menu run ispVM System.
ispVM appears.
2. Choose Options > Cable and IO Port Setup…
The Cable and I/O Port Setup dialog appears.
3. Make the following selections:
Cable Type: USB2 Port Setting: FTUSB-0 Click OK.
4. Choose ispTools > Scan Chain.
The New Scan Configuration Setup window appears. The LCMXO2280C device appears in the device list.
5. Right-click the LCMXO2280C entry and choose Edit Device…
The Device Information dialog appears.
6. From the Data File section, click the Browse button.
The Open Data File dialog appears.
7. Browse to the <Demo Dir> folder, select <Demo>.jed, and click Open. From the Operation list choose Erase,
Program, Verify and click OK.
8. Choose Project > Download.
ispVM reprograms the evaluation board.
Programming requires about 10 seconds. A small timer window will appear to show elapsed programming time. At the end of programming, the configuration setup window should show a PASS in the Status column.
-
6
MachXO2280 Breakout Board Evaluation Kit
LCMXO2280C
-3FTN256C
2x20 Header
Landing (J9)
LED
Array
GPIO
USB
Controller
USB Mini B
Socket
A/Mini-B
USB Cable
JTAG
Programming
8
2x20 Header
Landing (J10)
GPIO
2x20 Header
Landing (J5)
GPIO
2x20 Header
Landing (J6)
GPIO
1x8 JTAG Header
Landing (J1)
8
2x20 Header
Landing (J7)
2x20 Header
Landing (J8)
Bank 2,3
Bank 4,5
Bank 0,1
2x20 Header
Landing (J3)
2x20 Header
Landing (J4)
Bank 6,7
GPIOGPIO
GPIO GPIO
MachXO2280 Breakout Board
This section describes the features of the MachXO2280 Breakout Board in detail.
Overview
The Breakout Board is a complete development platform for the MachXO2280 PLD. The board includes a prototyp­ing area, a USB program/power port, an LED array, and header land PLD’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 using Diamond software and reprogram the board using ispVM software.
Figure 3. MachXO2280 Breakout Board Block Diagram
ings with electrical connections to most of the
7
MachXO2280 Breakout Board Evaluation Kit
Ta bl e 1 describes the components on the board and the interfaces it supports.
Table 1. Breakout Board Components and Interfaces
Schematic
Component/Interface Type
Circuits
USB Controller Circuit U2: FT2232H USB-to-JTAG interface and dual USB UART/FIFO IC
USB Mini-B Socket I/O J1:USB_MINI_B Programming and debug interface
Components
LCMXO2280C PLD
Interfaces
LED Array Output D8-D1 Red LEDs
Eight 2x20 Header Landings
1x8 Header Landing I/O J1: header_1x8 Optional JTAG interface
4-Hole Prototype Area Prototype area 100mil centered holes.
I/O
Reference Description
U4: LCMXO2280C­3
FTN256C
J3: header_2x20 J4: header_2x20 J5: header_2x20 J6: header_2x20 J7: header_2x20 J8: header_2x20 J9: header_2x20 J10: header_2x20
2280-LUT device packaged in a 17 x 17mm, 256-ball ftBGA.
User-definable I/O
8
MachXO2280 Breakout Board Evaluation Kit
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 use an expansion header landing to drive a PLD input with an external clock source.
Expansion Header Landings
The expansion header landings provide access to user GPIOs, primary inputs, clocks, and VCCO pins of the Ma
chXO2280. The remaining pins serve as power supplies for external connections. Each landing is configured as
one 2x20 100 mil.
Table 2. Expansion Connector Reference
Item Description
Reference Designators J3, J4, J5, J6, J7, J8, J9, J10
Part Number header_2x20
Table 3. Expansion Header Pin Information (J3)
Pin Number Function MachXO2280 Ball
1 PL2A_LV_T E4
2 PL11A_LV_T H2
3 PL2B_LV_T E5
4 PL11B_LV_C J2
5 GND n/a
6 GND n/a
7 PL3A_LV_T F5
8 PL12A_LV_T J1
9 PL3B_LV_C F6
10 PL12B_LV_C K1
11 GND n/a
12 GND n/a
13 PL4A_LV_T E3
14 PL13A_LV_T L1
15 PL4B_LV_C E2
16 PL13B_LV_C M1
17 GND n/a
18 GND n/a
19 PL5A_LV_T B1
20 PL15A_LV_T L3
21 PL5B_LV_C C1
22 PL15B_LV_C M3
23 GND n/a
24 GND n/a
25 PL7A_LV_T F2
26 PL16A_LV_T J4
27 PL7B_LV_C G2
28 PL16B_LV_C J5
MachXO2280 PLD on-chip oscillator. You may
9
MachXO2280 Breakout Board Evaluation Kit
Pin Number Function MachXO2280 Ball
29 GND n/a
30 GND n/a
31 PL8A_LV_T G4
32 PL17A_LV_T K5
33 PL8B_LV_C G5
34 PL17B_LV_C K4
35 GND n/a
36 GND n/a
37 PL9A_LV_T H4
38 PL18A_LV_T M5
39 PL9B_LV_C H5
40 PL18B_LV_C M4
10
+ 21 hidden pages