Arduino GIGA R1 WiFi Pinout, Datasheet, Schematic [Ultimate Guide]

In this guide, you’ll find the Arduino GIGA R1 WiFi pinout diagram, its datasheet and schematic diagram, and every pin group explained with its default pins and gotchas. Without further ado, let’s get right into it!

The Arduino GIGA R1 WiFi is a Mega-size Arduino built around ST’s dual-core STM32H747XI: a Cortex-M7 at 480MHz and a Cortex-M4 at 240MHz, with 2MB of flash and 1MB of RAM, plus 16MB QSPI flash and 8MB SDRAM on the board. It has 76 GPIO pins, 12 analog inputs, 2 DACs, Wi-Fi and Bluetooth, a camera connector, a display connector, a USB-A host port, and an audio jack, all at 3.3v logic.


Arduino GIGA R1 WiFi Pinout Diagram

Here is a detailed Arduino GIGA R1 WiFi Pinout Diagram with colored labels and legends to help you easily identify the functionalities that each pin can perform. The board has 76 GPIO pins on seven headers, and at a readable size they don’t fit in one image. So the pinout comes in five diagrams, one per header group: the digital header first (the pins most projects use), then the power and analog header, the D22–D53 double row, the camera and display connectors, and the SPI and JTAG headers.

Arduino GIGA R1 WiFi Digital Header Pinout (D0–D21)

Arduino GIGA R1 WiFi pinout diagram with digital header GPIO, PWM, UART, SPI, I2C and Arduino pin numbers
Digital header: SCL1, SDA1, AREF, D0–D21 (board rotated, USB at the top)

Each row shows the physical header pin, the Arduino pin name and number the core uses, the STM32H747 GPIO (PB6, PH6…), and the pin’s functions, color-coded by peripheral. Italic labels are the Arduino core objects on that pin ( Serial1, Wire2, SPI1). The dot symbol marks a 5v-tolerant input, the square marks a 3.3v-only pin, the PWM symbol marks the analogWrite() pins, and the numbered badges point to the notes at the bottom of each diagram.

Arduino GIGA R1 WiFi Power & Analog Header Pinout (A0–A11, DAC, CAN)

Arduino GIGA R1 WiFi power and analog header pinout with VIN, 5V, 3V3, OFF, VRTC, A0-A11, DAC and CAN pins
J1 (OFF, GND, VRTC) and the power + analog header: power pins, A0–A11, DAC0, DAC1, CANRX, CANTX

Arduino GIGA R1 WiFi D22–D53 Header Pinout

Arduino GIGA R1 WiFi D22-D53 double-row header pinout with STM32 GPIO and LTDC, SAI functions
D22–D53 2×18 double-row header (Mega position)

Arduino GIGA R1 WiFi Camera & Display Connector Pinout (J6, J5)

Arduino GIGA R1 WiFi camera J6 and display J5 connector pinout with D54-D75 and MIPI DSI pins
J6 Arducam camera connector (2×10) and J5 display connector (2×12, MIPI DSI)

Arduino GIGA R1 WiFi SPI & JTAG Header Pinout

Arduino GIGA R1 WiFi SPI header and JTAG connector pinout
J7 6-pin SPI header (the default SPI object) and J8 2×5 1.27mm JTAG/SWD connector

The double-row headers (D22–D53, J6, J5, J7, J8) are drawn in the photo’s orientation, with pin 1 at the top left, odd pins in one column and even pins in the other. On the D22–D53 header, the odd pins are the inner column. SCL1 and SDA1 appear twice, on the digital header and on the camera connector J6, as the same two pins.

Buy an Arduino GIGA R1 WiFi: If you don’t have one yet, you can get the genuine Arduino board from Amazon or AliExpress. The Wi-Fi antenna comes in the box, so you can start right away.

Download Arduino GIGA R1 WiFi Pinout Diagrams (Full Resolution)

All 5 Arduino GIGA R1 WiFi pinout diagrams (digital header, power and analog header, D22–D53, camera and display connectors, and SPI and JTAG headers) in full resolution, in one ZIP file. Print them, zoom in, or keep them next to your bench. Please consider supporting my work if it helped you.


Arduino GIGA R1 WiFi Datasheet

This development board is built around the STM32H747XIH6 microcontroller (TFBGA240+25), so the Arduino GIGA R1 WiFi datasheet set has two parts: Arduino’s documents for the board and ST’s documents for the chip. Here are the official documents you’ll need, linked to their original sources:

DocumentIDRevisionWhat You’ll Use It ForLink
Arduino GIGA R1 WiFi datasheet (user manual)ABX00063Rev 6 (20 Oct 2026)Board specs, power ratings, every header’s pin listPDF
Arduino GIGA R1 WiFi schematicABX00063V1.6 (19 Dec 2023)The full board circuit (see the next section)PDF
Arduino GIGA R1 WiFi full pinoutABX0006312 Jul 2023Arduino’s 9-page pin map with every alternate functionPDF
Arduino GIGA R1 WiFi cheat sheetArduino DocsSep 2026Core features: SDRAM, QSPI flash, Serial, I2C, CAN, DAC, RTC code examplesWeb
STM32H747xI/G datasheetDS12930Rev 3 (Jan 2026)Pin functions, FT/TT (5v tolerance), electrical limitsPDF
STM32H745/747/755/757 errata sheetES0445Rev 7 (30 Oct 2026)Known silicon limitationsPDF

Which document do I need? The Arduino datasheet for the board’s power ratings and header pin lists, the schematic for what’s wired to each pin, and ST’s DS12930 for pin functions, 5v tolerance, and current limits. ST’s reference manual (RM0399, for register-level code) is on the STM32H747XI product page, and Arduino keeps every board file on the Arduino GIGA R1 WiFi product page.


Arduino GIGA R1 WiFi Schematic

The Arduino GIGA R1 WiFi schematic is Arduino’s ABX00063 V1.6 drawing (8 sheets, dated 19 Dec 2023). The carousel below shows all eight sheets: the block overview, the headers, USB, power, the STM32H747, the Wi-Fi/Bluetooth module, the audio jack, and the secure element. Click a page to view it full screen.

Arduino GIGA R1 WiFi schematic page 1: top-level block diagram (ABX00063 V1.6)
Sheet 1 of 8 · Top Level
Arduino GIGA R1 WiFi schematic page 2: headers, camera and display connectors, JTAG (ABX00063 V1.6)
Sheet 2 of 8 · Headers
Arduino GIGA R1 WiFi schematic page 3: USB-C and USB-A connectors (ABX00063 V1.6)
Sheet 3 of 8 · USB
Arduino GIGA R1 WiFi schematic page 4: 5v and 3.3v step-down regulators (ABX00063 V1.6)
Sheet 4 of 8 · Power
Arduino GIGA R1 WiFi schematic page 5: STM32H747 microcontroller, SDRAM and QSPI flash (ABX00063 V1.6)
Sheet 5 of 8 · STM32H747
Arduino GIGA R1 WiFi schematic page 6: Murata 1DX Wi-Fi and Bluetooth module (ABX00063 V1.6)
Sheet 6 of 8 · Wi-Fi / BLE
Arduino GIGA R1 WiFi schematic page 7: 3.5mm audio jack (ABX00063 V1.6)
Sheet 7 of 8 · Audio
Arduino GIGA R1 WiFi schematic page 8: ATECC608A secure element (ABX00063 V1.6)
Sheet 8 of 8 · Crypto
Page 1 of 4

Official source: the Arduino GIGA R1 WiFi schematic (PDF) on Arduino Docs, licensed CC BY-SA 4.0. Here’s what to look at:

  • Power path (sheet 4): VIN (6v–24v) feeds the AP63200 step-down converter (U7, with a 1.8A inductor), which makes the 5v rail. USB-C’s VBUS joins the same 5v rail through a Schottky diode (D1, sheet 3). The MP2322 buck (U6, 1.15A inductor) then makes 3.3v from 5v. Its enable net, 3V3_EN, is the OFF pin: pull it to GND and the 3.3v rail (and the whole MCU side) shuts down, while the 5v buck keeps running.
  • VRTC (sheet 2 and 5): the VRTC pin goes to the STM32’s VBAT input, so a coin cell keeps the RTC and backup registers alive. It doesn’t power anything else.
  • USB (sheet 3): the USB-C port (J12) is a power sink with 5.1kΩ CC resistors, so a USB-C charger gives it plain 5v. The USB-A port (J2) is a host port: its VBUS comes from the board’s 5v rail through a SLG59H1341C load switch (U9) that the core turns on (pin 92), so USB-A can power a keyboard or a flash drive but can’t power the board.
  • STM32H747 (sheet 5): a 16MHz crystal and a 32.768kHz MEMS oscillator for the clocks, the AS4C4M16SA 8MB SDRAM, and the AT25SF128A 16MB QSPI flash. VREF+ is tied to the 3.3v analog supply, which is why AREF is an output, not a reference input.
  • Wi-Fi and Bluetooth (sheet 6): the Murata LBEE5KL1DX-883 (Infineon CYW4343W) talks to the STM32 over SDIO for Wi-Fi and UART7 for Bluetooth. Its antenna pin goes only to the U.FL connector (J14), so the module has no antenna of its own.
  • Audio (sheet 7): the 3.5mm jack (J15) connects straight to DAC0 (right), DAC1 (left), and A7 (microphone) through 0Ω resistors. There’s no amplifier and no codec.
  • Secure element (sheet 8): the ATECC608A sits on the SCL1/SDA1 bus ( Wire1), at I2C address 0x60.

