Skip to content
esp-labsESP32-S3 bench guide

Which pin can do what

Pins and power

45 GPIOs, each with several jobs. Our labs have wired 24 of them.

Official ESP32-S3 DevKitC-1 v1.1 pinout diagram showing all 44 header pins, GPIO numbers, ADC channels, strapping pins, and power rails.
ESP32-S3-DevKitC-1 v1.1 pin layout reference (verify against the silkscreen printed on your board).

Pick a pin

Bar under a number: used in our labs. Corner triangle: a pin hazard. Dashed: not on the header.

Pick a pin to see its functions, its strapping role and the hazards that apply to it.

Pin functions

Emphasised rows are pins our labs used; a triangle marks a pin hazard.

Each GPIO and the kinds of function it can take
Each GPIO and the kinds of function it can take
ItemADCTouchRTCUARTSPIUSBJTAGClockStrappingWatch outHighlighted
GPIO0RTC_GPIO0 / sar_i2c_scl_0GPIO0YesYes
GPIO1ADC1_CH0TOUCH1RTC_GPIO1 / sar_i2c_sda_0
GPIO2ADC1_CH1TOUCH2RTC_GPIO2 / sar_i2c_scl_1
GPIO3ADC1_CH2TOUCH3RTC_GPIO3 / sar_i2c_sda_1GPIO3Yes
GPIO4ADC1_CH3TOUCH4RTC_GPIO4Yes
GPIO5ADC1_CH4TOUCH5RTC_GPIO5Yes
GPIO6ADC1_CH5TOUCH6RTC_GPIO6Yes
GPIO7ADC1_CH6TOUCH7RTC_GPIO7Yes
GPIO8ADC1_CH7TOUCH8RTC_GPIO8SUBSPICS1Yes
GPIO9ADC1_CH8TOUCH9RTC_GPIO9SUBSPIHD / FSPIHDYes
GPIO10ADC1_CH9TOUCH10RTC_GPIO10FSPIIO4 / SUBSPICS0 / FSPICS0Yes
GPIO11ADC2_CH0TOUCH11RTC_GPIO11FSPIIO5 / SUBSPID / FSPIDYes
GPIO12ADC2_CH1TOUCH12RTC_GPIO12FSPIIO6 / SUBSPICLK / FSPICLKYes
GPIO13ADC2_CH2TOUCH13RTC_GPIO13FSPIIO7 / SUBSPIQ / FSPIQYes
GPIO14ADC2_CH3TOUCH14RTC_GPIO14FSPIDQS / SUBSPIWP / FSPIWPYes
GPIO15ADC2_CH4RTC_GPIO15U0RTSXTAL_32K_PYes
GPIO16ADC2_CH5RTC_GPIO16U0CTSXTAL_32K_NYes
GPIO17ADC2_CH6RTC_GPIO17U1TXDYes
GPIO18ADC2_CH7RTC_GPIO18U1RXDCLK_OUT3Yes
GPIO19ADC2_CH8RTC_GPIO19U1RTSUSB_D-CLK_OUT2Yes
GPIO20ADC2_CH9RTC_GPIO20U1CTSUSB_D+CLK_OUT1Yes
GPIO21RTC_GPIO21Yes
GPIO26SPICS1
GPIO27SPIHD
GPIO28SPIWP
GPIO29SPICS0
GPIO30SPICLK
GPIO31SPIQ
GPIO32SPID
GPIO33FSPIHD / SUBSPIHD / SPIIO4
GPIO34FSPICS0 / SUBSPICS0 / SPIIO5
GPIO35FSPID / SUBSPID / SPIIO6Yes
GPIO36FSPICLK / SUBSPICLK / SPIIO7Yes
GPIO37FSPIQ / SUBSPIQ / SPIDQSYes
GPIO38FSPIWP / SUBSPIWPYesYes
GPIO39SUBSPICS1MTCKCLK_OUT3YesYes
GPIO40MTDOCLK_OUT2YesYes
GPIO41MTDICLK_OUT1YesYes
GPIO42MTMSYesYes
GPIO43U0TXDCLK_OUT1Yes
GPIO44U0RXDCLK_OUT2Yes
GPIO45GPIO45Yes
GPIO46GPIO46Yes
GPIO47SPICLK_P_DIFF / SUBSPICLK_P_DIFFYesYes
GPIO48SPICLK_N_DIFF / SUBSPICLK_N_DIFFYesYes

