MachXO Control Development Kit
Evaluation Board User Guide
© 2009-2021 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-02047-1.5 3
Contents
Acronyms in This Document.................................................................................................................................................7
1. Introduction...................................................................................................................................................................8
2. Features.........................................................................................................................................................................9
3. Lattice Semiconductor Devices....................................................................................................................................11
3.1. MachXO Device ....................................................................................................................................................11
3.2. Power Manager II Device .....................................................................................................................................11
4. Software Requirements...............................................................................................................................................11
5. Demonstration Designs ...............................................................................................................................................11
5.1. Control SoC Demo ................................................................................................................................................12
5.1.1. Board Monitoring and Fan Control...............................................................................................................14
5.1.2. Power Supply Sequencing and Reset Distribution........................................................................................14
5.1.3. Download Windows Hardware Drivers.........................................................................................................15
5.1.4. Download and Program the Demo Designs..................................................................................................15
5.1.5. Connect to the MachXO Control Evaluation Board ......................................................................................16
5.1.6. Set Up Windows HyperTerminal...................................................................................................................18
5.1.7. Set Up Linux Minicom...................................................................................................................................22
5.1.8. Power Supply Sequencing.............................................................................................................................23
5.1.9. Read Current Board Status ...........................................................................................................................23
5.1.10. Normalize PCB Temperature Output............................................................................................................25
5.1.11. Adjust Fan Temperature Threshold..............................................................................................................25
5.1.12. Change Fan Speed.........................................................................................................................................25
5.1.13. Adjust LCD Backlight Intensity ......................................................................................................................26
5.1.14. Adjust LCD Contrast......................................................................................................................................26
5.1.15. Read the SPI Flash Memory IDCode .............................................................................................................26
5.1.16. Read the I2C Temperature Sensor ................................................................................................................26
5.1.17. Read MachXO2280 DIP Switch Inputs ..........................................................................................................26
5.1.18. Read POWR1014A UES .................................................................................................................................27
5.1.19. Read Board Uptime.......................................................................................................................................27
5.1.20. Re-Display the Main Menu ...........................................................................................................................27
5.2. Voltage Monitoring Demo....................................................................................................................................28
5.3. Alternate ‘No-Rework’ Voltage Monitoring Demo...............................................................................................29
5.4. Memory-Audio Demo...........................................................................................................................................29
5.4.1. PC Host..........................................................................................................................................................29
5.4.2. LatticeMico8 Microcontroller.......................................................................................................................30
5.4.3. UART .............................................................................................................................................................30
5.4.4. CompactFlash Memory Controller................................................................................................................30
5.5. Memory-Audio Demo...........................................................................................................................................31
5.6. Power Supply Fault Logging Demo.......................................................................................................................34
5.6.1. Demo Environment Setup ............................................................................................................................35
5.6.2. Trigger Fault Conditions................................................................................................................................36
6. Download Demo Designs ............................................................................................................................................37
7. Programming Demo Designs with Diamond Programmer ..........................................................................................38
8. Rebuilding a MachXO Demo Project with Diamond....................................................................................................39
9. Reassembling the Demo LatticeMico8 Firmware........................................................................................................40
10. Recompiling a Power Manager II Demo Project with PAC-Designer...........................................................................41
11. MachXO Control Evaluation Board..............................................................................................................................42
11.1. Overview ..............................................................................................................................................................42
11.2. Subsystems...........................................................................................................................................................44
11.2.1. CompactFlash Card Socket ...........................................................................................................................44
11.2.2. Current Sensor Circuits.................................................................................................................................44
11.2.3. Digital Potentiometer Circuit........................................................................................................................44
11.2.4. Fan Circuit.....................................................................................................................................................44