gecko4education:arduino

Arduino compatible connector

The GECKO4-Education board has an Arduino Mega compatible connector architecture on it's back-side as shown in the below figure.

All digital signals on the Arduino connectors are 3.3V compliant. Never connect a digital output to these pins that has higher voltage levels (e.g. 5V) as this will certainly destroy the FPGA!
For all analog pins please refer to the datasheets of the ADC and DAC that can be found here

.

The GECKO4-Education can be powered by applying an external power supply to the Vin pin on the power connector. The voltage that can be applied on the Vin pin must be in between 6.5V and 20V. Note however, the higher this voltage the warmer the LDO (Low Drop Out regulator) on the top of the GECKO4-Education gets. In case an external voltage is applied on the Vin pin the GECKO4-Education will automatically switch to this power supply and will decouple the USB-power.

The GECKO4-Education provides two voltages on the power connector, namely 3.3V and 5V. The maximal total current drawn from these supplies are listed in the below table. Note that you also have to take into account the current drawn from eventual connected Pmod modules!

Supply USB-powered Vin-powered
3.3V max. 250 mA max. 500 mA
5V max. 160 mA max. 400 mA

Finally the GECKO4-Education board provides the pin AREF to be used as analog reference voltage. More information on this pin can be found here.

The GECKO4-Education board provides fourteen analog inputs (ADC0…ADC13) on the ANALOG IN connectors. The pin ADC0 is connected on the input of the ADC with address 0, ADC1 on the input of the ADC with address 1, etc. More information on the ADC can be found here.

The GECKO4-Education board also provides two digital outputs (DAC0 and DAC1) on the NC pins of the Arduino POWER connector. DAC0 is connected to channel 0 of the DAC, and DAC1 is connected to channel 1. More information on the DAC can be found here.

The GECKO4-Education board provides a multitude of digital connections. The below sections will list them all and list also the FPGA-connections.

PWM:

The PWM section contains fourteen digital I/O connections. The below table lists those connections and their respective connections to the FPGA. Here you find a tcl-script that can be used with Quartus.

Name: PE0 PE1 PE4 PE5 PG5 PE3 PH3
Arduino name: 0 1 2 3 4 5 6
FPGA pin: PIN_M16 PIN_M19 PIN_N16 PIN_N17 PIN_P20 PIN_R22 PIN_R21
Name: PH4 PH5 PH6 PB4 PB5 PB6 PB7
Arduino name: 7 8 9 10 11 12 13
FPGA pin: PIN_R20 PIN_U22 PIN_W22 PIN_W21 PIN_W20 PIN_V21 PIN_V22

Communication:

The COMMUNICATION section contains eight digital connections. The below table lists those connections and their respective connections to the FPGA. Here you find a tcl-script that can be used with Quartus.

Name: PD0 PD1 PD2 PD3 PH0 PH1 PJ0 PJ1
Arduino name: 21 20 19 18 17 16 15 14
FPGA pin: PIN_M22 PIN_M21 PIN_M20 PIN_N22 PIN_N21 PIN_N20 PIN_P22 PIN_P21

Digital:

The DIGITAL section contains besides two 5V and two GND pins also thirtytwo digital connections. The below table lists those connections and their respective connections to the FPGA. Here you find a tcl-script that can be used with Quartus.

Name: Arduino name: FPGA pin: Name: Arduino name: FPGA pin:
PA0 22 PIN_P16 PA1 23 PIN_T17
PA2 24 PIN_P17 PA3 25 PIN_T18
PA4 26 PIN_R18 PA5 27 PIN_T16
PA6 28 PIN_R19 PA7 29 PIN_T15
PC7 30 PIN_N15 PC6 31 PIN_R17
PC5 32 PIN_N14 PC4 33 PIN_R16
PC3 34 PIN_P15 PC2 35 PIN_R15
PC1 36 PIN_P14 PC0 37 PIN_R14
PD7 38 PIN_U19 PG2 39 PIN_U15
PG1 40 PIN_V16 PG0 41 PIN_V15
PL7 42 PIN_W19 PL6 43 PIN_W17
PL5 44 PIN_Y17 PL4 45 PIN_W15
PL3 46 PIN_AA19 PL2 47 PIN_AB19
PL1 48 PIN_AA18 PL0 49 PIN_AB18
PB3 50 PIN_AA17 PB2 51 PIN_AB17
PB1 52 PIN_U12 PB0 53 PIN_T12

Extra:

Finally the GECKO4-education board provides another five digital connections. The below table lists those connections and their respective connections to the FPGA. Here you find a tcl-script that can be used with Quartus.

Name: PDD0 PDD1 CRX CTX nRst
FPGA pin: PIN_U20 PIN_U21 PIN_AA14 PIN_AB14 PIN_Y13
  • gecko4education/arduino.txt
  • Last modified: 2021/12/20 10:49
  • by 127.0.0.1