Strapping pins

These pins are read the instant the chip leaves reset. Whatever you wire to them must not pull them the wrong way at power-up.

  • GPIO0Boot mode: high runs your firmware, low (with GPIO46 low) enters download mode
  • GPIO3JTAG source, read only when the eFuses ask for it
  • GPIO45Flash voltage (VDD_SPI): low gives 3.3 V, high gives 1.8 V
  • GPIO46Boot mode (with GPIO0) and the ROM boot messages

Pins that bite

A few pins have a job before your code runs, or belong to something else. The rest of the rules hold for every pin.

View all 17 ESP32-S3 hardware gotchas

Specific pins

Four pins are read at reset

GPIO0, GPIO3, GPIO45 and GPIO46 are sampled the moment the chip comes out of reset: they pick the boot mode, the flash voltage, the ROM log and the JTAG source. Anything wired to them must not pull them the wrong way at power-up. After reset they are normal pins again.

GPIO3 has no pull resistor at reset

GPIO0 has a weak pull-up and GPIO45/46 weak pull-downs, but GPIO3 floats. When the eFuses make it choose the JTAG source, an outside circuit has to hold it at a clear level.

GPIO26-32 belong to the flash

These seven pins carry the SPI bus to the flash and PSRAM inside the module. Espressif says not to use them for anything else, and the DevKitC header does not even bring them out.

GPIO35-37 are taken on octal-PSRAM modules

On R8 and R16V modules (8 or 16 MB of octal PSRAM, like the N16R8 on this bench) GPIO35, 36 and 37 talk to the PSRAM. They are on the header, but they are not yours.

GPIO47 and 48 run at 1.8 V on R16V modules

Modules with the ESP32-S3R16V chip set the flash voltage to 1.8 V, and GPIO47/48 share that supply. A 3.3 V part on those pins sees the wrong levels.

GPIO19 and 20 are the USB wires

By default GPIO19 (D-) and GPIO20 (D+) belong to the built-in USB Serial/JTAG port. Turning them into plain GPIOs cuts that USB port off.

GPIO43 and 44 carry the boot log

TX 43 and RX 44 are UART0. The ROM prints its boot messages there, and on the DevKitC they go to the USB-to-UART bridge behind the COM port. Wire something else to them and you lose the serial monitor, and the device sees the boot messages.

GPIO39-42 can be JTAG

MTCK, MTDO, MTDI and MTMS sit on GPIO39-42. They are free by default, since JTAG goes over USB, but an external debugger needs them.

The RGB LED is on GPIO38 or GPIO48

The DevKitC-1 v1.1 guide puts the addressable RGB LED on GPIO38; many boards wire it to GPIO48. If the LED stays dark, try the other pin.

Whole chip

ADC2 stops working while Wi-Fi is on

The ADC2 channels (GPIO11-20) cannot be used at the same time as Wi-Fi: the radio shares ADC2 through an arbiter. Put analog sensors on ADC1 (GPIO1-10), as the sound labs do with GPIO6.

The pins are not 5 V tolerant

A high input may go up to the pin's supply plus 0.3 V, so about 3.6 V on a 3.3 V board, and the power pins are rated to 3.6 V at most. 5 V from a sensor or an Arduino can damage the chip: use a level shifter or a divider.

Some pins blip low at power-up

GPIO1-20 output a short low level (about 60 µs) while the chip powers up, and GPIO18-20 also blip high. Do not drive a relay or a motor driver straight from them without a pull resistor.

GPIO17 and 18 count drive strength differently

On most pins drive level 1 means about 10 mA and 2 about 20 mA. On GPIO17 and 18 the two are swapped, so their default (level 2) gives about 10 mA, not 20.

Only GPIO0-21 can wake the chip from deep sleep

In deep sleep only the RTC domain stays on, so only the RTC GPIOs (0-21) can wake the chip. A button on GPIO38 will not.

The radio needs the PLL clock

Wi-Fi and Bluetooth LE only work while the CPU clock comes from the PLL. Running the CPU from the crystal or the RC oscillator to save power stops the radio.

eFuses can only be burned once

An eFuse bit set to 1 never goes back to 0. Burning the wrong flash-voltage or JTAG fuse is permanent, so read twice before you burn.

Touch has not passed the conducted-noise test

Espressif notes that the touch sensor has not passed the Conducted Susceptibility test, so noisy power or long cables can trigger false touches. Fine on a bench, think twice in a product.