Home / ESP32-S3 / GPIO20

ESP32-S3 GPIO20

Everything you need to use this pin correctly: status, alternate functions, boot-time cautions and working code.

StatusUsable
Alternate functionsUSB D+ (USB Serial/JTAG)
ChipESP32-S3 pinout
Watch out:
  • Native USB pin. Using it as ordinary IO disables USB download and debugging.

Practical notes

Native USB D+ (USB Serial/JTAG), paired with GPIO19 and equally unavailable as GPIO. If you must reclaim it, switch to UART0 (GPIO43/44) for flashing and accept losing USB.

Sample code

// Arduino
const int PIN = 20;

void setup() {
  pinMode(PIN, OUTPUT);
}

void loop() {
  digitalWrite(PIN, HIGH);
  delay(500);
  digitalWrite(PIN, LOW);
  delay(500);
}
Data verified:2026-10-20 · Cross-checked against Espressif documentation. Always confirm against the official datasheet before finalizing a design. Official docs →

Related