Arduino GIGA R1 WiFi Specs

The Arduino GIGA R1 WiFi keeps the Mega form factor but swaps the 8-bit AVR for a dual-core STM32H7. Here are its specifications, including the board-level parts that chip-only spec lists usually skip.

Arduino GIGA R1 WiFi development board (ABX00063) with the STM32H747XI, Murata Wi-Fi module, camera and display connectors

Get an Arduino GIGA R1 WiFi: The genuine Arduino board (ABX00063) is the one I recommend. Grab it from Amazon or AliExpress.

ItemArduino GIGA R1 WiFi
MicrocontrollerST STM32H747XIH6: Cortex-M7 at 480MHz + Cortex-M4 at 240MHz, 2MB flash, 1MB RAM
External memory8MB SDRAM (AS4C4M16SA) and 16MB QSPI NOR flash (AT25SF128A)
WirelessMurata LBEE5KL1DX-883 (CYW4343W): Wi-Fi 802.11b/g/n and Bluetooth; external antenna on U.FL (included)
Logic level3.3v (IOREF = 3.3v); most pins are 5v-tolerant inputs, 11 are not
I/O76 digital (D0–D75), 12 analog inputs (A0–A11), 2 DAC (DAC0, DAC1), 12 PWM (D2–D13)
Interfaces4x UART, 3x I2C, 2x SPI, 1x CAN (FDCAN, no transceiver), USB-C device, USB-A host
Board supplyUSB-C 5v, or 6v–24v on VIN
RegulatorsAP63200 buck (VIN to 5v, 1.8A inductor), MP2322 buck (5v to 3.3v, 1.15A inductor)
Pin current8mA per pin (Arduino datasheet); 20mA absolute max per pin, 140mA total (DS12930)
ConnectorsMega headers, D22–D53 2×18, J6 camera 2×10, J5 display 2×12 (MIPI DSI), J7 SPI 2×3, J8 JTAG 2×5 1.27mm, J1 (OFF, GND, VRTC), 3.5mm audio jack
SecurityATECC608A secure element (Wire1, 0x60)
On-board I/ORGB LED (active LOW), power LED, RESET and BOOT0 buttons
Clocks16MHz crystal, 32.768kHz MEMS oscillator
Form factorArduino Mega, 101.6 × 53.3mm
Order codeABX00063

Arduino GIGA R1 WiFi Specifications Summary

  • The Arduino GIGA R1 WiFi runs on an STM32H747XI: a Cortex-M7 at 480MHz and a Cortex-M4 at 240MHz, with 2MB flash, 1MB RAM, 8MB SDRAM, and 16MB QSPI flash.
  • Every pin runs at 3.3v logic. Most are 5v-tolerant inputs, but D5, A0, A1, A3, A8–A11, DAC0, and DAC1 are not (3.6v max).
  • Arduino rates each I/O pin at 8mA; ST’s absolute maximum is 20mA per pin and 140mA for all pins together.
  • It has 76 digital pins (D0–D75), numbered 0–75 in the core; A0–A7 are 76–83, DAC0/DAC1 are 84/85.
  • It has 12 analog inputs (A0–A11) on a 16-bit ADC; analogRead() returns 10-bit values until you call analogReadResolution(16). A8–A11 are analog only.
  • analogWrite() gives PWM on D2–D13 (12 pins); D5+D10, D11+D12, and D0+D6 share a timer channel.
  • Serial is the USB-C port. Serial1 = D0/D1, Serial2 = D18/D19 (TX1/RX1), Serial3 = D16/D17, Serial4 = D14/D15.
  • Wire = D20/D21, Wire1 = SCL1/SDA1 (shared with the camera and the ATECC608A at 0x60), Wire2 = D8/D9.
  • SPI is the 6-pin SPI header; SPI1 is D10–D13.
  • The CAN pins are CANRX/CANTX (FDCAN2) and need an external transceiver.
  • Power it from USB-C 5v or VIN 6v–24v; pull OFF to GND to switch it off.
  • LED_BUILTIN is the green RGB LED (pin 87), active LOW. Wi-Fi needs the U.FL antenna connected.

Arduino GIGA R1 WiFi Peripherals: STM32H747 vs On the Headers

The STM32H747 has far more peripherals than the headers expose, and some of what reaches the headers isn’t set up by the Arduino core. This table shows what the chip has, what you can reach, and what the core uses by default.

PeripheralSTM32H747XIOn the GIGA HeadersArduino Core Default
ADC3x 16-bitA0–A11 (A8–A11 analog only), DAC0/DAC1 readableanalogRead(), 10-bit default
DAC2 channels, 12-bitDAC0 (PA4), DAC1 (PA5), also on the audio jackanalogWrite(DAC0, …), 8-bit default
PWM timersTIM1/2/3/4/5/8/12–17, HRTIMD2–D13 documented; more pins have timer channelsanalogWrite() on D2–D13, 500Hz
UART4x USART, 4x UART, LPUART1USART1, USART2, UART4, USART6 (and UART7/UART8 alternates)Serial1–Serial4
SPI6SPI1 (6-pin header), SPI5 (D10–D13), SPI2 on J5SPI = SPI1, SPI1 = SPI5
I2C4I2C2 (D20/D21), I2C4 (SCL1/SDA1), I2C1 (D8/D9)Wire, Wire1, Wire2
CAN2x FDCANFDCAN2 on CANRX/CANTX; FDCAN1 alternates on D8/D9, D16/D17mbed::CAN on PB_5/PB_13
CameraDCMIJ6, 8-bit parallel (Arducam)Arduino_Camera library
DisplayDSI host (2 lanes) + LTDCDSI on J5; LTDC RGB bus on D22–D53GIGA Display Shield libraries
Op-amp / comparatorOPAMP1/2, COMP1/2OPAMP1 and COMP1 on A0–A3, D5Not used by the core
USBUSB OTG HS + FSUSB-C (device), USB-A (host)Serial over USB-C, USBHost on USB-A

Arduino GIGA R1 WiFi Quick Pin Selection Guide

Not sure which pin to use? Here are the Arduino GIGA R1 WiFi pins I’d pick first for each job, and why.

Use CaseRecommended PinsWhy
Print debug messagesSerial (USB-C)The Serial Monitor port; D0/D1 are free
Serial to a module (GPS, GSM…)D0 (RX), D1 (TX) as Serial1The first hardware UART; D14–D19 give three more
I2C sensors and displaysD20 (SDA), D21 (SCL) as WireThe default bus; 0x60 is free here
A second I2C busD9 (SDA), D8 (SCL) as Wire2Nothing else on board uses it
SPI devices6-pin SPI header as SPI, or D10–D13 as SPI1Most libraries use SPI; pass SPI1 for shield-position wiring
Analog inputsA2, A4–A75v tolerant in digital mode, and usable as digital pins too
Analog-only sensingA8–A11Free for analogRead(), nothing else
True analog output / audioDAC0, DAC112-bit DACs, also on the 3.5mm jack
PWM (LEDs, motors)D2, D3, D4, D7, D8, D9, D13Each on its own timer channel
CAN busCANRX, CANTXFDCAN2; add a 3.3v transceiver
Safest general GPIOD22–D53No bus, boot, or analog role by default
Wake from low powerD3 (WKUP2), A7 (WKUP1)STM32 wake-up pins

Arduino GIGA R1 WiFi Pins to Use With Caution

PinReasonWhat to Do
D5, A0, A1, A3, A8–A11, DAC0, DAC1Not 5v tolerant (TT pins, 3.6v max)Never connect a 5v signal; use a divider or level shifter
All header pins3.3v logic: outputs only reach 3.3vLevel-shift 5v-logic Mega shields and modules
D7JTAG NJTRST: sits at about 1.65v after resetSet it as an output (or input) in setup() before you use it
D18, D19 (TX1/RX1)They’re Serial2, not Serial1Use Serial1 on D0/D1, or Serial2 here
D5+D10, D11+D12, D0+D6Each pair shares one PWM channelUse only one pin of a pair for analogWrite()
SCL1, SDA1Wire1 also drives the camera and the ATECC608A (0x60)Avoid devices at 0x60 on Wire1
A8–A11Analog only, no digital modeUse them only with analogRead()
SPI header pin 2It’s 5v, not 3.3vDon’t power a 3.3v-only SPI module from it
J5 pins 21 and 23Silk labels 5V and 3.3V are swapped on some boardsTrust the schematic: pin 21 = 5v, pin 23 = 3.3v
OFFPulling it LOW turns the board offLeave it open unless you want a power switch

Arduino GIGA R1 WiFi Pins Functions

The pins of the Arduino GIGA R1 WiFi are divided into the following groups based on the hardware functionality they’re used for. Most I/O pins belong to several groups at once.

We’ll discuss each pin group in the following sections one by one in more detail.


