The block diagram shows an example of an external microcontroller (in this case the Lattice Mico32TM) programming the XO2 through the I2C bus in a traditional embedded environment. The features of the reference design are attractive in embedded systems where the MachXO2 needs to be programmed in signal limited environments where a separate JTAG interface is not available. The C code provided follows a documented configuration flow that can be a reference for users to roll their own code. Please refer TN1204 (MachXO2 Programming and Configuration Usage Guide) for further information on the configuration of the XO2 through the hardened I2C port.
Device Family |
Tested Devices1 |
Language |
fmax |
I/O Pins |
Memory Size Required for C Code |
Architectural Resources |
Revision |
MachXO2™ 2 |
LCMXO2-1200ZE-3MG132C |
C |
>100KHz (I2C) |
- |
16KB |
EFB |
1.0 |
1 May work in other devices as well.
2 Performance and utilization characteristics generated using the specified test device and Lattice Diamond™ 1.4 software.