background image

5

 MachXO3 Starter Kit User Guide 

Demonstration Design

Lattice provides a simple, pre-programmed demo to illustrate basic operation of the MachXO3 device. The design 
integrates an up-counter with the on-chip oscillator. The pre-programmed design resides in the external Serial 
Flash Memory (SPANSION S25FL204K or S25FL208K). 

Note: 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

Upon power-up, the preprogrammed demonstration design automatically loads and drives the LED array in a 1-hertz 
pattern. The program shows a clock divider driven either by the MachXO3 internal oscillator or the external FTDI clock 
chip. The divider modules (heartbeat.v and kitcar.v) are clocked at the default frequency of 12 MHz which divides the 
clock to cycle the LED display approximately once per second. The resulting light pattern is determined by the DIP 
Switch (SW2) setting as shown in Table 1

Figure 3. Demonstration Design Block Diagram

MachXO3

X1

12.0 MHz

OSCH
12.09 MHz

Kitcar.v

Heartbeat.v

SW2

4-Position DIPSW

1 x 8 
LED
Array

XO3L_SK_blink.v

SW1

Momentary PB

Async Reset

Table 1. DIP Switch Setting and LED Behavior

Switch

Setting

LED Behavior

DIP_SW[1]

0 (Down)

External 12.0 MHz (X1)

1 (Up)

Internal 12.09 MHz (OSCH)

DIP_SW[2:4]

001

1 Hz Sweep

011

1 Hz Left-Right

111

1 Hz Blink

Others

1 Hz Alternating

WARNING: Do not connect the board to your PC before you follow the driver installation procedure of this section.

Communication between the board and 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 board. Drivers 
can be loaded as part of the installation of Lattice Diamond design software or Diamond Programmer, or as a 
stand-alone package. 

Summary of Contents for MachXO3

Page 1: ...MachXO3 Starter Kit User Guide EB95 Version 1 2 March 2016...

Page 2: ...F Board The board is a 3 x 3 form factor that features the following on board components and circuits MachXO3 FPGA LCMXO3L 6900C 5BG256C NVCM Based or LCMXO3LF 6900C 5BG256C Flash Based USB mini B con...

Page 3: ...x 20 Header Landings J3 J4 Two 2 x 20 Header Landings J6 J8 JTAG Header Landing J1 SPI I2C Header Landing J7 MachXO3L PLD U5 USB Mini B Socket J2 Power LED Blue D1 FTDI USB to UART FIFO IC U1 Push But...

Page 4: ...ew designs for the Starter Kit Lattice Diamond design software FTDI Chip USB hardware drivers installed as an option within the Diamond installation program MachXO3 Device This board currently feature...

Page 5: ...divides the clock to cycle the LED display approximately once per second The resulting light pattern is determined by the DIP Switch SW2 setting as shown in Table 1 Figure 3 Demonstration Design Bloc...

Page 6: ...ver 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...

Page 7: ...Blink ldf project file 4 Click the Programmer icon 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 Cli...

Page 8: ...figuration 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 software Figure 4 M...

Page 9: ...8 Header Landing I O J1 header_1x8 Optional JTAG interface 1 x 6 Header Landing I O J7 header_1x6 Optional SPI I2 C interfaces 4 x 10 40 Hole Prototype Area Prototype area 100 mil centered holes Test...

Page 10: ...PT22A F8 6 PT35B B12 7 PT35A C12 8 PT26B E11 9 PT27B E10 10 PT27A D10 11 GND 12 GND 13 PT26A F9 14 PT27C JTAGENB C10 15 PT17B E8 16 PT21B E9 17 PT14B E7 18 PT21A D8 19 PT16B D7 20 PT15B C7 21 GND 22...

Page 11: ...R24A N16 9 PR23B M15 10 PR21B M16 11 GND 12 GND 13 PR21A L15 14 PR18A L16 15 PR17A K14 16 PR16B K16 17 PR17B K15 18 PR15B J14 19 PR12A PCLKT1_0 H14 20 PR16A J15 21 GND 22 GND 23 PR15A J16 24 PR11B H15...

Page 12: ...3 7 PB31A T11 8 PB28B M11 9 PB31B P11 10 PB28A N10 11 GND 12 GND 13 PB26B T10 14 PB29A P10 15 PB26A R9 16 PB29B R10 17 PB23A PCLKT2_1 T9 18 PB21B N9 19 PB23B PCLKC2_1 P9 20 PB21A M8 21 GND 22 GND 23 P...

Page 13: ...1 9 PL19B L3 10 PL19D L5 11 GND 12 GND 13 PL19C K4 14 PL12A PCLKT4_0 J1 15 PL15B K1 16 PL15A J2 17 PL12B PCLKC4_0 J3 18 PL11A H3 19 PL10B H2 20 PL11B H1 21 GND 22 GND 23 PL9A G2 24 PL10A G1 25 PL6B PC...