Arduino GIGA R1 WiFi Arduino Pin Numbers

The Arduino core numbers the Arduino GIGA R1 WiFi pins from 0 to 102. D0–D75 are pins 0–75, A0–A7 are pins 76–83, and DAC0/DAC1 are 84/85. A8–A11 have no number at all (they’re analog-only objects), and pins 86–102 are wired to on-board parts. Use the names ( A0, DAC0, LEDR) in your code and you’ll never need the numbers, but they show up in error messages and pin maps.

Arduino #NameWhere
0–21D0–D21Digital header
22–53D22–D53D22–D53 double-row header
54–67D54–D67Camera connector J6
68–75D68–D75Display connector J5
76–83A0–A7Analog header
84, 85DAC0 (A12), DAC1 (A13)Analog header
86, 87, 88LEDR, LEDG (LED_BUILTIN), LEDBRGB LED (not on a header)
89, 90, 91SPI header CIPO, COPI, SCK6-pin SPI header
92USB host enableUSB-A power switch (internal)
93, 94CANRX, CANTXAnalog header
95–99Wi-Fi/Bluetooth controlInternal
100BOOT0 (PC13)BOOT0 button, readable in a sketch
101, 102SCL1, SDA1Digital header and J6
–A8–A11Analog header (analog only)

Source: the core’s GIGA variant files ( pins_arduino.h, variant.cpp) and Arduino’s cheat sheet.


Arduino GIGA R1 WiFi Power Pins

The Arduino GIGA R1 WiFi is powered from USB-C (5v) or from 6v–24v on VIN. VIN goes into a 5v step-down converter, USB-C joins the 5v rail through a Schottky diode, and a second buck converter makes 3.3v for the whole board. The power pins are highlighted in red in the pinout diagram.

Arduino GIGA R1 WiFi power pins (VIN, 5V, 3V3, IOREF, GND, OFF, VRTC)

PinWhereRangeNotes
VINAnalog header 8, J5 pin 246v–24v inInto the AP63200 5v buck
5VAnalog header 5, D22–D53 header pins 1/2, SPI header pin 2, J5 pin 215vThe 5v rail: an output for 5v modules (no official current limit)
3V3Analog header 4, J6 pin 1, J5 pin 23, J8 pin 13.3v outMP2322 buck; output only
IOREFAnalog header 23.3v outTells shields the board runs at 3.3v
GNDEvery header0vAll grounds are common
OFFJ1 pin 1Pull to GNDDisables the 3.3v buck: the board turns off, 5v stays live
VRTCJ1 pin 3Coin cellSTM32 VBAT: keeps the RTC running; powers nothing else

The OFF pin is a handy way to add a power switch: wire a switch from OFF to the GND pin next to it, and the board switches off without unplugging anything. Just remember that the 5v pins stay powered while OFF is LOW, since only the 3.3v regulator stops.

Note: Arduino doesn’t publish a current limit for the 5V and 3V3 pins as outputs, so I can’t give you a safe number. Keep big loads (motors, LED strips, servos) on their own supply, and share only GND with the Arduino GIGA R1 WiFi. And never feed 5v into the 3V3 pin.


Arduino GIGA R1 WiFi GPIO Pins

The Arduino GIGA R1 WiFi has 76 digital GPIO pins, D0–D75, plus A0–A7, which also work as digital pins 76–83. They’re STM32H747 pins at 3.3v logic, so an output HIGH is 3.3v, not 5v like on the Mega 2560. That’s the most important thing to know before you plug in a Mega shield.

Arduino GIGA R1 WiFi GPIO pins on the digital header (D0-D21) with their STM32H747 GPIO pins

Each pin can be INPUT, INPUT_PULLUP, INPUT_PULLDOWN, or OUTPUT. Here are the limits that matter, from ST’s DS12930 and Arduino’s datasheet:

  • 5v tolerance: most pins are STM32 “FT” pins, which accept 5v as a digital input while the board is powered. These 11 are “TT” pins, 3.6v max: D5 (PA7), A0 (PC4), A1 (PC5), A3 (PB1), A8–A11 (PC2_C, PC3_C, PA1_C, PA0_C), DAC0 (PA4), and DAC1 (PA5). In analog mode, no pin is 5v tolerant.
  • Current: Arduino’s datasheet rates each I/O pin at 8mA, which is the current at which ST guarantees the output levels (VOH ≥ VDD − 0.4v). ST’s absolute maximum is 20mA per pin and 140mA for all pins together. Treat 8mA as the working limit: drive LEDs through a resistor and anything bigger through a transistor.
  • D7 after reset: D7 (PB4) is the STM32’s JTAG NJTRST pin, which has a pull-up at reset, so it sits at about 1.65v until your sketch sets its mode (Arduino’s cheat sheet).

Note: The Arduino GIGA R1 WiFi has no level shifting. A 5v-logic Mega shield may not read the GIGA’s 3.3v outputs as HIGH, and a 5v device’s pull-ups can push a TT pin past 3.6v. Use a level shifter for 5v-logic modules; screw-terminal and 3.3v-ready shields work fine.

Learn more in our Arduino digitalWrite() GPIO Tutorial.


Arduino GIGA R1 WiFi Interrupt Pins

Every GPIO pin on the Arduino GIGA R1 WiFi can be an interrupt pin with attachInterrupt() (Arduino’s cheat sheet). The STM32 has one EXTI line per pin number, though (line 0 for PA0, PB0, PC0…), so two pins with the same number can’t both be interrupts at once. Here are the digital and analog header pins that share a line:

EXTI LinePins Sharing It (pick one)
0A2 (PB0), A6 (PC0), A7 (PA0)
1D10 (PK1), A3 (PB1)
2D3 (PA2), A5 (PC2)
3D2 (PA3), A4 (PC3)
4D7 (PB4), D21 (PH4), A0 (PC4), DAC0 (PA4)
5D18 (PD5), A1 (PC5), DAC1 (PA5), CANRX (PB5)
6D13 (PH6), D19 (PD6)
7D5 (PA7), D0 (PB7), D15 (PC7)
8D8 (PB8), D4 (PJ8)
9D9 (PB9), D1 (PA9), D17 (PI9)
11D12 (PJ11), D20 (PB11)
13D6 (PD13), D16 (PH13), CANTX (PB13)

On those two headers, only D11 (line 10) and D14 (line 14) have an EXTI line to themselves, so they make a good pair for two buttons or an encoder. Otherwise, use one pin per row of the table, or a D22–D53 pin whose number doesn’t collide with your other interrupt pins.

Learn more in our Arduino External Interrupts Tutorial.


Arduino GIGA R1 WiFi ADC Pins

The Arduino GIGA R1 WiFi has 12 ADC pins, A0–A11, on the STM32H747’s 16-bit ADCs. analogRead() returns 10-bit values (0–1023) by default; call analogReadResolution(16) for the full 0–65535 range. The input range is 0v to 3.3v. The ADC pins are highlighted in green in the pinout diagram.

Arduino GIGA R1 WiFi ADC pins (A0-A11, 16-bit ADC) and DAC pins DAC0, DAC1

PinArduino #STM32 PinADC Channel5v Tolerant
A076PC4ADC12_INP43.3v only (3.6v max)
A177PC5ADC12_INP83.3v only (3.6v max)
A278PB0ADC12_INP9Digital mode only
A379PB1ADC12_INP53.3v only (3.6v max)
A480PC3ADC12_INP13Digital mode only
A581PC2ADC123_INP12Digital mode only
A682PC0ADC123_INP10Digital mode only
A783PA0ADC1_INP16Digital mode only
A8–PC2_CADC3_INP03.3v only (3.6v max)
A9–PC3_CADC3_INP13.3v only (3.6v max)
A10–PA1_CADC12_INP13.3v only (3.6v max)
A11–PA0_CADC12_INP03.3v only (3.6v max)

A8–A11 are the STM32’s analog-only pads (PC2_C, PC3_C, PA1_C, PA0_C). The core makes them analog-only objects, so digitalRead(A8) stops the build with “Can’t use pins A8-A11 as digital”. Two core bugs affected them: analogRead() on DAC0/DAC1 (A12/A13) returned A8’s value until PR #784, and A8–A11 fail to link on the M4 core (issue #931). Update the Arduino Mbed OS GIGA core if you hit either one.

Note: Arduino’s cheat sheet says the analog pins “can be read with a resolution of 16 Bits”. That’s the maximum: the core starts at 10-bit for compatibility with older sketches, so set the resolution yourself.

There are so many sensors that we can read with the ADC pins, which include: potentiometers, LDRs, analog temperature sensors (TMP36, NTC thermistors), current sensors, joysticks, microphones, and much more.

Learn more in our Arduino ADC analogRead() Tutorial.


Arduino GIGA R1 WiFi DAC Pins

The Arduino GIGA R1 WiFi has 2 DAC outputs: DAC0 (PA4, pin 84, also called A12) and DAC1 (PA5, pin 85, A13), both 12-bit. analogWrite(DAC0, value) gives a real voltage from 0v to 3.3v, at 8-bit resolution by default; analogWriteResolution(12) gives the full 0–4095 range. The Mega 2560 has no DAC at all.

