Lattice MachXO5-NX™ I2C Reference Design provides the data access to the MachXO5-NX internal flash through the user I2C bus interface.
The MachXO5-NX I2C reference design initiates and connects the MachXO5-NX flash programming through the user I2C interface. The reference design is based on the RISC-V MC SoC project template with addition of I2C Target component and Internal Flash Controller component, and removal of the Oscillator component.