Pin planner
Choose a board, tick the pins you want to use and what for. The planner flags strapping pins, pins taken by flash or PSRAM, USB and console pins, input-only pins, pins without an ADC channel, and ADC2 pins that stop working for analogRead() while Wi-Fi is on.
| Use | Pin | As | Channels | Notes |
|---|
The pin roles come from the board and chip pages (each with its sources); the strapping and boot-time rules are listed below.
Sources
Strapping pins and boot-time rules used by the planner. Checked 2026-11-28.
- ESP8684 (ESP32-C2) Series Datasheet v2.3 primary
What it confirms (6)
- esp32-c2: pin 8 “Strapping pin: GPIO8 and GPIO9 … Strapping pin: GPIO8 … GPIO8 N/A - … EFUSE_UART_PRINT_CONTROL and GPIO8 control ROM messages printing to UART0 … Enabled 1 0 … Disabled 2 0 … 3 Ignored”
- esp32-c2: pin 9 “Strapping pin: GPIO8 and GPIO9 … GPIO9 Internal weak pull-up 1 … SPI boot mode 1 x2 … Joint download boot mode 3 0 1”
- esp32-c2: rule jtag_default “9 GPIO4 MTMS … 10 GPIO5 MTDI … 12 GPIO6 MTCK … 13 GPIO7 MTDO”
- esp32-c2: rule uart0_default “19 GPIO19 U0RXD … 20 GPIO20 U0TXD”
- esp32-c2: rule other “20 U0TXD IO VDD3P3_CPU OE, WPU IO MUX … EFUSE_UART_PRINT_CONTROL and GPIO8 control ROM messages printing to UART0”
- esp32-c2: rule other “Upon power-on reset, the ROM bootloader assumes a default crystal frequency of 40 MHz and sets the UART … baud rate to 115200 bps accordingly. … If a 26 MHz crystal is connected instead, the actual UART baud rate will be approximately 74880 bps.”
- ESP8684 (ESP32-C2) Technical Reference Manual v1.3 primary
What it confirms (4)
- esp32-c2: pin 8 “GPIO8 N/A … SPI Download Boot mode3 0 0 0 1 … Invalid Combination4 0 0 x 0”
- esp32-c2: pin 9 “By default, GPIO9 is connected to the chip’s internal pull-up resistor. … GPIO9 Pull-up”
- esp32-c2: rule jtag_default “4 MTMS MTMS GPIO4 … 5 MTDI MTDI GPIO5 … 6 MTCK MTCK GPIO6 … 7 MTDO MTDO GPIO7”
- esp32-c2: rule other “20 U0TXD U0TXD GPIO20 - - 2 4 … 4 - OE = 1, WPU = 1 (output enabled, pull-up resistor enabled)”
- arduino-esp32 3.3.12: variants/esp32c2/pins_arduino.h primary
What it confirms (1)
- esp32-c2: rule uart0_default “static const uint8_t TX = 20; … static const uint8_t RX = 19;”
- ESP8684-MINI-1 & MINI-1U Datasheet v1.1 primary
What it confirms (1)
- esp32-c2: rule [0, 1, 3, 5] “IO0, IO1, IO3, IO5/MTDI pins have low-level glitches during chip power up.”
- ESP32-C3 Series Datasheet v2.5 primary
What it confirms (10)
- esp32-c3: pin 2 “Strapping pins: GPIO2, GPIO8, and GPIO9 … GPIO2 Floating – … GPIO2 actually does not determine SPI Boot and Joint Down- … load Boot mode, but it is recommended to pull this pin up due … to glitches.”
- esp32-c3: pin 8 “Strapping pins: GPIO2, GPIO8, and GPIO9 … Strapping pin: GPIO8 … GPIO8 Floating – … EFUSE_UART_PRINT_CONTROL and GPIO8 control ROM messages printing to UART0”
- esp32-c3: pin 9 “Strapping pins: GPIO2, GPIO8, and GPIO9 … GPIO9 Weak pull-up 1 … SPI boot mode 1 Any value 1 … Joint download boot mode 3 1 1 0”
- esp32-c3: rule adc2_wifi “ADC2 supports measurements on 1 channel, and is not factory-calibrated. … ADC2 of some chip revisions is not operable.”
- esp32-c3: rule usb_default “25 GPIO18 USB_D- … 26 GPIO19 USB_D+ … USB_D+/- – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these”
- esp32-c3: rule jtag_default “GPIO4 MTMS I1 GPIO4 … GPIO5 MTDI I1 GPIO5 … GPIO6 MTCK I1 GPIO6 … GPIO7 MTDO O/T GPIO7 … To free these pins up, the pin functions USB_D+/- of the ESP32-C3 Technical Reference Manual”
- esp32-c3: rule uart0_default “GPIO20 U0RXD I1 GPIO20 … GPIO21 U0TXD O GPIO21”
- esp32-c3: rule glitch_at_boot “Some pins have glitches during power-up. See details in Table 2-2. … Typical Time Period(ns) … MTCK Low-level glitch 5 … MTDO Low-level glitch 5 … GPIO10 Low-level glitch 5 … U0RXD Low-level glitch 5 … GPIO18 High-level glitch 50000 … GPIO6 MTCK I1 GPIO6 … GPIO7 MTDO O/T GPIO7 … GPIO20 U0RXD I1 GPIO20”
- esp32-c3: rule other “28 U0TXD IO VDD3P3_CPU WPU 7 IO MUX … 7. Output enabled … (Default) UART0 and USB Serial/JTAG controller”
- esp32-c3: rule other “26 GPIO19 IO VDD3P3_CPU USB_PU IO MUX … When the USB function is disabled, USB pins are used as regular GPIOs and the pin’s internal weak pull-up and … pull-down resistors are disabled by default”
- ESP32-C3 Technical Reference Manual v1.4 primary
What it confirms (2)
- esp32-c3: pin 2 “SPI Download Boot mode3 0 0 0 1 … Invalid Combination4 0 0 x 0 … GPIO2 N/A”
- esp32-c3: pin 8 “ROM code is always printed to UART0 during boot. The … 0 Print is enabled during boot. … 1 Print is disabled during boot. … Print is always disabled during boot. The value of GPIO8 is … 01: Enabled when GPIO8 is low at reset. 10: Enabled when GPIO8 is high at reset. 11: Disabled.”
- esptool documentation (latest, ESP32-C3): Boot Mode Selection primary
What it confirms (1)
- esp32-c3: pin 9 “The ESP32-C3 will enter the serial bootloader when GPIO9 is held low on reset. Otherwise it will run the program in flash. … GPIO9 has an internal pullup resistor, so if it is left unconnected then it will pull high.”
- ESP-IDF v5.5.5 Programming Guide (ESP32-C3): ADC Oneshot Mode Driver primary
What it confirms (1)
- esp32-c3: rule adc2_wifi “ADC2 oneshot mode is no longer supported, due to hardware limitations. The results are not stable. This issue can be found in ESP32-C3 Series SoC Errata. For compatibility, you can enable CONFIG_ADC_ONESHOT_FORCE_USE_ADC2_ON_C3 to force use ADC2.”
- ESP-IDF v5.5.5 Programming Guide (ESP32-C3): GPIO & RTC GPIO primary
What it confirms (2)
- esp32-c3: rule usb_default “USB-JTAG: GPIO18 and GPIO19 are used by USB-JTAG by default. If they are reconfigured to operate as normal GPIOs, USB-JTAG functionality will be disabled.”
- esp32-c3: rule jtag_default “USB-JTAG: GPIO18 and GPIO19 are used by USB-JTAG by default.”
- arduino-esp32 3.3.12: variants/esp32c3/pins_arduino.h primary
What it confirms (1)
- esp32-c3: rule uart0_default “static const uint8_t TX = 21; … static const uint8_t RX = 20;”
- ESP32-C5 Series Datasheet v1.5 primary
What it confirms (13)
- esp32-c5: pin 2 “GPIO2, GPIO3, GPIO7, GPIO25, GPIO26, GPIO27, GPIO28 : Strapping pins. … MTMS Floating”
- esp32-c5: pin 3 “Strapping pin: GPIO25 and MTDI … MTDI Floating … Falling edge sampling, falling edge output 0 0 … Falling edge sampling, rising edge output 0 1 … GPIO25 and MTDI are floating by default, so above are not default configurations.”
- esp32-c5: pin 7 “GPIO7 Floating … The strapping pin GPIO7 can be used to control the source of JTAG signals during the early boot process. … In Joint Download Boot 1 mode, the USB Serial/JTAG controller is forcibly disabled, and the JTAG signal only comes from JTAG pins.”
- esp32-c5: pin 25 “GPIO25 Floating … Falling edge sampling, falling edge output 0 0 … Rising edge sampling, falling edge output 1 0”
- esp32-c5: pin 26 “GPIO26 Floating … Joint download boot mode 13 0 0 0 … Joint download boot mode 02 Any value 1 0 … Joint Download Boot 1 mode supports the following download methods”
- esp32-c5: pin 27 “GPIO27 Pull-up 1 … Joint download boot mode 02 Any value 1 0 … Joint download boot mode 13 0 0 0 … EFUSE_UART_PRINT_CONTROL and GPIO27 control ROM messages printing to UART0 … ROM messages are always printed to UART0 during boot 0 (0b00) x4 … Print is enabled during boot 0 1 (0b01) Print is disabled during boot 1 … Print is disabled during boot 0 2 (0b10) Print is enabled during boot 1 … Print is disabled during boot 3 (0b11) x”
- esp32-c5: pin 28 “GPIO28 Pull-up 1 … SPI boot mode1 Any value Any value 11 … Joint download boot mode 02 Any value 1 0”
- esp32-c5: rule [13, 14] “GPIO13, GPIO14 : USB Serial/JTAG interface. … By default, the USB function is enabled for USB pins (i.e., GPIO13 and GPIO14)”
- esp32-c5: rule [2, 3, 4, 5] “GPIO2, GPIO3, GPIO4, GPIO5 : JTAG interface. … 11 GPIO2 MTMS I1 … 14 GPIO5 MTDO O/T”
- esp32-c5: rule [11, 12] “GPIO11, GPIO12 : UART0 interface. … 20 GPIO11 U0TXD O … 21 GPIO12 U0RXD I1”
- esp32-c5: rule [7] “This pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit that cannot be in a high impedance state.”
- esp32-c5: rule [13, 14] “When the USB function is disabled, USB pins are used as regular GPIOs. In this case, the internal weak pull-up and pull-down resistors of the USB pins are disabled by default, but are configurable”
- esp32-c5: rule [19] “29 GPIO19 VDD_SPI … VDD_SPI – the power supply pin for flash by default, and can only be used as a GPIO pin if the flash is powered by an external power supply.”
- ESP32-C5 Technical Reference Manual v1.1 primary
What it confirms (5)
- esp32-c5: pin 2 “Bit[1]: MTMS”
- esp32-c5: pin 25 “Bit[6]: GPIO25”
- esp32-c5: pin 26 “Joint Download Boot 13 0 0 0”
- esp32-c5: pin 27 “Bit[3]: GPIO27”
- esp32-c5: rule [7] “This pin does not have internal pull-up or pull-down resistors”
- ESP-IDF v5.5.5 docs (esp32c5): Configure Other JTAG Interfaces primary
What it confirms (3)
- esp32-c5: pin 3 “MTDI / GPIO3”
- esp32-c5: pin 7 “If the strapping pin is low when ESP32-C5 is reset, JTAG interface will use GPIO2-GPIO5. If the strapping pin is high, USB_SERIAL_JTAG will be used as the JTAG interface.”
- esp32-c5: rule [2, 3, 4, 5] “By default, ESP32-C5 JTAG interface is connected to the built-in USB_SERIAL_JTAG peripheral. … JTAG interface can then be connected to GPIO2-GPIO5.”
- esptool docs (latest), ESP32-C5: Boot Mode Selection primary
What it confirms (1)
- esp32-c5: pin 28 “The ESP32-C5 will enter the serial bootloader when GPIO28 is held low on reset.”
- ESP-IDF v5.5.5 docs (esp32c5): USB Serial/JTAG Controller Console primary
What it confirms (1)
- esp32-c5: rule [13, 14] “14 | D+ (green) | 13 | D- (white)”
- ESP-IDF v5.5.5: components/soc/esp32c5/include/soc/uart_pins.h primary
What it confirms (1)
- esp32-c5: rule [11, 12] “#define U0RXD_GPIO_NUM 12 … #define U0TXD_GPIO_NUM 11”
- ESP32-C6 Series Datasheet v1.6 primary
What it confirms (11)
- esp32-c6: pin 4 “SDIO Sampling and Driving Clock Edge … Strapping pin: MTMS and MTDI … MTMS Floating … Falling edge sampling, falling edge output 0 0 … Rising edge sampling, falling edge output 1 0 … GPIO4, GPIO5, GPIO8, GPIO9, GPIO15 : Strapping pins.”
- esp32-c6: pin 5 “MTDI Floating … Falling edge sampling, falling edge output 0 0 … Falling edge sampling, rising edge output 0 1 … MTMS and MTDI are floating by default, so above are not default configurations.”
- esp32-c6: pin 8 “GPIO8 Floating … SPI boot mode Any value 1 … Joint download boot mode 2 1 0 … Invalid combination 3 0 0 … EFUSE_UART_PRINT_CONTROL and GPIO8 control ROM messages printing to UART0 … UART0 ROM Code Printing EFUSE_UART_PRINT_CONTROL GPIO8 0 Ignored Enabled 1 0 2 1 1 1 Disabled 2 0 3 Ignored”
- esp32-c6: pin 9 “GPIO9 Weak pull-up 1 … SPI boot mode Any value 1 … Joint download boot mode 2 1 0 … USB-Serial-JTAG Download Boot … UART Download Boot … SDIO Download Boot”
- esp32-c6: pin 15 “GPIO15 Floating … The strapping pin GPIO15 can be used to control the source of JTAG signals during the early boot process. … 0 0 0 Ignored USB Serial/JTAG Controller 0 0 1 1 … 0 0 1 0 JTAG pins 2 … JTAG pins refer to MTDI, MTCK, MTMS, and MTDO.”
- esp32-c6: rule [12, 13] “GPIO12, GPIO13 : USB Serial/JTAG interface. … USB_D+/- – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these pins need to be reconfigured.”
- esp32-c6: rule [4, 5, 6, 7] “GPIO4, GPIO5, GPIO6, GPIO7 : JTAG interface. … 0 0 0 Ignored USB Serial/JTAG Controller”
- esp32-c6: rule [16, 17] “GPIO16, GPIO17 : UART0 interface. … 29 U0TXD U0TXD (P1) … 30 U0RXD U0RXD (P1)”
- esp32-c6: rule [15] “This pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit that cannot be in a high impedance state.”
- esp32-c6: rule [27] “GPIO27 : The VDD_SPI pin. The power supply pin for off-package flash by default, and can only be reconfigured as a GPIO pin if the flash is powered by an external power supply.”
- esp32-c6: rule [24, 25, 26, 28, 29, 30] “GPIO24, GPIO25, GPIO26, GPIO28, GPIO29, GPIO30 : SPI0/1 interface recommended for the off-package flash.”
- ESP-IDF v5.5.5 docs (esp32c6): Configure Other JTAG Interfaces primary
What it confirms (4)
- esp32-c6: pin 4 “MTMS / GPIO4”
- esp32-c6: pin 5 “MTDI / GPIO5”
- esp32-c6: pin 15 “If the strapping pin is low when ESP32-C6 is reset, JTAG interface will use GPIO4-GPIO7. If the strapping pin is high, USB_SERIAL_JTAG will be used as the JTAG interface.”
- esp32-c6: rule [4, 5, 6, 7] “MTMS / GPIO4 … MTDO / GPIO7 … JTAG interface can then be connected to GPIO4-GPIO7.”
- esptool docs (latest), ESP32-C6: Boot Mode Selection primary
What it confirms (2)
- esp32-c6: pin 8 “In normal boot mode (GPIO9 high), GPIO8 is ignored.”
- esp32-c6: pin 9 “The ESP32-C6 will enter the serial bootloader when GPIO9 is held low on reset.”
- ESP-IDF v5.5.5 docs (esp32c6): USB Serial/JTAG Controller Console primary
What it confirms (1)
- esp32-c6: rule [12, 13] “13 | D+ (green) | 12 | D- (white)”
- ESP-IDF v5.5.5: components/soc/esp32c6/include/soc/uart_pins.h primary
What it confirms (1)
- esp32-c6: rule [16, 17] “#define U0RXD_GPIO_NUM 17 … #define U0TXD_GPIO_NUM 16”
- ESP32-C61 Series Datasheet v1.1 primary
What it confirms (10)
- esp32-c61: pin 3 “Strapping pin: MTDI and MTMS … MTMS Floating … Falling edge sampling, falling edge output 0 0 … Rising edge sampling, falling edge output 1 0 … 9 MTMS MTMS I1 GPIO3”
- esp32-c61: pin 4 “MTDI Floating … Falling edge sampling, falling edge output 0 0 … Falling edge sampling, rising edge output 0 1 … 10 MTDI MTDI I1 GPIO4 … MTMS and MTDI are floating by default, so above are not default configurations.”
- esp32-c61: pin 7 “GPIO7 Floating … The strapping pin GPIO7 can be used to control the source of JTAG signals during the early boot process.”
- esp32-c61: pin 8 “GPIO8 Floating … SPI Boot 1 Any value 1 … Joint Download Boot2 1 0 … LP_AON_STORE4_REG[0], EFUSE_UART_PRINT_CONTROL and GPIO8 control ROM messages printing to UART0 … Always enabled2 0 Ignored Enabled 0 1 Disabled 1 0 Disabled 0 2 Enabled 1 Always disabled 3 Ignored Disabled Ignored Ignored 1”
- esp32-c61: pin 9 “GPIO9 Pull-up 1 … SPI Boot 1 Any value 1 … Joint Download Boot2 1 0 … SDIO Slave 2.0 Download Boot”
- esp32-c61: rule [12, 13] “28 USB_D- GPIO12 I/O/T GPIO12 … 29 USB_D+ GPIO13 I/O/T GPIO13 … USB_D+/- – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these pins need to be reconfigured.”
- esp32-c61: rule [3, 4, 5, 6] “9 MTMS MTMS I1 GPIO3 … 10 MTDI MTDI I1 GPIO4 … 11 MTCK MTCK I1 GPIO5 … 12 MTDO MTDO O/T GPIO6”
- esp32-c61: rule [10, 11] “33 U0RXD U0RXD I1 GPIO10 … 34 U0TXD U0TXD O GPIO11”
- esp32-c61: rule [7] “This pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit that cannot be in a high impedance state.”
- esp32-c61: rule [12, 13] “When the USB function is disabled, USB pins are used as regular GPIOs and the pin's internal weak pull-up and pull-down resistors are disabled by default”
- ESP-IDF v5.5.5 docs (esp32c61): Configure Other JTAG Interfaces primary
What it confirms (4)
- esp32-c61: pin 3 “MTMS / GPIO3”
- esp32-c61: pin 4 “MTDI / GPIO4”
- esp32-c61: pin 7 “If the strapping pin is low when ESP32-C61 is reset, JTAG interface will use GPIO3-GPIO6. If the strapping pin is high, USB_SERIAL_JTAG will be used as the JTAG interface.”
- esp32-c61: rule [3, 4, 5, 6] “By default, ESP32-C61 JTAG interface is connected to the built-in USB_SERIAL_JTAG peripheral. … JTAG interface can then be connected to GPIO3-GPIO6.”
- esptool docs (latest), ESP32-C61: Boot Mode Selection primary
What it confirms (1)
- esp32-c61: pin 8 “In normal boot mode (GPIO9 high), GPIO8 is ignored.”
- ESP32-C61 Technical Reference Manual v1.0 primary
What it confirms (2)
- esp32-c61: pin 9 “By default, GPIO9 is connected to the chip's internal pull-up resistor.”
- esp32-c61: rule [7] “pin does not have any internal pull resistors”
- ESP-IDF v5.5.5 docs (esp32c61): USB Serial/JTAG Controller Console primary
What it confirms (1)
- esp32-c61: rule [12, 13] “13 | D+ (green) | 12 | D- (white)”
- ESP-IDF v5.5.5: components/soc/esp32c61/include/soc/uart_pins.h primary
What it confirms (1)
- esp32-c61: rule [10, 11] “#define U0RXD_GPIO_NUM 10 … #define U0TXD_GPIO_NUM 11”
- ESP32-H2 Series Datasheet v1.3 primary
What it confirms (8)
- esp32-h2: pin 8 “GPIO8 Floating … SPI Boot Any value 1 … Joint Download Boot 2 1 0 … EFUSE_UART_PRINT_CONTROL, LP_AON_STORE4_REG[0], and GPIO8 control ROM messages printing to UART0 … GPIO8 0 Ignored Enabled 0 1 0 2 1 1 1 0 2 0 Disabled 3 Ignored 1 Ignored Ignored”
- esp32-h2: pin 9 “GPIO9 Weak pull-up 1 … SPI Boot Any value 1 … Joint Download Boot 2 1 0 … USB-Serial-JTAG Download Boot … UART Download Boot”
- esp32-h2: pin 25 “GPIO25 Floating … The strapping pin GPIO25 can be used to control the source of JTAG signals during the early boot process. … USB Serial/JTAG Controller 0 Ignored JTAG pins 2 0 0 0 1 USB Serial/JTAG Controller 1 … JTAG pins refer to MTDI, MTCK, MTMS, and MTDO.”
- esp32-h2: rule [26, 27] “25 GPIO26 USB_D- … 26 GPIO27 USB_D+ … USB_D+/- – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these pins need to be reconfigured.”
- esp32-h2: rule [2, 3, 4, 5] “5 GPIO2 MTMS I1 … 6 GPIO3 MTDO O/T … 7 GPIO4 MTCK I1 … 8 GPIO5 MTDI I1”
- esp32-h2: rule [23, 24] “22 GPIO23 U0RXD I1 … 23 GPIO24 U0TXD O”
- esp32-h2: rule [25] “This pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit that cannot be in a high impedance state.”
- esp32-h2: rule [26, 27] “When the USB function is disabled, USB pins are used as regular GPIOs and the pin's internal weak pull-up and pull-down resistors are disabled by default”
- esptool docs (latest), ESP32-H2: Boot Mode Selection primary
What it confirms (2)
- esp32-h2: pin 8 “In normal boot mode (GPIO9 high), GPIO8 is ignored.”
- esp32-h2: pin 9 “The ESP32-H2 will enter the serial bootloader when GPIO9 is held low on reset.”
- ESP-IDF v5.5.5 docs (esp32h2): Configure Other JTAG Interfaces primary
What it confirms (2)
- esp32-h2: pin 25 “If the strapping pin is low when ESP32-H2 is reset, JTAG interface will use GPIO2-GPIO5. If the strapping pin is high, USB_SERIAL_JTAG will be used as the JTAG interface.”
- esp32-h2: rule [2, 3, 4, 5] “By default, ESP32-H2 JTAG interface is connected to the built-in USB_SERIAL_JTAG peripheral. … JTAG interface can then be connected to GPIO2-GPIO5.”
- ESP-IDF v5.5.5 docs (esp32h2): USB Serial/JTAG Controller Console primary
What it confirms (1)
- esp32-h2: rule [26, 27] “27 | D+ (green) | 26 | D- (white)”
- ESP-IDF v5.5.5: components/soc/esp32h2/include/soc/uart_pins.h primary
What it confirms (1)
- esp32-h2: rule [23, 24] “#define U0RXD_GPIO_NUM 23 … #define U0TXD_GPIO_NUM 24”
- ESP32-P4 Series Datasheet v0.7 primary
What it confirms (9)
- esp32-p4: pin 34 “GPIO34 Floating … The strapping pin GPIO34 can be used to control the source of JTAG signals during the early boot process. … 0 0 0 Ignored USB Serial/JTAG Controller 0 0 1 1 … 0 0 1 0 JTAG pins 2 … JTAG pins refer to MTDI, MTCK, MTMS, and MTDO.”
- esp32-p4: pin 35 “GPIO35 Weak pull-up 1 … SPI boot mode 1 Any value Any value Any value … joint download boot mode 2 0 1 Any value Any value”
- esp32-p4: pin 36 “GPIO36 Floating … joint download boot mode 2 0 1 Any value Any value … EFUSE_UART_PRINT_CONTROL and GPIO36 control ROM messages printing to UART0 … GPIO36 0 Ignored Enabled 1 0 2 1 1 1 Disabled 2 0 3 Ignored”
- esp32-p4: pin 37 “GPIO37 Floating”
- esp32-p4: pin 38 “GPIO38 Floating”
- esp32-p4: rule [24, 25] “GPIO24, GPIO25 : USB Serial/JTAG interface. … 52 GPIO24 USB1P1_N0 … 53 GPIO25 USB1P1_P0 … USB1P1_N0/P0 – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these pins need to be reconfigured”
- esp32-p4: rule [2, 3, 4, 5] “GPIO2, GPIO3, GPIO4, GPIO5 : JTAG interface. … 2 GPIO2 MTCK I1 … 3 GPIO3 MTDI I1 … 4 GPIO4 MTMS I0 … 5 GPIO5 MTDO O/T … 0 0 0 Ignored USB Serial/JTAG Controller”
- esp32-p4: rule [37, 38] “GPIO37, GPIO38 : UART0 interface. … 69 GPIO37 UART0_TXD_PAD O … 70 GPIO38 UART0_RXD_PAD I1”
- esp32-p4: rule [34] “This pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit that cannot be in a high impedance state.”
- ESP-IDF v5.5.5 docs (esp32p4): Configure Other JTAG Interfaces primary
What it confirms (2)
- esp32-p4: pin 34 “If the strapping pin is low when ESP32-P4 is reset, JTAG interface will use GPIO2-GPIO5. If the strapping pin is high, USB_SERIAL_JTAG will be used as the JTAG interface.”
- esp32-p4: rule [2, 3, 4, 5] “MTCK / GPIO2 … MTMS / GPIO4 … JTAG interface can then be connected to GPIO2-GPIO5.”
- ESP32-P4 Technical Reference Manual v1.0 primary
What it confirms (4)
- esp32-p4: pin 35 “GPIO35 Pull-up … SPI Boot mode (default) 1 x1 x x”
- esp32-p4: pin 36 “0 x2 Always enabled 0 Enabled 1 1 Disabled 0 Disabled 2 1 Enabled 3 x Always disabled”
- esp32-p4: pin 37 “GPIO37 Floating … SPI Download Boot mode3 0 0 0 1 … 0 0 1 x Invalid Combination4 0 0 0 0 … GPIO37 and GPIO38 need to be reserved only when using SPI Download Boot mode. GPIO37 and GPIO38 are floating by default and are in a high-impedance state at reset.”
- esp32-p4: pin 38 “GPIO38 Floating … SPI Download Boot mode3 0 0 0 1 … Invalid Combination4 0 0 0 0 … GPIO37 and GPIO38 are floating by default and are in a high-impedance state at reset.”
- ESP-IDF v5.5.5 docs (esp32p4): USB Serial/JTAG Controller Console primary
What it confirms (1)
- esp32-p4: rule [24, 25] “25/27 | D+ (green) | 24/26 | D- (white)”
- ESP-IDF v5.5.5: components/soc/esp32p4/include/soc/uart_pins.h primary
What it confirms (1)
- esp32-p4: rule [37, 38] “#define U0RXD_GPIO_NUM 38 … #define U0TXD_GPIO_NUM 37”
- ESP32-S2 Series Datasheet v1.9 primary
What it confirms (8)
- esp32-s2: pin 0 “Strapping pins: GPIO0 and GPIO46 … GPIO0 Weak pull-up 1 … SPI boot mode 1 Any value … Joint download boot mode 2 0 0”
- esp32-s2: pin 45 “Strapping pin: GPIO45 … GPIO45 Weak pull-down 0”
- esp32-s2: pin 46 “Strapping pins: GPIO0 and GPIO46 … ROM message printing … Strapping pin: GPIO46 … GPIO46 Weak pull-down 0 … Enabled 1 0 … 2 1 … Disabled 2 0 … 3 Ignored”
- esp32-s2: rule input_only “Except for GPIO46 (input only)”
- esp32-s2: rule usb_default “25 RTC_GPIO19 USB_D- ADC2_CH8 … 26 RTC_GPIO20 USB_D+ ADC2_CH9 … USB_D+/- – by default, connected to the USB OTG. To function as GPIOs, these pins need to be”
- esp32-s2: rule jtag_default “43 GPIO39 MTCK I1 … 44 GPIO40 MTDO O/T … 46 GPIO41 MTDI I1 … 47 GPIO42 MTMS I0 … GPIO39, GPIO40, GPIO41, GPIO42 : JTAG interface.”
- esp32-s2: rule uart0_default “48 GPIO43 U0TXD O … 49 GPIO44 U0RXD I1 … GPIO43, GPIO44 : UART0 interface.”
- esp32-s2: rule other “During the boot process, the messages by the ROM code can be printed to: … (Default) UART0”
- ESP32-S2 Technical Reference Manual v1.3 primary
What it confirms (4)
- esp32-s2: pin 0 “GPIO0 GPIO45 GPIO46 … Default Pull-up Pull-down Pull-down”
- esp32-s2: pin 45 “GPIO45 = 0, VDD_SPI pin is powered directly from VDD3P3_RTC_IO via resistor RSP I . Typically this … GPIO45 = 1, VDD_SPI pin is powered from internal 1.8 V LDO. … This functionality can be overridden by setting EFUSE_VDD_SPI_FORCE to 1, in which case the”
- esp32-s2: pin 46 “UART ROM Code Printing EFUSE_UART_PRINT_CONTROL GPIO46 … EFUSE_UART_PRINT_CONTROL and GPIO46 control ROM messages printing to UART.”
- esp32-s2: rule adc2_wifi “SAR ADC2 can be controlled by three controllers, namely RTC ADC2 CTRL, DIG ADC2 CTRL, and … The value returned by a conversion that is interrupted or not started will be invalid.”
- ESP-IDF v5.5.5 Programming Guide (ESP32-S2): ADC Oneshot Mode Driver primary
What it confirms (1)
- esp32-s2: rule adc2_wifi “ADC2 is also used by Wi-Fi. adc_oneshot_read() has provided protection between the Wi-Fi driver and ADC oneshot mode driver. … This function may fail when the ADC is in use by other drivers/peripherals, and return ESP_ERR_TIMEOUT.”
- ESP-IDF v5.5.5 Programming Guide (ESP32-S2): GPIO & RTC GPIO primary
What it confirms (3)
- esp32-s2: rule input_only “GPI: GPIO46 is fixed to pull-down and is input only.”
- esp32-s2: rule jtag_default “JTAG: GPIO39-42 are usually used for inline debug.”
- esp32-s2: rule no_pullups “GPI: GPIO46 is fixed to pull-down and is input only.”
- arduino-esp32 3.3.12: variants/esp32s2/pins_arduino.h primary
What it confirms (1)
- esp32-s2: rule uart0_default “static const uint8_t TX = 43; … static const uint8_t RX = 44;”
- ESP32-S3 Series Datasheet v2.2 primary
What it confirms (11)
- esp32-s3: pin 0 “Strapping pin: GPIO0 and GPIO46 … GPIO0 Weak pull-up 1 … SPI boot mode 1 Any value … Joint download boot mode 2 0 0”
- esp32-s3: pin 3 “Strapping pin: GPIO3 … GPIO3 Floating – … This … pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit … that cannot be in a high impedance state. … 0 0 0 Ignored … USB Serieal/JTAG Controller 0 0 1 1 … 0 0 1 0 … The default values of all the above eFuse parameters are 0”
- esp32-s3: pin 45 “Strapping pin: GPIO45 … GPIO45 Weak pull-down 0”
- esp32-s3: pin 46 “Strapping pin: GPIO0 and GPIO46 … ROM message printing … Strapping pin: GPIO46 … GPIO46 Weak pull-down 0”
- esp32-s3: rule adc2_wifi “analog functions (see Table 2-8 Analog Functions) cannot be used with Wi-Fi simul-”
- esp32-s3: rule usb_default “25 RTC_GPIO19 USB_D- ADC2_CH8 … 26 RTC_GPIO20 USB_D+ ADC2_CH9 … USB_D+/- – by default, connected to the USB Serial/JTAG Controller. To function as GPIOs, these”
- esp32-s3: rule jtag_default “0 0 0 Ignored … USB Serieal/JTAG Controller 0 0 1 1 … 0 0 1 0 … 0 1 Ignored Ignored … The default values of all the above eFuse parameters are 0 … 44 GPIO39 MTCK I1 … 45 GPIO40 MTDO O/T … 47 GPIO41 MTDI I1 … 48 GPIO42 MTMS I1 … GPIO39, GPIO40, GPIO41, GPIO42 : JTAG interface.”
- esp32-s3: rule uart0_default “49 GPIO43 U0TXD O … 50 GPIO44 U0RXD I1 … GPIO43, GPIO44 : UART0 interface.”
- esp32-s3: rule no_pullups “pin does not have any internal pull resistors and the strapping value must be controlled by the external circuit … that cannot be in a high impedance state.”
- esp32-s3: rule glitch_at_boot “Some pins have glitches during power-up. See details in Table 2-2. … GPIO1 Low-level glitch 60 … GPIO3 Low-level glitch 60 … GPIO14 Low-level glitch 60 … XTAL_32K_P Low-level glitch 60 … XTAL_32K_N Low-level glitch 60 … GPIO17 Low-level glitch 60 … Low-level glitch 60 GPIO18 High-level glitch 60 … Low-level glitch 60 GPIO19 High-level glitch2 60 … Pull-down glitch 60 GPIO20 High-level glitch2 60 … GPIO19 and GPIO20 pins both have two high-level glitches during chip power-up, each … lasting for about 60 µs. … 1 Low-level glitch: the pin is at a low level output status during the time period; … 21 RTC_GPIO15 XTAL_32K_P ADC2_CH4 … 22 RTC_GPIO16 XTAL_32K_N ADC2_CH5”
- esp32-s3: rule other “(Default) UART0 and USB Serial/JTAG controller”
- ESP32-S3 Technical Reference Manual v1.8 primary
What it confirms (6)
- esp32-s3: pin 0 “GPIO0 Pull-up … SPI Boot mode 1 Ignored Ignored Ignored”
- esp32-s3: pin 3 “GPIO3 controls the source of JTAG signals during the early boot process. … GPIO3 N/A … JTAG pins MTDI, MTCK, MTMS, and MTDO”
- esp32-s3: pin 45 “GPIO45 = 0, VDD_SPI pin is powered directly from VDD3P3_RTC via resistor RSP I . Typically this voltage … GPIO45 = 1, VDD_SPI pin is powered from internal 1.8 V LDO. … This functionality can be overridden by setting eFuse bit EFUSE_VDD_SPI_FORCE to 1, in which case the”
- esp32-s3: pin 46 “EFUSE_UART_PRINT_CONTROL Represents the default UART boot message output mode. 00: Enabled. 01: Enabled when GPIO46 is low at reset. 10: Enabled when GPIO46 is high at reset. 11:”
- esp32-s3: rule jtag_default “JTAG pins MTDI, MTCK, MTMS, and MTDO … a Bold marks the default value and configuration”
- esp32-s3: rule other “During the boot process, ROM messages are printed to both UART0 and USB Serial/JTAG controller by default.”
- ESP-IDF v5.5.5 Programming Guide (ESP32-S3): ADC Oneshot Mode Driver primary
What it confirms (1)
- esp32-s3: rule adc2_wifi “ADC2 is also used by Wi-Fi. adc_oneshot_read() has provided protection between the Wi-Fi driver and ADC oneshot mode driver. … This function may fail when the ADC is in use by other drivers/peripherals, and return ESP_ERR_TIMEOUT.”
- ESP-IDF v5.5.5 Programming Guide (ESP32-S3): GPIO & RTC GPIO primary
What it confirms (1)
- esp32-s3: rule usb_default “USB-JTAG: GPIO19 and GPIO20 are used by USB-JTAG by default. If they are reconfigured to operate as normal GPIOs, USB-JTAG functionality will be disabled.”
- arduino-esp32 3.3.12: variants/esp32s3/pins_arduino.h primary
What it confirms (1)
- esp32-s3: rule uart0_default “static const uint8_t TX = 43; … static const uint8_t RX = 44;”
- ESP32 Series Datasheet v5.3 primary
What it confirms (7)
- esp32: pin 0 “Strapping pin: GPIO0 and GPIO2 … GPIO0 Pull-up 1 … SPI Boot Mode 1 Any value … Joint Download Boot Mode 2 0 0”
- esp32: pin 2 “Strapping pin: GPIO0 and GPIO2 … GPIO2 Pull-down 0”
- esp32: pin 5 “Strapping pin: MTDO and GPIO5 … GPIO5 Pull-up 1 … Falling edge sampling, falling edge output 0 0 … Falling edge sampling, rising edge output 0 1 … Rising edge sampling, falling edge output 1 0 … Rising edge sampling, rising edge output 1 1”
- esp32: pin 12 “Strapping pin: MTDI … MTDI Pull-down 0 … MTDI = 0 (by default), VDD_SDIO pin is powered directly from VDD3P3_RTC. Typically this voltage is 3.3 … MTDI = 1, VDD_SDIO pin is powered from internal 1.8 V LDO. … This functionality can be overridden by setting EFUSE_SDIO_FORCE to 1, in which case the EFUSE_SDIO_TIEH … determines the VDD_SDIO voltage:”
- esp32: pin 15 “Strapping pin: MTDO … MTDO Pull-up 1 … During booting, the strapping pin MTDO can be used to control the U0TXD Printing … Rising edge sampling, falling edge output 1 0 … Falling edge sampling, falling edge output 0 0”
- esp32: rule input_only “GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull-”
- esp32: rule uart0_default “U0RXD 40 I/O GPIO3, U0RXD, … U0TXD 41 I/O GPIO1, U0TXD,”
- esptool documentation (latest, ESP32): Boot Mode Selection primary
What it confirms (4)
- esp32: pin 0 “The ESP32 will enter the serial bootloader when GPIO0 is held low on reset. Otherwise it will run the program in flash. … GPIO0 has an internal pullup resistor, so if it is left unconnected then it will pull high.”
- esp32: pin 2 “GPIO2 must also be either left unconnected/floating, or driven Low, in order to enter the serial bootloader. … In normal boot mode (GPIO0 high), GPIO2 is ignored.”
- esp32: pin 15 “If driven Low, silences boot messages printed by the ROM bootloader. Has an internal pull-up, so unconnected = High = normal output.”
- esp32: rule other “After reset, the second line printed by the ESP32 ROM (at 115200bps) is a reset & boot mode message: … If driven Low, silences boot messages printed by the ROM bootloader.”
- ESP32 Technical Reference Manual v5.9 primary
What it confirms (2)
- esp32: pin 5 “By default, the GPIO5 strapping value determines the Slave’s output driving edge.”
- esp32: rule other “Some of the SAR ADC2 pins are used as strapping pins (GPIO0, GPIO2, and GPIO15), thus can not be used”
- ESP-IDF v5.5.5 Programming Guide (ESP32): GPIO & RTC GPIO primary
What it confirms (5)
- esp32: pin 12 “GPIO12 (MTDI)”
- esp32: rule adc2_wifi “ADC2 pins cannot be used when Wi-Fi is used. … you may consider using an ADC1 GPIO instead”
- esp32: rule input_only “GPI: GPIO34-39 can only be set as input mode and do not have software-enabled pullup or pulldown functions.”
- esp32: rule jtag_default “JTAG: GPIO12-15 are usually used for inline debug. … MTMS 17 I/O GPIO14, … MTDI 18 I/O GPIO12, … MTCK 20 I/O GPIO13, … MTDO 21 I/O GPIO15, … If EFUSE_DISABLE_JTAG is set to 1, the source of JTAG signals can be disabled.”
- esp32: rule no_pullups “GPI: GPIO34-39 can only be set as input mode and do not have software-enabled pullup or pulldown functions.”
- ESP-IDF v5.5.5 Programming Guide (ESP32): ADC Oneshot Mode Driver primary
What it confirms (1)
- esp32: rule adc2_wifi “ADC2 is also used by Wi-Fi. … This function may fail when the ADC is in use by other drivers/peripherals, and return ESP_ERR_TIMEOUT.”
- arduino-esp32 3.3.12: variants/esp32/pins_arduino.h primary
What it confirms (1)
- esp32: rule uart0_default “static const uint8_t TX = 1; … static const uint8_t RX = 3;”