PinSTM32 SignalAudio JackRange
DAC0PA4 (DAC1_OUT1)Right channel0v–3.3v, up to 12-bit
DAC1PA5 (DAC1_OUT2)Left channel0v–3.3v, up to 12-bit
A7PA0 (ADC1_INP16)MicrophoneAnalog input

The 3.5mm audio jack is wired straight to DAC0, DAC1, and A7, with no amplifier. Headphones work, but a speaker needs an amplifier. For audio playback and recording, Arduino’s Arduino_AdvancedAnalog library drives the DACs and ADCs with DMA (see the cheat sheet).


Arduino GIGA R1 WiFi PWM Pins

The Arduino GIGA R1 WiFi has 12 PWM pins for analogWrite(): D2–D13, at 500Hz and 8-bit resolution by default. Arduino’s datasheet says 13 PWM pins and the cheat sheet says 12; the core’s documented PWM pins are D2–D13. The PWM pins are highlighted in orange in the pinout diagram.

Arduino GIGA R1 WiFi PWM pins (D2-D13 timer outputs)

Arduino GIGA R1 WiFi Default PWM Pins: D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, and D13.

PinTimer ChannelPinTimer Channel
D2TIM15_CH2D8TIM4_CH3
D3TIM15_CH1D9TIM4_CH4
D4TIM1_CH3ND10TIM1_CH1 (shared with D5)
D5TIM1_CH1N (shared with D10)D11TIM1_CH2N (shared with D12)
D6TIM4_CH2 (shared with D0)D12TIM1_CH2 (shared with D11)
D7TIM3_CH1D13TIM12_CH1

Three pairs share one timer channel in the core’s PWM map: D5 + D10, D11 + D12, and D0 + D6. A complementary output (CHxN) and its main channel always carry the same duty cycle, so analogWrite(11, …) also changes D12, as one user found on the Arduino Forum. All channels of one timer also share one frequency.

Note: Use only one pin of each pair (D5/D10, D11/D12, D0/D6) for PWM. If you need SPI1 on D10–D13, keep PWM on D2–D9.

There are so many things that we can control with PWM, which include: LED dimming, RGB LEDs, DC motor speed (with a driver), buzzers, fans, and much more.

Learn more in our Arduino PWM analogWrite() Tutorial.


Arduino GIGA R1 WiFi UART Pins

The Arduino GIGA R1 WiFi has 4 hardware UARTs on its headers: Serial1 on D0/D1, Serial2 on D18/D19, Serial3 on D16/D17, and Serial4 on D14/D15. Serial is the USB-C port (the Serial Monitor). The catch: the silkscreen labels (TX0/RX0 to TX3/RX3) don’t match the Serial numbers. The UART pins are highlighted in blue in the pinout diagram.

Arduino GIGA R1 WiFi UART pins (D0 RX, D1 TX Serial1; D18, D19 Serial2; D16, D17 Serial3; D14, D15 Serial4)

Arduino GIGA R1 WiFi Default UART Pins: D0 (RX) and D1 (TX) for Serial1.

Arduino ObjectSilk LabelRX PinTX PinSTM32 Peripheral
SerialUSB-C––USB (CDC)
Serial1RX0 / TX0D0 (PB7)D1 (PA9)USART1
Serial2RX1 / TX1D19 (PD6)D18 (PD5)USART2
Serial3RX2 / TX2D17 (PI9)D16 (PH13)UART4
Serial4RX3 / TX3D15 (PC7)D14 (PG14)USART6

