6514 - All Nexus Family: How to set DONE, INTN and PROGRAMN pins as GPIO in Nexus Family?
To use these Configuration pins as an IO, follow the steps below:
1.) The First step is to set this pins to DISABLE (in this case INITN_PORT, DONE_PORT and PROGRAMN_PORT to DISABLE). After running the design flow up to export files, a .fea file will be generated that contains these settings.
2.) Now, you need to program the device feature row using the generated .fea file. Once programming is successful, these SysConfig IO will now become GPIO.
Note: This involves OTP (One-Time Programmable), once you do this, you can never recover the device initial/default settings (SysConfig) to these IO. As such, be cautious when doing this.
Related Articles
7210 - MACHXO3D: How to enable MACHXO3D SDM Port INITN/DONE/PROGRAMN persistence mode?
Description: MACHXO3D SDM Port INITN/DONE/PROGRAMN are dual purpose pins, which can be use as GPIO in user mode based on persistent mode settings. Solution: These are part of Feature Row settings and Feature Row bits that must be programmed to take ...
2115 - MachXO2/XO3: While programming the Lattice MachXO2 device using JTAG pins, is it recommended to provide connections to the DONE, INITN, and PROGRAMN pins of the device, or are TCK, TMS, TDI, and TDO sufficient?
In Lattice MachXO2/XO3 devices, JTAG ports can access both Flash and SRAM Memory. Therefore, it is not necessary to use INIT, DONE and PROGRAMN pins. TCK, TMS, TDI and TDO pins are sufficient to program and configure the device. For more details, ...
5553 - Why in LCMXO2 part I got the following error message: ERROR - Failed in Function VERIFY_SRAM_DONE_BIT ?
The "Failed in Function VERIFY_SRAM_DONE_BIT" means that, the Diamond Programmer is unable to determine the statue of the DONE bit in the device's Status Register. This could have happened due to following reasons: The DONE bit is NOT SET due to the ...
4729 - MachXO2: Why is it not recommended to control/toggle the PROGRAMN pin to trigger reconfiguration from its own GPIO?
It is not recommended to control the PROGRAMN pin from its own GPIO because the MachXO2 device's GPIO might permanently pull down the PROGRAMN pin. Thus, the device will always be held in reconfiguration state, and will not communicate or be erased ...
7149 - Nexus Devices: What is the maximum SPI Flash size that Nexus devices can boot?
Nexus devices can boot up to 4 Gb as long as Control register 1 bit 14 (32-bit SPIm Commands) and bit 17(32-bit SPIm Address) is set to 1. See below: