4 Configuration Pin
4.1 Configuration Pin List and Reuse Options
UG290-2.3E
10(87)
Table 4-2 Pin Reuse Options
Name
Options
Description
JTAG PORT
Default Status
TMS, TCK, TDI, and TDO are used as
dedicated configuration pins. JTAGSEL_N is
used as GPIO.
Set as GPIO
JTAGSEL_N pins are used as dedicated
configuration pins:
JTAGSEL_N=0, TMS, TCK, TDI, and
TDO are used as configuration pins:
JTAGSEL_N = 1, TMS, TCK, TDI, and
TDO are used as GPIO after
configuration.
I
2
C PORT
Default Status
SCL and SDA pins are used as dedicated
configuration pins.
Set as GPIO
SCL and SDA pins are used as GPIO after
configuration.
SSPI PORT
Default Status
SCLK, CLKHOLD_N, SSPI_CS_N, SI and
SO are used as dedicated configuration
pins.
Set as GPIO
SCLK, CLKHOLD_N, SSPI_CS_N, SI and
SO are used as GPIO after configuration.
MSPI PORT
Default Status
FASTRD_N, MCLK, MCS_N, MO and MI
are used as dedicated configuration pins.
Set as GPIO
FASTRD_N, MCLK, MCS_N, MO and MI
are used as GPIO after configuration.
RECONFIG_N
Default Status
Dedicated configuration pins.
Set as GPIO
Used as GPIO after configuration.
READY
Default Status
Dedicated configuration pins.
Set as GPIO
Used as GPIO after configuration.
DONE
Default Status
Dedicated configuration pins.
Set as GPIO
Used as GPIO after configuration.
Note!
[1] For the devices with JTAGSEL_N unbound, when debugging JTAG pin reuse, it's
suggested to set MODE value to non-auto configuration mode (being neither
auto-boot, dual boot, nor MSPI) before power up to avoid the other bit stream data
affecting configuration. Device turns into user MODE, and JTAG pin changes into
GPIO after power up and manually configuring JTAG. After the device is power up,
the device enters User Mode, and the JTAG pin is used as GPIO. For the LittleBee
®
Family of FPGA products, when MODE[2: 0]=001, the JTAGSEL_N pin and the four
JTAG Configuration pins (TCK, TMS, TDI, TDO) can be set as GPIOs simultaneously,
but the JTAG pin cannot be recovered as a configuration pin by JTAGSEL_N. It can
be recovered when the device reenters the edit mode.
[2] The pins of SERIAL and CPU modes are shared with other configuration modes,
so they cannot be set as GPIOs separately. However, the pins can be set as GPIOs
in non-shared configuration modes.
Configure Dual-purpose Pin
The steps are as follows:
1. Open the project in Gowin software;
2.
Select “Project > Configuration > Dual Purpose Pin” from the menu
options, as shown in ;