On a Mega 2560, Serial1 is TX1/RX1, so Mega code moved to the GIGA ends up talking to the wrong pins (Arduino reference issue #964). Arduino’s cheat sheet also swaps D0 and D1 in its pin table: the schematic and the core say D0 = RX and D1 = TX, as on every Arduino.

There are so many modules that we can interface with the UART pins, which include: GPS modules, GSM/LTE modules, fingerprint sensors, RS485 transceivers, DFPlayer Mini, other microcontrollers, and much more.

Learn more in our Arduino UART Serial Communication Tutorial.


Arduino GIGA R1 WiFi I2C Pins

The Arduino GIGA R1 WiFi has 3 I2C buses in the Arduino core. Wire is on D20 (SDA) / D21 (SCL) (I2C2), Wire1 is on SDA1 / SCL1 (I2C4), and Wire2 is on D9 (SDA) / D8 (SCL) (I2C1). The I2C pins are highlighted in yellow in the pinout diagram.

Arduino GIGA R1 WiFi I2C pins (D20 SDA, D21 SCL Wire; SDA1, SCL1 Wire1; D9 SDA, D8 SCL Wire2)

Arduino GIGA R1 WiFi Default I2C Pins: D20 (SDA) and D21 (SCL) for Wire.

Arduino ObjectPeripheralSDASCLAlso On This Bus
WireI2C2D20 (PB11)D21 (PH4)–
Wire1I2C4SDA1 (PH12)SCL1 (PB6)Camera J6, ATECC608A at 0x60
Wire2I2C1D9 (PB9)D8 (PB8)–

Wire1 is shared: the camera connector J6 uses it for the camera’s control bus, and the on-board ATECC608A secure element answers at 0x60. A sensor with the same address (a VCNL4040, for example) won’t work on Wire1, as a SparkFun forum user found; move it to Wire or Wire2.

There are so many modules and sensors that we can interface with the I2C bus, which include: OLED displays (SSD1306), I2C LCDs, RTC modules, IMUs (MPU6050), BME280 sensors, port expanders, and much more.

Learn more in our Arduino I2C Tutorial.


Arduino GIGA R1 WiFi SPI Pins

The Arduino GIGA R1 WiFi has 2 SPI ports in the Arduino core. The default SPI object is the 6-pin SPI header (STM32 SPI1), not D10–D13. SPI1 is D10 (CS), D11 (COPI), D12 (CIPO), D13 (SCK) (STM32 SPI5). The SPI pins are highlighted in pink in the pinout diagram.

Arduino GIGA R1 WiFi SPI pins (D10 CS, D11 COPI, D12 CIPO, D13 SCK as SPI1)

Arduino GIGA R1 WiFi Default SPI Pins: the 6-pin SPI header (CIPO, COPI, SCK) for SPI.

SignalSPI (6-Pin Header)SPI1 (Shield Pins)
CIPO (MISO)Pin 1 (PG9, #89)D12 (PJ11)
COPI (MOSI)Pin 4 (PD7, #90)D11 (PJ10)
SCKPin 3 (PB3, #91)D13 (PH6)
CSAny free GPIOD10 (PK1)
Other header pins2 = 5v, 5 = RESET, 6 = GND–

Most libraries use the SPI object, so a module wired to D10–D13 needs SPI1 passed to the library (for example SD.begin(10, SPI1) where the library supports it). The 6-pin header has the ICSP layout of older Arduino boards, but its pin 2 is 5v, so check your module before powering it from there.

There are so many modules that we can interface with the SPI bus, which include: TFT displays (ILI9341, ST7789), SD card modules, LoRa radios, nRF24L01 radios, W5500 Ethernet modules, and much more.


Arduino GIGA R1 WiFi CAN Pins

The Arduino GIGA R1 WiFi has 1 CAN bus on its headers: CANRX (PB5, pin 93) and CANTX (PB13, pin 94), on the STM32’s FDCAN2 controller. The board has no CAN transceiver, so you need an external one. The CAN pins are highlighted in purple in the pinout diagram.

Arduino GIGA R1 WiFi CAN pins (CANRX PB5, CANTX PB13)

Arduino GIGA R1 WiFi Default CAN Pins: CANRX and CANTX on the analog header.

Use a 3.3v CAN transceiver like the SN65HVD230: its TXD goes to CANTX, its RXD to CANRX, and terminate the bus with 120Ω at both ends. Arduino’s cheat sheet uses Mbed’s CAN class directly: mbed::CAN can1(PB_5, PB_13);. The STM32 also routes FDCAN1 to D8/D9 and D16/D17, but the core doesn’t set it up.


Arduino GIGA R1 WiFi USB-C & USB-A Ports

The Arduino GIGA R1 WiFi has two USB ports. The USB-C port is for power (5v), programming, the Serial Monitor, and USB HID (keyboard/mouse emulation). The USB-A port is a host-only port for a keyboard or a USB flash drive; it can’t program the board and it can’t power it.

PortRolePowerNotes
USB-C (J12)Device: upload, Serial, HID, mass storage5v in (5.1kΩ CC sink)Joins the 5v rail through a Schottky diode
USB-A (J2)Host: keyboard, mouse, flash drive5v out from the board’s 5v railLoad switch U9, turned on by the core (pin 92)

Arduino GIGA R1 WiFi Camera & Display Connector Pins (J6, J5)

The Arduino GIGA R1 WiFi has a 2×10 camera connector (J6) for Arducam-style 8-bit parallel cameras (STM32 DCMI) and a 2×12 display connector (J5) with a 2-lane MIPI DSI interface for the GIGA Display Shield. Their GPIO pins are D54–D67 (J6) and D68–D75 (J5), so you can also use them as plain I/O when no camera or display is fitted.

Arduino GIGA R1 WiFi Camera Connector J6 Pins

Click to expand the full pin table (20 pins)
PinNameSTM32 Pin (Arduino #)Functions5v Tolerant
13V3–3.3v–
2GND–––
3SCL1PB6 (101)I2C4_SCL, Wire1 SCL, CAM SCL5v tolerant
4SDA1PH12 (102)I2C4_SDA, Wire1 SDA, CAM SDA5v tolerant
5D54PI5 (54)TIM8_CH1, DCMI_VSYNC5v tolerant
6D55PH8 (55)I2C3_SDA, DCMI_HSYNC5v tolerant
7D56PA6 (56)TIM3_CH1, DCMI_PIXCLK5v tolerant
8D57PJ9 (57)TIM1_CH3, CAM XCLK5v tolerant
9D58PI7 (58)TIM8_CH3, DCMI_D75v tolerant
10D59PI6 (59)TIM8_CH2, DCMI_D65v tolerant
11D60PI4 (60)DCMI_D55v tolerant
12D61PH14 (61)TIM8_CH2N, DCMI_D45v tolerant
13D62PG11 (62)DCMI_D35v tolerant
14D63PH11 (63)TIM5_CH2, DCMI_D25v tolerant
15D64PH10 (64)TIM5_CH1, DCMI_D15v tolerant
16D65PH9 (65)TIM12_CH2, DCMI_D05v tolerant
17D66PA1 (66)TIM15_CH1N, = J6-195v tolerant
18D67PD4 (67)= J6-205v tolerant
19D66PA1 (66)TIM15_CH1N, CAM POWER_EN5v tolerant
20D67PD4 (67)CAM PWDN5v tolerant

Arduino GIGA R1 WiFi Display Connector J5 Pins

Click to expand the full pin table (24 pins)
PinNameSTM32 Pin (Arduino #)Functions5v Tolerant
1D1N–DSI_D1_N–
2D1P–DSI_D1_P–
3GND–––
4GND–––
5CKN–DSI_CK_N–
6CKP–DSI_CK_P–
7GND–––
8GND–––
9D0N–DSI_D0_N–
10D0P–DSI_D0_P–
11GND–––
12GND–––
13D68PC6 (68)TIM3_CH1, TIM8_CH1, USART6_TX, I2S2_MCK5v tolerant
14D69PI0 (69)TIM5_CH4, SPI2_NSS, I2S2_WS5v tolerant
15D70PI1 (70)SPI2_SCK, I2S2_CK5v tolerant
16D71PI2 (71)TIM8_CH4, SPI2_MISO, I2S2_SDI5v tolerant
17D72PI3 (72)SPI2_MOSI, I2S2_SDO5v tolerant
18D73PC1 (73)ADC123_INP11, DFSDM1_DATIN05v tolerant
19D74PB12 (74)SPI2_NSS, FDCAN2_RX, I2S2_WS5v tolerant
20D75PD3 (75)SPI2_SCK, DFSDM1_CKOUT5v tolerant
215V–5v–
22GND–––
233V3–3.3v–
24VIN–VIN–
  • J6 pin pairs: pin 17 is shorted to pin 19 (PA1, D66, camera power enable) and pin 18 to pin 20 (PD4, D67, camera power-down) on the PCB, so each signal appears twice.
  • J6 shares Wire1: the camera’s control bus is SCL1/SDA1, the same Wire1 pins as on the digital header.
  • J5 DSI lanes (D0N/D0P, D1N/D1P, CKN/CKP) are high-speed differential pairs: DSI only, no GPIO.
  • J5 silk error: on some boards, the 5V and 3.3V labels at the bottom of J5 are swapped (Arduino Help Center, forum). The schematic is right: pin 21 = 5v (under D74), pin 22 = GND, pin 23 = 3.3v, and pin 24 = VIN.

Arduino GIGA R1 WiFi D22–D53 Header Pins

The Arduino GIGA R1 WiFi’s 2×18 header on the right edge carries D22–D53 plus two 5v and two GND pins, in the same position as on the Mega 2560. Pins 1 and 2 (top) are 5v, and pins 35 and 36 (bottom) are GND. Most of these pins are free GPIO; their extra STM32 role is the LTDC parallel RGB display bus and SAI1 audio.

Click to expand the full pin table (36 pins)
PinNameSTM32 Pin (Arduino #)Functions5v Tolerant
15V–5v rail–
25V–5v rail–
3D22PJ12 (22)LTDC_B05v tolerant
4D23PG13 (23)USART6_CTS, SPI6_SCK, LTDC_R05v tolerant
5D24PG12 (24)USART6_RTS, SPI6_MISO, LTDC_B15v tolerant
6D25PJ0 (25)LTDC_R15v tolerant
7D26PJ14 (26)LTDC_B25v tolerant
8D27PJ1 (27)LTDC_R25v tolerant
9D28PJ15 (28)LTDC_B35v tolerant
10D29PJ2 (29)LTDC_R35v tolerant
11D30PK3 (30)LTDC_B45v tolerant
12D31PJ3 (31)LTDC_R45v tolerant
13D32PK4 (32)LTDC_B55v tolerant
14D33PJ4 (33)LTDC_R55v tolerant
15D34PK5 (34)LTDC_B65v tolerant
16D35PJ5 (35)LTDC_R65v tolerant
17D36PK6 (36)LTDC_B75v tolerant
18D37PJ6 (37)TIM8_CH2, LTDC_R75v tolerant
19D38PJ7 (38)TIM8_CH2N, LTDC_G05v tolerant
20D39PI14 (39)LTDC_CLK5v tolerant
21D40PE6 (40)TIM15_CH2, SPI4_MOSI, LTDC_G15v tolerant
22D41PK7 (41)LTDC_DE5v tolerant
23D42PI15 (42)LTDC_G25v tolerant
24D43PI10 (43)LTDC_HSYNC5v tolerant
25D44PG10 (44)SPI1_NSS, LTDC_G35v tolerant
26D45PI13 (45)LTDC_VSYNC5v tolerant
27D46PH15 (46)TIM8_CH3N, LTDC_G45v tolerant
28D47PB2 (47)SPI3_MOSI, SAI1_SD_A, QSPI_CLK5v tolerant
29D48PK0 (48)TIM1_CH1N, TIM8_CH3, LTDC_G55v tolerant
30D49PE4 (49)TIM15_CH1N, SPI4_NSS, SAI1_FS_A5v tolerant
31D50PI11 (50)LTDC_G65v tolerant
32D51PE5 (51)TIM15_CH1, SPI4_MISO, SAI1_SCK_A5v tolerant
33D52PK2 (52)LTDC_G75v tolerant
34D53PG7 (53)HRTIM_CHE2, USART6_CK, SAI1_MCLK_A5v tolerant
35GND–––
36GND–––

Every GPIO on this header is a 5v-tolerant (FT) pin, which makes D22–D53 the safest place for general digital I/O. They’re still 3.3v outputs, though.


Arduino GIGA R1 WiFi JTAG/SWD, Reset & BOOT0 Pins

The Arduino GIGA R1 WiFi has a 2×5, 1.27mm JTAG connector (J8) with the standard Cortex debug layout, but only the SWD signals are wired: SWDIO (PA13) and SWCLK (PA14). SWO and TDI are not connected. Pin 1 is 3.3v (VTref) and pin 10 is NRST.

Arduino GIGA R1 WiFi SPI header and JTAG/SWD connector pins (SWDIO PA13, SWCLK PA14, NRST)

PinNameSTM32 PinFunction5v Tolerant
13V3–VTref 3.3v–
2SWDIOPA13JTMS-SWDIO5v tolerant
3GND–––
4SWCLKPA14JTCK-SWCLK5v tolerant
5GND–––
6NC–SWO not wired–
7NC–key / NC–
8NC–TDI not wired–
9GND–––
10RESET–NRST–
  • SWD: any SWD probe with a 10-pin 1.27mm cable works (ST-LINK, J-Link, CMSIS-DAP). The STM32’s JTDO/SWO pin (PB3) is the SPI header SCK, and NJTRST (PB4) is D7.
  • RESET button: one press resets the board; a double-tap enters the Arduino bootloader, which recovers a board whose sketch crashed or hid the USB port.
  • BOOT0 button: hold it while powering the board to start ST’s ROM DFU mode, which can reflash the bootloader. In a running sketch, BOOT0 is just a button: read it with digitalRead(PC_13) (pin 100).

Arduino GIGA R1 WiFi On-Board Features

Besides the headers, the Arduino GIGA R1 WiFi has an RGB LED, a power LED, two buttons, a secure element, and a few connectors. Here’s what each one does and where it’s wired.

PartPin / NetWhat It Does
RGB LED, redPI12 (LEDR, 86)Active LOW; blinks in a pattern when Mbed OS crashes
RGB LED, greenPJ13 (LEDG = LED_BUILTIN, 87)Active LOW: digitalWrite(LED_BUILTIN, LOW) turns it on
RGB LED, bluePE3 (LEDB, 88)Active LOW
Power LED (ON)3.3v railOn whenever the board is powered
RESET buttonNRSTReset; double-tap = bootloader mode
BOOT0 buttonPC13 (100)Hold at power-up = DFU; readable in a sketch
ATECC608AWire1, 0x60Secure element for keys and certificates (Arduino Cloud)
U.FL connector (J14)Murata 1DX antenna pinWi-Fi/Bluetooth antenna; required for Wi-Fi
Audio jack (J15)DAC0, DAC1, A73.5mm TRRS, no amplifier

Red LED blinking? Four fast and four slow red blinks mean Mbed OS crashed, usually from a sketch bug. The board isn’t bricked: double-tap RESET to get to the bootloader and upload a fixed sketch (Arduino Help Center).


Getting Started With Arduino GIGA R1 WiFi

You program the Arduino GIGA R1 WiFi with the Arduino IDE 2 (or Arduino Cloud). Install Arduino Mbed OS GIGA Boards from the Boards Manager, select the board, and upload over USB-C. Sketches run on the M7 core by default; the M4 core gets its own sketch through the Target core option in the Tools menu, and the two talk through the RPC library. MicroPython and OpenMV firmware are also available.

  • Connect the antenna to the U.FL connector before you try Wi-Fi or Bluetooth: the module has no antenna of its own.
  • 3.3v first: check every shield and module for 5v logic before you plug it in.
  • Libraries: the core is Mbed OS-based, so AVR-register libraries won’t compile; the Arduino APIs ( digitalWrite, Wire, SPI, Serial) work as usual.
Arduino NamePinDefault
SerialUSB-CSerial Monitor
Serial1D0 (RX), D1 (TX)USART1
Serial2D19 (RX), D18 (TX)USART2 (TX1/RX1 on the silk)
Serial3D17 (RX), D16 (TX)UART4
Serial4D15 (RX), D14 (TX)USART6
WireD20 (SDA), D21 (SCL)I2C2
Wire1SDA1, SCL1I2C4 (camera, ATECC608A)
Wire2D9 (SDA), D8 (SCL)I2C1
SPI6-pin SPI headerSPI1
SPI1D10–D13SPI5
DAC0 / DAC1PA4 / PA512-bit DAC
LED_BUILTINGreen RGB LED (PJ13)Active LOW

Arduino GIGA R1 WiFi Common Problems & Fixes

Why doesn’t Serial1 work on TX1/RX1? Because TX1/RX1 (D18/D19) is Serial2 on the GIGA. Serial1 is TX0/RX0 (D0/D1). See the UART table above (issue #964).

Why does analogWrite() on D11 change D12? D11 and D12 share TIM1 channel 2 (CH2N and CH2), so they always get the same duty cycle. The same goes for D5/D10 and D0/D6. Use one pin of each pair.

Why does analogRead() only go up to 1023? The core defaults to 10-bit. Call analogReadResolution(16) in setup().

Why won’t digitalRead(A8) compile? A8–A11 are analog-only pads. Use them with analogRead() only.

Why isn’t my I2C sensor at 0x60 found on Wire1? The on-board ATECC608A already uses 0x60 on Wire1. Move the sensor to Wire (D20/D21) or Wire2 (D8/D9).

Why is D7 at 1.65v? D7 is the STM32’s NJTRST pin with a reset pull-up. Set its mode in setup().

Why is the red LED blinking and the COM port gone? Mbed OS crashed. Double-tap RESET to enter the bootloader, then upload a fixed sketch.

Why doesn’t Wi-Fi connect? Check that the antenna is plugged into the U.FL connector: without it, Wi-Fi doesn’t work (Arduino’s full pinout says so too).

Can I use 5v Mega shields? Only if they work with 3.3v logic. The GIGA’s outputs are 3.3v, and 11 pins can’t take 5v at all. Use a level shifter for 5v-logic shields.


Arduino GIGA R1 WiFi vs Arduino Mega 2560 vs Portenta H7

The Arduino GIGA R1 WiFi has the Mega 2560’s shape and header positions, and the Portenta H7’s microcontroller. Here’s how the three compare:

FeatureArduino GIGA R1 WiFiArduino Mega 2560 R3Arduino Portenta H7
MicrocontrollerSTM32H747XI (M7 480MHz + M4 240MHz)ATmega2560, 16MHzSTM32H747XI (M7 480MHz + M4 240MHz)
Flash / RAM2MB / 1MB + 16MB QSPI + 8MB SDRAM256KB / 8KB2MB / 1MB + 16MB QSPI + 8MB SDRAM
Logic level3.3v5v3.3v
Digital I/O7654Through high-density connectors
Analog inputs12, up to 16-bit16, 10-bitUp to 16-bit
DAC2NoYes
UARTs44Several
WirelessWi-Fi + BluetoothNoWi-Fi + Bluetooth
Camera / displayJ6 camera, J5 MIPI DSINoThrough a carrier or USB-C video
USBUSB-C + USB-A hostUSB-BUSB-C
VIN range6v–24v7v–12v recommendedThrough a carrier board
Form factorMega (101.6 × 53.3mm)Mega (101.6 × 53.3mm)Portenta (66 × 25mm)

Pick the Arduino GIGA R1 WiFi when you want STM32H7 power and lots of pins in a maker-friendly Mega layout with standard headers. Pick the Mega 2560 when you need 5v logic and full compatibility with 5v Mega shields. And pick the Portenta H7 for a compact, industrial-grade module on a carrier board.


Arduino GIGA R1 WiFi Pin Details

Here is every pin of the Arduino GIGA R1 WiFi’s two long edge headers in physical order, with its Arduino number, STM32H747 pin, main functions, all its alternate functions from ST’s pin data, its 5v tolerance, and a short description. The digital header is numbered from SCL1 (pin 1) to D21 (pin 26), and the power and analog header from NC (pin 1) to CANTX (pin 24), with J1 (OFF, GND, VRTC) listed first. The D22–D53, J6, J5, J7, and J8 tables are in their own sections above.

Arduino GIGA R1 WiFi Digital Header Pins

Click to expand the full pin table (26 pins)
PinLabelArduino #STM32 PinMain FunctionsAll Alternate Functions5v TolerantDescription
JDIGITAL 1SCL1101PB6TIM4_CH1, I2C4_SCL, Wire1 SCL, FDCAN2_TX, J6 CAMERACEC, DCMI_D5, DFSDM1_DATIN5, FDCAN2_TX, FMC_SDNE1, HRTIM_EEV8, I2C1_SCL, I2C4_SCL, LPUART1_TX, QUADSPI_BK1_NCS, TIM16_CH1N, TIM4_CH1, UART5_TX, USART1_TX5v tolerantSCL of Wire1 (I2C4); the same bus goes to the camera connector and the ATECC608A at 0x60.
JDIGITAL 2SDA1102PH12TIM5_CH3, I2C4_SDA, Wire1 SDA, J6 CAMERADCMI_D3, FMC_D20, I2C4_SDA, LTDC_R6, TIM5_CH35v tolerantSDA of Wire1 (I2C4); shared with the camera connector and the on-board secure element.
JDIGITAL 3AREF––VREF+ (3.3v)––The MCU’s VREF+ pin, tied to 3.3v on the board; it’s not an input for an external reference.
JDIGITAL 4GND–––––Ground.
JDIGITAL 5D1313PH6TIM12_CH1, SPI5_SCK, SPI1 SCKDCMI_D8, ETH_RXD2, FMC_SDNE1, I2C2_SMBA, SPI5_SCK, TIM12_CH15v tolerantSPI1 SCK (STM32 SPI5) and a PWM pin; there’s no LED on D13.
JDIGITAL 6D1212PJ11TIM1_CH2, SPI5_MISO, SPI1 CIPOADC1_EXTI11, ADC2_EXTI11, ADC3_EXTI11, LTDC_G4, SPI5_MISO, TIM1_CH2, TIM8_CH2N5v tolerantSPI1 CIPO (MISO) and a PWM pin that shares TIM1 channel 2 with D11.
JDIGITAL 7D1111PJ10TIM1_CH2N, SPI5_MOSI, SPI1 COPILTDC_G3, SPI5_MOSI, TIM1_CH2N, TIM8_CH25v tolerantSPI1 COPI (MOSI) and a PWM pin that shares TIM1 channel 2 with D12.
JDIGITAL 8D1010PK1TIM1_CH1, SPI5_NSS, SPI1 CSLTDC_G6, SPI5_NSS, TIM1_CH1, TIM8_CH3N5v tolerantSPI1 CS and a PWM pin that shares TIM1 channel 1 with D5.
JDIGITAL 9D99PB9TIM4_CH4, UART4_TX, I2C1_SDA, Wire2 SDA, FDCAN1_TXDAC1_EXTI9, DCMI_D7, DFSDM1_DATIN7, FDCAN1_TX, I2C1_SDA, I2C4_SDA, I2C4_SMBA, I2S2_WS, LTDC_B7, SDMMC1_CDIR, SDMMC1_D5, SDMMC2_D5, SPI2_NSS, TIM17_CH1, TIM4_CH4, UART4_TX5v tolerantSDA of Wire2 (I2C1) and a PWM pin; also UART4 TX and FDCAN1 TX in the STM32.
JDIGITAL 10D88PB8TIM4_CH3, UART4_RX, I2C1_SCL, Wire2 SCL, FDCAN1_RXDCMI_D6, DFSDM1_CKIN7, ETH_TXD3, FDCAN1_RX, I2C1_SCL, I2C4_SCL, LTDC_B6, SDMMC1_CKIN, SDMMC1_D4, SDMMC2_D4, TIM16_CH1, TIM4_CH3, UART4_RX5v tolerantSCL of Wire2 (I2C1) and a PWM pin; also UART4 RX and FDCAN1 RX in the STM32.
JDIGITAL 11D77PB4TIM3_CH1, UART7_TX, SPI1_MISO, NJTRSTDEBUG_JTRST, HRTIM_EEV6, I2S1_SDI, I2S2_WS, I2S3_SDI, SDMMC2_D3, SPI1_MISO, SPI2_NSS, SPI3_MISO, SPI6_MISO, TIM16_BKIN, TIM3_CH1, UART7_TX5v tolerantPWM pin; it’s the STM32 JTAG NJTRST pin, so it sits at about 1.65v after reset until you set it as an output.
JDIGITAL 12D66PD13TIM4_CH2, LPTIM1_OUTFMC_A18, I2C4_SDA, LPTIM1_OUT, QUADSPI_BK1_IO3, SAI2_SCK_A, TIM4_CH25v tolerantPWM pin that shares TIM4 channel 2 with D0.
JDIGITAL 13D55PA7ADC12_INP7, OPAMP1_INM, TIM1_CH1N, SPI1_MOSIADC1_INN3, ADC1_INP7, ADC2_INN3, ADC2_INP7, ETH_CRS_DV, ETH_RX_DV, FMC_SDNWE, I2S1_SDO, OPAMP1_VINM, OPAMP1_VINM1, SPI1_MOSI, SPI6_MOSI, TIM14_CH1, TIM1_CH1N, TIM3_CH2, TIM8_CH1N3.3v only (3.6v max)PWM pin and an ADC input; one of the pins that is not 5v tolerant (3.6v max).
JDIGITAL 14D44PJ8TIM1_CH3N, UART8_TXLTDC_G1, TIM1_CH3N, TIM8_CH1, UART8_TX5v tolerantPWM pin (TIM1_CH3N) with no other default role.
JDIGITAL 15D33PA2ADC12_INP14, TIM15_CH1, USART2_TX, WKUP2ADC1_INP14, ADC2_INP14, ETH_MDIO, LPTIM4_OUT, LTDC_R1, MDIOS_MDIO, PWR_WKUP2, SAI2_SCK_B, TIM15_CH1, TIM2_CH3, TIM5_CH3, USART2_TX5v tolerantPWM pin and an ADC input (ADC12_INP14); also a wake-up pin (WKUP2).
JDIGITAL 16D22PA3ADC12_INP15, TIM15_CH2, USART2_RXADC1_INP15, ADC2_INP15, ETH_COL, LPTIM5_OUT, LTDC_B2, LTDC_B5, TIM15_CH2, TIM2_CH4, TIM5_CH4, USART2_RX, USB_OTG_HS_ULPI_D05v tolerantPWM pin and an ADC input (ADC12_INP15).
JDIGITAL 17D11PA9TIM1_CH2, USART1_TX, Serial1 TXDAC1_EXTI9, DCMI_D0, ETH_TX_ER, HRTIM_CHC1, I2C3_SMBA, I2S2_CK, LPUART1_TX, LTDC_R5, SPI2_SCK, TIM1_CH2, USART1_TX, USB_OTG_FS_VBUS5v tolerantSerial1 TX (USART1), silk TX0; also TIM1_CH2 in the STM32.
JDIGITAL 18D00PB7TIM4_CH2, USART1_RX, Serial1 RXDCMI_VSYNC, DFSDM1_CKIN5, FMC_NL, HRTIM_EEV9, I2C1_SDA, I2C4_SDA, LPUART1_RX, PWR_PVD_IN, TIM17_CH1N, TIM4_CH2, USART1_RX5v tolerantSerial1 RX (USART1), silk RX0; shares TIM4 channel 2 with D6.
JDIGITAL 19D1414PG14USART6_TX, Serial4 TX, SPI6_MOSIDEBUG_TRACED1, ETH_TXD1, FMC_A25, LPTIM1_ETR, LTDC_B0, QUADSPI_BK2_IO3, SPI6_MOSI, USART6_TX5v tolerantSerial4 TX (USART6), silk TX3.
JDIGITAL 20D1515PC7TIM3_CH2, TIM8_CH2, USART6_RX, Serial4 RXDCMI_D1, DEBUG_TRGIO, DFSDM1_DATIN3, FMC_NE1, HRTIM_CHA2, I2S3_MCK, LTDC_G6, SDMMC1_D123DIR, SDMMC1_D7, SDMMC2_D7, SWPMI1_TX, TIM3_CH2, TIM8_CH2, USART6_RX5v tolerantSerial4 RX (USART6), silk RX3.
JDIGITAL 21D1616PH13TIM8_CH1N, UART4_TX, Serial3 TX, FDCAN1_TXFDCAN1_TX, FMC_D21, LTDC_G2, TIM8_CH1N, UART4_TX5v tolerantSerial3 TX (UART4), silk TX2.
JDIGITAL 22D1717PI9UART4_RX, Serial3 RX, FDCAN1_RXDAC1_EXTI9, FDCAN1_RX, FMC_D30, LTDC_VSYNC, UART4_RX5v tolerantSerial3 RX (UART4), silk RX2.
JDIGITAL 23D1818PD5USART2_TX, Serial2 TXFMC_NWE, HRTIM_EEV3, USART2_TX5v tolerantSerial2 TX (USART2), silk TX1: not Serial1, unlike the Mega 2560.
JDIGITAL 24D1919PD6USART2_RX, Serial2 RX, SPI3_MOSIDCMI_D10, DFSDM1_CKIN4, DFSDM1_DATIN1, FMC_NWAIT, I2S3_SDO, LTDC_B2, SAI1_D1, SAI1_SD_A, SAI4_D1, SAI4_SD_A, SDMMC2_CK, SPI3_MOSI, USART2_RX5v tolerantSerial2 RX (USART2), silk RX1: not Serial1, unlike the Mega 2560.
JDIGITAL 25D2020PB11TIM2_CH4, USART3_RX, I2C2_SDA, Wire SDAADC1_EXTI11, ADC2_EXTI11, ADC3_EXTI11, DFSDM1_CKIN7, DSIHOST_TE, ETH_TX_EN, HRTIM_SCIN, I2C2_SDA, LPTIM2_ETR, LTDC_G5, TIM2_CH4, USART3_RX, USB_OTG_HS_ULPI_D45v tolerantSDA of Wire (I2C2), the default I2C bus.
JDIGITAL 26D2121PH4ADC3_INP15, I2C2_SCL, Wire SCLADC3_INN14, ADC3_INP15, I2C2_SCL, LTDC_G4, LTDC_G5, USB_OTG_HS_ULPI_NXT5v tolerantSCL of Wire (I2C2), the default I2C bus.

Arduino GIGA R1 WiFi Power & Analog Header Pins

Click to expand the full pin table (27 pins)
PinLabelArduino #STM32 PinMain FunctionsAll Alternate Functions5v TolerantDescription
J1 1OFF––GND = 3.3v off––Pull it to GND to switch off the 3.3v regulator (the board stops); the 5v rail stays live.
J1 2GND–––––Ground.
J1 3VRTC––RTC coin cell––Coin-cell input that keeps the STM32 RTC running when the board is off; it can’t power the board.
JANALOG 1NC–––––Not connected.
JANALOG 2IOREF––3.3v logic––Tells shields the logic level of the board: 3.3v.
JANALOG 3RESET––NRST, active low––STM32 NRST, active LOW; double-tap the RESET button for bootloader mode.
JANALOG 43V3––3.3v out––3.3v output of the MP2322 buck regulator; output only.
JANALOG 55V––5v rail––The 5v rail (from the 5v buck or USB-C); use it to power 5v modules.
JANALOG 6GND–––––Ground.
JANALOG 7GND–––––Ground.
JANALOG 8VIN––6v–24v in––External supply input, 6v to 24v, into the 5v buck converter.
JANALOG 9A076PC4ADC12_INP4, OPAMP1_VOUT, COMP1_INMADC1_INP4, ADC2_INP4, COMP1_INM, DFSDM1_CKIN2, ETH_RXD0, FMC_SDNE0, I2S1_MCK, OPAMP1_VOUT, SPDIFRX1_IN23.3v only (3.6v max)Analog input (ADC12_INP4), also digital pin 76; not 5v tolerant (3.6v max).
JANALOG 10A177PC5ADC12_INP8, OPAMP1_VINM, COMP1_OUTADC1_INN4, ADC1_INP8, ADC2_INN4, ADC2_INP8, COMP1_OUT, DFSDM1_DATIN2, ETH_RXD1, FMC_SDCKE0, OPAMP1_VINM, OPAMP1_VINM0, SAI1_D3, SAI4_D3, SPDIFRX1_IN33.3v only (3.6v max)Analog input (ADC12_INP8), also digital pin 77; not 5v tolerant (3.6v max).
JANALOG 11A278PB0ADC12_INP9, OPAMP1_VINP, TIM1_CH2N, COMP1_INPADC1_INN5, ADC1_INP9, ADC2_INN5, ADC2_INP9, COMP1_INP, DFSDM1_CKOUT, ETH_RXD2, LTDC_G1, LTDC_R3, OPAMP1_VINP, TIM1_CH2N, TIM3_CH3, TIM8_CH2N, UART4_CTS, USB_OTG_HS_ULPI_D15v tolerantAnalog input (ADC12_INP9), also digital pin 78.
JANALOG 12A379PB1ADC12_INP5, TIM1_CH3N, COMP1_INMADC1_INP5, ADC2_INP5, COMP1_INM, DFSDM1_DATIN1, ETH_RXD3, LTDC_G0, LTDC_R6, TIM1_CH3N, TIM3_CH4, TIM8_CH3N, USB_OTG_HS_ULPI_D23.3v only (3.6v max)Analog input (ADC12_INP5), also digital pin 79; not 5v tolerant (3.6v max).
JANALOG 13A480PC3ADC12_INP13, SPI2_MOSIADC1_INN12, ADC1_INP13, ADC2_INN12, ADC2_INP13, DFSDM1_DATIN1, ETH_TX_CLK, FMC_SDCKE0, I2S2_SDO, PWR_CSLEEP, SPI2_MOSI, USB_OTG_HS_ULPI_NXT5v tolerantAnalog input (ADC12_INP13), also digital pin 80.
JANALOG 14A581PC2ADC123_INP12, SPI2_MISOADC1_INN11, ADC1_INP12, ADC2_INN11, ADC2_INP12, ADC3_INN11, ADC3_INP12, DFSDM1_CKIN1, DFSDM1_CKOUT, ETH_TXD2, FMC_SDNE0, I2S2_SDI, PWR_CSTOP, SPI2_MISO, USB_OTG_HS_ULPI_DIR5v tolerantAnalog input (ADC123_INP12), also digital pin 81.
JANALOG 15A682PC0ADC123_INP10ADC1_INP10, ADC2_INP10, ADC3_INP10, DFSDM1_CKIN0, DFSDM1_DATIN4, FMC_SDNWE, LTDC_R5, SAI2_FS_B, USB_OTG_HS_ULPI_STP5v tolerantAnalog input (ADC123_INP10), also digital pin 82.
JANALOG 16A783PA0ADC1_INP16, TIM2_CH1, UART4_TX, JACK MIC, WKUP1ADC1_INP16, ETH_CRS, PWR_WKUP1, SAI2_SD_B, SDMMC2_CMD, TIM15_BKIN, TIM2_CH1, TIM2_ETR, TIM5_CH1, TIM8_ETR, UART4_TX, USART2_CTS, USART2_NSS5v tolerantAnalog input (ADC1_INP16), also digital pin 83; wired to the microphone ring of the audio jack.
JANALOG 17A8–PC2_CADC3_INP0, ANALOG ONLYADC3_INN1, ADC3_INP0, DFSDM1_CKIN1, DFSDM1_CKOUT, ETH_TXD2, FMC_SDNE0, I2S2_SDI, PWR_CSTOP, SPI2_MISO, USB_OTG_HS_ULPI_DIR3.3v only (3.6v max)Analog-only input (ADC3_INP0): no digitalRead(); 3.6v max.
JANALOG 18A9–PC3_CADC3_INP1, ANALOG ONLYADC3_INP1, DFSDM1_DATIN1, ETH_TX_CLK, FMC_SDCKE0, I2S2_SDO, PWR_CSLEEP, SPI2_MOSI, USB_OTG_HS_ULPI_NXT3.3v only (3.6v max)Analog-only input (ADC3_INP1): no digitalRead(); 3.6v max.
JANALOG 19A10–PA1_CADC12_INP1, ANALOG ONLYADC1_INP1, ADC2_INP1, ETH_REF_CLK, ETH_RX_CLK, LPTIM3_OUT, LTDC_R2, QUADSPI_BK1_IO3, SAI2_MCLK_B, TIM15_CH1N, TIM2_CH2, TIM5_CH2, UART4_RX, USART2_DE, USART2_RTS3.3v only (3.6v max)Analog-only input (ADC12_INP1): no digitalRead(); 3.6v max.
JANALOG 20A11–PA0_CADC12_INP0, ANALOG ONLYADC1_INN1, ADC1_INP0, ADC2_INN1, ADC2_INP0, ETH_CRS, PWR_WKUP1, SAI2_SD_B, SDMMC2_CMD, TIM15_BKIN, TIM2_CH1, TIM2_ETR, TIM5_CH1, TIM8_ETR, UART4_TX, USART2_CTS, USART2_NSS3.3v only (3.6v max)Analog-only input (ADC12_INP0): no digitalRead(); 3.6v max.
JANALOG 21DAC084PA4DAC1_OUT1, ADC12_INP18, JACK RIGHTADC1_INP18, ADC2_INP18, DAC1_OUT1, DCMI_HSYNC, I2S1_WS, I2S3_WS, LTDC_VSYNC, SPI1_NSS, SPI3_NSS, SPI6_NSS, TIM5_ETR, USART2_CK, USB_OTG_HS_SOF3.3v only (3.6v max)12-bit DAC output (pin 84, A12), also the right channel of the audio jack; 3.6v max.
JANALOG 22DAC185PA5DAC1_OUT2, ADC12_INP19, TIM8_CH1N, JACK LEFTADC1_INN18, ADC1_INP19, ADC2_INN18, ADC2_INP19, DAC1_OUT2, I2S1_CK, LTDC_R4, PWR_NDSTOP2, SPI1_SCK, SPI6_SCK, TIM2_CH1, TIM2_ETR, TIM8_CH1N, USB_OTG_HS_ULPI_CK3.3v only (3.6v max)12-bit DAC output (pin 85, A13), also the left channel of the audio jack; 3.6v max.
JANALOG 23CANRX93PB5TIM3_CH2, SPI1_MOSI, FDCAN2_RXDCMI_D10, ETH_PPS_OUT, FDCAN2_RX, FMC_SDCKE1, HRTIM_EEV7, I2C1_SMBA, I2C4_SMBA, I2S1_SDO, I2S3_SDO, SPI1_MOSI, SPI3_MOSI, SPI6_MOSI, TIM17_BKIN, TIM3_CH2, UART5_RX, USB_OTG_HS_ULPI_D75v tolerantFDCAN2 RX (pin 93); needs an external CAN transceiver.
JANALOG 24CANTX94PB13TIM1_CH1N, UART5_TX, FDCAN2_TXDFSDM1_CKIN1, ETH_TXD1, FDCAN2_TX, I2S2_CK, LPTIM2_OUT, SPI2_SCK, TIM1_CH1N, UART5_TX, USART3_CTS, USART3_NSS, USB_OTG_HS_ULPI_D6, USB_OTG_HS_VBUS5v tolerantFDCAN2 TX (pin 94); needs an external CAN transceiver.

Arduino GIGA R1 WiFi SPI Header Pins

PinNameSTM32 Pin (Arduino #)Functions5v Tolerant
1CIPOPG9 (89)USART6_RX, SPI1_MISO, SPI CIPO5v tolerant
25V–5v–
3SCKPB3 (91)TIM2_CH2, SPI1_SCK, SPI SCK, JTDO-SWO5v tolerant
4COPIPD7 (90)USART2_CK, SPI1_MOSI, SPI COPI5v tolerant
5RESET–NRST–
6GND–––

Wrap Up

To conclude this guide article, the Arduino GIGA R1 WiFi is a very capable board that puts a dual-core STM32H747 and 76 GPIO pins in the familiar Mega shape. Just remember the board-level gotchas: everything is 3.3v and 11 pins aren’t 5v tolerant, Serial2 is TX1/RX1, SPI is the 6-pin header, Wire1 is shared with the camera and the secure element, D5/D10, D11/D12, and D0/D6 share PWM channels, and analogRead() starts at 10-bit.

I hope you found this guide helpful for you to decide which pins to use for your project. For more boards, check out the Pinouts, Datasheets & Schematic Diagrams Library. Follow this Arduino Series of Tutorials to learn more about Arduino programming.

If you’re just getting started with Arduino, you need to check out the Arduino Getting Started Ultimate Guide below.

Getting Started With Arduino Programming For Beginners

The complete beginner’s guide to Arduino programming: installing the IDE, your first sketch, and the Arduino tutorials series step by step.

Share This Page With Your Network!
Join Our +25,000 Newsletter Subscribers!

Stay Updated With All New Content Releases. You Also Get Occasional FREE Coupon Codes For Courses & Other Stuff!

Photo of author
Author
Embedded systems engineer with several years of experience in embedded software and hardware design. I work as an embedded SW engineer in the Automotive & e-Mobility industry. However, I still do Hardware design and SW development for DSP, Control Systems, Robotics, AI/ML, and other fields I'm passionate about.
I love reading, writing, creating projects, and teaching. A reader by day and a writer by night, it's my lifestyle. I believe that the combination of brilliant minds, bold ideas, and a complete disregard for what is possible, can and will change the world! I will be there when it happens, will you?

Leave a Comment