Page 14: ...15 E6 C4 H16 G15 A10 F7 G16 F15 D9 B9 F16 E15 GND GND GND GND B6 B7 E16 E14 B5 A5 D16 C15 B4 A4 D14 F14 GND A3 G14 B16 39 40 39 40 Figure 6 J6 J8 Header Landing Callout J6 J8 Top Side J6 J8 1 2 1 2 VC...

Page 15: ...ssible from the board headers switches and LEDs Table 8 MachXO3 FPGA Interface Reference Item Description Reference Designators U5 Part Number LCMXO3L 6900C 5BG256C NVCM or LCMXO3LF 6900C 5BG256C Flas...

Page 16: ...LEDs Reference Item Description Reference Designators Red LEDs D2 D3 D4 D5 D6 D7 D8 D9 Blue LEDs D1 Part Number LTST C190KRKT D2 D9 LTST C190TBKT D1 Manufacturer Lite On It Corporation Web Site www l...

Page 17: ...e by removing the 0 Ohm resistors R35 VCC_1 2 V and R42 VCC_3 3 V Power connections are available from the test points TP1 3 3 V and TP2 1 2 V Measuring Bank and Core Power Test points TP1 TP2 provide...

Page 18: ...l the Lattice USB driver For ispVM 1 Start ispVM System and choose Options Cable and I O Port Setup The Cable and I O Port Setup Dialog appears 2 Click the Troubleshooting the USB Driver Installation...

Page 19: ...e for pro gramming MachXO3 device Updated Expansion Header Landings section Revised Figure 7 J1 Header Landing and LED Array Callout to correct DIPSW ball callouts Updated Download Demo Designs sectio...

Page 20: ...plications Email techsupport Latticesemi com Phone 503 268 8001 or 800 LATTICE Board Rev Project 12 SEP 14 B 1 0 8 1 MACHXO3 Starter Kit BLOCK DIAGRAM MACHXO3 Starter Kit LCMXO3 6900C A Date Size Sche...

Page 21: ...mi com Phone 503 268 8001 or 800 LATTICE Board Rev Project 12 SEP 14 B 1 0 8 2 USB to JTAG I F A R27 0 DNI C4 0 1uF R15 0 DNI X1 12MHZ 1 1 3 3 G1 2 G2 4 FTDI High Speed USB FT2232H FT2232HL U1 VREGIN...

Page 22: ...ACHXO3 Starter Kit LCMXO3 6900C A Date of Title Lattice Semiconductor Applications Email techsupport Latticesemi com Phone 503 268 8001 or 800 LATTICE 12 SEP 14 B 1 0 8 3 POWER REGULATORS A Title Latt...

Page 23: ...0 8 4 BANK0 I 0 A C25 0 1uF J3 Header 2x20 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 C66 150pF DNI C24 0 1uF C23 0 1uF C65 150pF DN...

Page 24: ...30 0 1uF J5 Proto Type Area Holes on 0 1 inch Centers DNI Proto Type Area 1 BANK1 DQ1 DQ0 2nd_Fn applicable for 4K and 7K devices only 1K 2K 4K 7K 2nd_Fn LCMXO3L 6900C 5BG256C U5B PR10C PR14C PR17C J1...

Page 25: ...om Phone 503 268 8001 or 800 LATTICE Board Rev Project 12 SEP 14 B 1 0 8 6 BANK2 I O A R67 0 BANK2 1K 2K 4K 7K 2nd_Fn LCMXO3L 6900C 5BG256C U5C PB9C PB10C PB13C M7 PB9D PB10D PB13D N7 PB11C PB12A PB15...

Page 26: ...7K 2nd_Fn LCMXO3L 6900C 5BG256C U5E PL6A PL9A PL10A G1 PL6B PL9B PL10B H2 PL6C PL9C PL10C H4 PL6D PL9D PL10D J6 PL7A PL10A PL11A H3 PL7B PL10B PL11B H1 PL7C PL10C PL12A PCLKT4_0 J1 PL7D PL10D PL12B P...

Page 27: ...ACHXO3 Starter Kit LCMXO3 6900C A Date Size of Sheet Title Project 12 SEP 14 B 1 0 8 8 A Date Size of Sheet Title Project 12 SEP 14 B 1 0 8 8 A C53 0 1uF D5 Red 1 2 R75 1K C60 0 01uF C57 0 01uF 1K 2K...

Page 28: ...eader 2 x 20 Samtec TSW 120 07 G D 16 1 J7 Header 1 x 6 Samtec TSW 106 07 F S ND 17 5 L1 L2 L3 L4 L5 600 Ohm 500 mA Murata BLM18AG601SN1D 18 8 R1 R2 R3 R45 R68 R69 R70 R71 4 7 K Vishay CRCW06034K70FKE...

Page 29: ...iconductor LCMXO3L 6900C 5BG256C or LCMXO3LF 6900C 5BG256C 40 1 U6 Spansion S25FL204K0TMFI041 early builds or S25FL208K0RMFI041 later builds 41 1 X1 12 MHz TXC 7M 12 000MAAJ T Table 15 MachXO3 Starter...

Page 30: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Lattice LCMXO3LF 6900C S EVN LCMXO3L 6900C S EVN...

Reviews: