ESP32

The original ESP32: one or two Xtensa LX6 cores at up to 240 MHz, 2.4 GHz Wi-Fi plus Bluetooth Classic and Bluetooth LE, with an Ethernet MAC, two DACs and an SD/SDIO/MMC host.

802.11 b/g/n · 2.4 GHzBLE 4.2BT Classic

In short

  • Bluetooth Classic and LE. Dual-mode Bluetooth 4.2 controller: BR/EDR (with SCO/eSCO and SBC/CVSD audio codecs) next to Bluetooth LE, plus 2.4 GHz Wi-Fi.1
  • Two LX6 cores with FPU. Up to two Xtensa LX6 cores at 240 MHz; the FPU is single precision, double runs in software.1
  • Ethernet MAC. 10/100 Mbps Ethernet MAC with MII or RMII to an external PHY, hardware PTP (IEEE 1588).1
  • Analog and touch. Two 8-bit DAC outputs, 18 ADC channels and 10 capacitive touch pads.1
  • SD/MMC host and SDIO slave. SD/SDIO/MMC host for up to two cards (1-, 4- or 8-bit bus, up to 80 MHz) and a separate SDIO/SPI slave.1

Overview

ESP32QFN48, 5×5 mm or 6×6 mm (Q6 parts)
CPU122× Xtensa LX6240 MHz · FPU
Low-power core12ULP-FSM
SRAM1520 KB
ROM1448 KB
RTC / LP SRAM116 KB
In package1flash 4 MB · PSRAM 2 MB
Wi-Fi12802.11 b/g/n2.4 GHz
Bluetooth12Bluetooth LE 4.2Classic + LE
34GPIO12
18ADC ch132
10Touch12
2DAC12
3UART12
2I²C12
2I²S12
2SPI1
16PWM ch12
8RMT ch12
2MCPWM42
1TWAI12
8PCNT12
USB OTGUSB Serial/JTAGEthernet12SD/SDIO12LCD/camera12Temp sensor
Block overview. Every number links to its source. Controller counts are as the datasheet gives them; where a chip also has low-power (LP) controllers, the specifications table below says whether they are included.

Within the family

Highlighted: ESP32. Click a bar to open another chip.

GPIO map

  • 0ADC2·1T1
  • 1
  • 2ADC2·2T2
  • 3
  • 4ADC2·0T0
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12ADC2·5T5
  • 13ADC2·4T4
  • 14ADC2·6T6
  • 15ADC2·3T3
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 25ADC2·8
  • 26ADC2·9
  • 27ADC2·7T7
  • 32ADC1·4T9
  • 33ADC1·5T8
  • 34ADC1·6
  • 35ADC1·7
  • 36ADC1·0
  • 37ADC1·1
  • 38ADC1·2
  • 39ADC1·3
GPIO2ADC ADC unit · channel3T touch channel5Strapping6PSRAM6Flash6Input only1
35 GPIOs as ESP-IDF v5.5.5 counts them for ESP32 (SOC_GPIO_VALID_GPIO_MASK). Not every package brings out all of them; see the variants table.

Strapping pins in detail: ESP32 strapping pins and boot modes.

Specifications

Core
ArchitectureXtensa® 32-bit LX6, single- or dual-core1
HP cores2 (ESP32-S0WD: 1)12
Max clock240 MHz (ESP32-S0WD: 160 MHz)1
FPUYes, single precision; double is emulated in software12
Low-power coreULP coprocessor (FSM)12
Memory
SRAM520 KB1
ROM448 KB1
RTC / LP SRAM16 KB (8 KB RTC FAST + 8 KB RTC SLOW)1
Flash in package4 MB (ESP32-U4WDH only)1
PSRAM in package2 MB (ESP32-D0WDRH2-V3; the earlier ESP32-D0WDR2-V3 is EOL)1
External memoryQuad SPI flash and PSRAM; up to 16 MB flash, up to 8 MB external RAM (4 MB mapped at a time)1
Radio
Wi-Fi802.11 b/g/n, 2.4 GHz, up to 150 Mbps12
5 GHz band— No, 2.4 GHz only
Wi-Fi 6— No (802.11 b/g/n)
Bluetooth LEBluetooth LE 4.2 (dual mode with Classic)12
Bluetooth ClassicYes, Bluetooth 4.2 BR/EDR12
IEEE 802.15.4—
GPIO and analog
GPIO34 GPIOs (6 of them input-only)12
ADC2 × 12-bit SAR ADC, 18 channels (ADC1: 8, ADC2: 10)132
DAC2 × 8-bit (GPIO25, GPIO26)12
Touch10 channels12
Temperature sensor—
Interfaces
UART312
I²C212
I²S212
SPI2 general-purpose (SPI2/HSPI, SPI3/VSPI); 4 SPI controllers in total, SPI0 is used for external memory1
LED PWM16 channels (8 high-speed + 8 low-speed)12
MCPWM2 MCPWM units42
RMT8 channels, each usable for TX or RX12
TWAI (CAN)1 (CAN 2.0)12
Pulse counter8 units12
USB OTG—
USB Serial/JTAG—
SD / SDIOSD/SDIO/eMMC host (2 slots) and SDIO/SPI slave12
Ethernet MACYes, 10/100 Mbps MAC (MII/RMII), external PHY required12
LCD / cameraParallel LCD output and camera input through the I2S peripherals12
Security and package
SecuritySecure boot, flash encryption, 1024-bit OTP (up to 768 bits for customers), AES, SHA-2, RSA, RNG12
PackageQFN48, 5×5 mm or 6×6 mm (Q6 parts)1
Supply2.3–3.6 V (3.0–3.6 V for chips with in-package flash or PSRAM)1

Variants

Part numberFlashPSRAMTemperature
ESP32-D0WD-V3——–40…125 °C1
ESP32-D0WDRH2-V3—2 MB–40…85 °CSuccessor of ESP32-D0WDR2-V3; listed in the datasheet notes, not as a row of Table 1-1.1
ESP32-U4WDH4 MB—–40…85 °C1
ESP32-D0WDR2-V3—2 MBThe datasheet does not state the temperature range of this part.1
ESP32-D0WDQ6-V3——–40…125 °CNRND1
ESP32-D0WD——–40…125 °CNRND1
ESP32-D0WDQ6——–40…125 °CNRND1
ESP32-S0WD——–40…125 °CNRND1

Pitfalls

ADC2 and Wi-Fi

Wi-Fi uses SAR ADC2; while it does, ADC2 pins cannot be read. With Wi-Fi on, use ADC1 pins instead. In ESP-IDF, adc_oneshot_read() can return ESP_ERR_TIMEOUT in this case.4

GPIO12 sets the flash voltage

GPIO12 (MTDI) is sampled at reset: high selects the internal 1.8 V LDO for VDD_SDIO, which powers flash and PSRAM. An external pull-up on GPIO12 therefore puts a 3.3 V flash on a 1.8 V supply, unless the eFuse EFUSE_SDIO_FORCE overrides the pin.1

GPIO6–11 belong to flash

GPIO6–11 are the SPI flash bus (and GPIO16–17 often go to PSRAM on modules). They should not be used for anything else.6

GPIO34–39 are input-only

No output driver and no internal pull-up or pull-down: an input that needs a defined idle level requires an external resistor.1

GPIO36/GPIO39 interrupts

ESP-IDF advises against GPIO36 and GPIO39 interrupts when the ADC or Wi-Fi/Bluetooth with sleep mode is used; the reason is described in the ESP32 errata (ECO and Workarounds for Bugs).6

Chip revisions differ

NRND parts without -V3 are chip revision v1.x; -V3 parts are v3.x. Some behaviour depends on it, e.g. the TWAI minimum bit rate and the eFuse that disables Download Boot mode.1

Where the sources disagree

Boards with the ESP32

Sources

Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.

  1. ESP32 Series Datasheet v5.3 primary
    What it confirms (59)
    • ESP32: Architecture “single-/dual-core 32-bit LX6 microprocessor(s)”
    • ESP32: HP cores “ESP32-D0WD-V3 Dual core … ESP32-S0WD (NRND) Single core”
    • ESP32: Max clock “clock frequency of up to 240 MHz (160 MHz for ESP32-S0WD (NRND))”
    • ESP32: FPU “Support for Floating Point Unit … Even though ESP32 has a single precision hardware floating point unit … Avoid using double precision floating point arithmetic double. These calculations are emulated in software”
    • ESP32: Low-power core “Ultra-Low-Power (ULP) coprocessors”
    • ESP32: SRAM “520 KB SRAM”
    • ESP32: ROM “448 KB ROM”
    • ESP32: RTC / LP SRAM “16 KB SRAM in RTC … 8 KB of SRAM in RTC, which is called RTC FAST Memory … 8 KB of SRAM in RTC, which is called RTC SLOW Memory”
    • ESP32: Flash in package “ESP32-U4WDH Dual core3 v3.0/v3.14 4 MB flash … ESP32-U4WDH In-Package Flash (4 MB)”
    • ESP32: PSRAM in package “ESP32-D0WDRH2-V3 In-Package PSRAM (2 MB) … ESP32-D0WDR2-V3 is end of life and upgraded to ESP32-D0WDRH2-V3”
    • ESP32: Wi-Fi “802.11b/g/n … 802.11n (2.4 GHz), up to 150 Mbps”
    • ESP32: 5 GHz band “802.11n (2.4 GHz), up to 150 Mbps”
    • ESP32: Wi-Fi 6 “802.11b/g/n”
    • ESP32: Bluetooth LE “Compliant with Bluetooth v4.2 BR/EDR and Bluetooth LE specifications”
    • ESP32: Bluetooth Classic “Bluetooth 4.2 BR/EDR and Bluetooth LE dual mode controller”
    • ESP32: GPIO “34 programmable GPIOs … Six input-only GPIOs”
    • ESP32: ADC “ESP32 integrates two 12-bit SAR ADCs and supports measurements on 18 channels”
    • ESP32: Touch “10 touch sensors”
    • ESP32: DAC “Two 8-bit DAC … The DAC can be configured by GPIO 25 and GPIO 26.”
    • ESP32: UART “Three UART interfaces”
    • ESP32: I²C “Two I2C interfaces”
    • ESP32: I²S “Two I2S interfaces”
    • ESP32: SPI “ESP32 integrates four SPI controllers … Controller SPI0 is used as a buffer for accessing external memory. … Controllers SPI2 and SPI3 can be configured as either a master or a slave.”
    • ESP32: LED PWM “LED PWM up to 16 channels … controller contains eight high-speed and eight low-speed channels”
    • ESP32: RMT “Eight channels for sending and receiving infrared remote control signals … Independent transmission and reception capabilities for each channel”
    • ESP32: TWAI (CAN) “compatible with ISO 11898-1 (CAN Specification 2.0)”
    • ESP32: Pulse counter “Eight independent pulse counter units”
    • ESP32: Ethernet MAC “Ethernet MAC interface with dedicated DMA and IEEE 1588 support … ESP32 requires an external physical interface device (PHY) … 10 Mbps and 100 Mbps rates”
    • ESP32: SD / SDIO “One host (SD/eMMC/SDIO) … One slave (SDIO/SPI) … Supports two external cards”
    • ESP32: LCD / camera “parallel LCD data output; parallel … camera data input.”
    • ESP32: Bluetooth Classic and LE “Bluetooth 4.2 BR/EDR and Bluetooth LE dual mode controller … Synchronous Connection-Oriented/Extended (SCO/eSCO) … CVSD and SBC for audio codec”
    • ESP32: Two LX6 cores with FPU “7-stage pipeline to support the clock frequency of up to 240 MHz … Even though ESP32 has a single precision hardware floating point unit”
    • ESP32: Ethernet MAC “The PHY is connected to ESP32 through 17 signals of MII or nine signals of RMII. … 10 Mbps and 100 Mbps rates … Hardware PTP (Precision Time Protocol) in accordance with IEEE 1588 2008 (PTP V2)”
    • ESP32: Analog and touch “Two 8-bit DAC … 12-bit SAR ADC up to 18 channels … 10 touch sensors”
    • ESP32: SD/MMC host and SDIO slave “Supports two external cards … The controller allows up to 80 MHz clock output in three different data-bus modes: 1-bit, 4-bit, and 8-bit … One slave (SDIO/SPI)”
    • ESP32: UART0 pins “U0RXD 40 I/O GPIO3, U0RXD, … U0TXD 41 I/O GPIO1, U0TXD,”
    • ESP32: Input only pins “GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- … Input-only GPIOs 34-39 do not.”
    • ESP32: DAC pins “The DAC can be configured by GPIO 25 and GPIO 26. … DAC_1 GPIO25 … DAC_2 GPIO26”
    • ESP32: 32 kHz XTAL pins “GPIO32, ADC1_CH4, RTC_GPIO9, TOUCH9, 32K_XP (32.768 kHz crystal oscillator input) … GPIO33, ADC1_CH5, RTC_GPIO8, TOUCH8, 32K_XN (32.768 kHz crystal oscillator output)”
    • ESP32: External memory “ESP32 supports multiple external QSPI flash and external RAM (SRAM) chips … Up to 16 MB of external flash can be mapped into CPU instruction memory space and read-only memory … SRAM up to 8 MB is supported and up to 4 MB can be mapped at a time”
    • ESP32: Security “Secure boot … Flash encryption … 1024-bit OTP, up to 768-bit for customers … Hash (SHA-2) … Random Number Generator (RNG)”
    • ESP32: Package “QFN48 (6×6 mm) Package … QFN48 (5×5 mm) Package”
    • ESP32: Supply “The operating voltage of ESP32 ranges from 2.3 V to 3.6 V. … Chips with a 3.3 V flash or PSRAM in-package: this minimum voltage is 3.0 V;”
    • ESP32: variant ESP32-D0WD-V3 “ESP32-D0WD-V3 Dual core v3.0/v3.14 — QFN 5*5 … For other chips that have no in-package flash or PSRAM, their operating temperature is –40 °C ~ 125 °C.”
    • ESP32: variant ESP32-D0WDRH2-V3 “ESP32-D0WDRH2-V3 In-Package PSRAM (2 MB) … The operating temperature of ESP32-U4WDH and ESP32-D0WDRH2-V3 ranges from –40 °C to 85 °C”
    • ESP32: variant ESP32-U4WDH “ESP32-U4WDH Dual core3 v3.0/v3.14 4 MB flash … ESP32-U4WDH will be produced as dual-core instead of single core. … The operating temperature of ESP32-U4WDH and ESP32-D0WDRH2-V3 ranges from –40 °C to 85 °C”
    • ESP32: variant ESP32-D0WDR2-V3 “ESP32-D0WDR2-V3 (EOL) … Dual core v3.0/v3.14 2 MB PSRAM … ESP32-D0WDR2-V3 is end of life and upgraded to ESP32-D0WDRH2-V3”
    • ESP32: variant ESP32-D0WDQ6-V3 “ESP32-D0WDQ6-V3 (NRND) Dual core v3.0/v3.14 — QFN 6*6 … For other chips that have no in-package flash or PSRAM, their operating temperature is –40 °C ~ 125 °C.”
    • ESP32: variant ESP32-D0WD “ESP32-D0WD (NRND) Dual core v1.0/v1.15 — QFN 5*5 … For other chips that have no in-package flash or PSRAM, their operating temperature is –40 °C ~ 125 °C.”
    • ESP32: variant ESP32-D0WDQ6 “ESP32-D0WDQ6 (NRND) Dual core v1.0/v1.15 — QFN 6*6 … For other chips that have no in-package flash or PSRAM, their operating temperature is –40 °C ~ 125 °C.”
    • ESP32: variant ESP32-S0WD “ESP32-S0WD (NRND) Single core v1.0/v1.15 — QFN 5*5 … For other chips that have no in-package flash or PSRAM, their operating temperature is –40 °C ~ 125 °C.”
    • ESP32: GPIO12 sets the flash voltage “MTDI = 1, VDD_SDIO pin is powered from internal 1.8 V LDO. … PSRAM and flash both are powered by VDD_SDIO. … This functionality can be overridden by setting EFUSE_SDIO_FORCE to 1”
    • ESP32: GPIO34–39 are input-only “GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- … Input-only GPIOs 34-39 do not.”
    • ESP32: Chip revisions differ “ESP32-D0WD (NRND) Dual core v1.0/v1.15 … ESP32-D0WD-V3 Dual core v3.0/v3.14 … From 25 Kbit/s to 1 Mbit/s in chip revision v0.0/v1.0/v1.1 … From 12.5 Kbit/s to 1 Mbit/s in chip revision v3.0/v3.1 … valid only for ESP32 chip revisions v3.0 and higher”
    • ESP32: discrepancy (spi) “ESP32 integrates four SPI controllers”
    • ESP32: discrepancy (spi) “Controllers SPI2 and SPI3 can be configured as either a master or a slave.”
    • ESP32: discrepancy (ledc) “LED PWM up to 16 channels”
    • ESP32: discrepancy (ledc duty resolution) “Maximum PWM duty cycle resolution of 20 bits”
    • ESP32: discrepancy (ledc duty resolution) “Duty accuracy: 16 bits.”
  2. ESP-IDF v5.5.5: components/soc/esp32/include/soc/soc_caps.h primary
    What it confirms (27)
    • ESP32: HP cores “#define SOC_CPU_CORES_NUM 2”
    • ESP32: FPU “#define SOC_CPU_HAS_FPU 1”
    • ESP32: Low-power core “#define SOC_ULP_FSM_SUPPORTED 1”
    • ESP32: Wi-Fi “#define SOC_WIFI_SUPPORTED 1”
    • ESP32: Bluetooth LE “#define SOC_BLE_SUPPORTED (1)”
    • ESP32: Bluetooth Classic “#define SOC_BT_CLASSIC_SUPPORTED (1)”
    • ESP32: GPIO “0~39 valid except 24, 28~31”
    • ESP32: ADC “SOC_ADC_CHANNEL_NUM(PERIPH_NUM) ((PERIPH_NUM==0)? 8: 10)”
    • ESP32: Touch “#define SOC_TOUCH_SENSOR_NUM (10)”
    • ESP32: DAC “#define SOC_DAC_CHAN_NUM 2”
    • ESP32: UART “#define SOC_UART_NUM (3)”
    • ESP32: I²C “#define SOC_I2C_NUM (2U)”
    • ESP32: I²S “#define SOC_I2S_NUM (2U)”
    • ESP32: LED PWM “#define SOC_LEDC_SUPPORT_HS_MODE (1) … #define SOC_LEDC_CHANNEL_NUM (8)”
    • ESP32: RMT “#define SOC_RMT_CHANNELS_PER_GROUP 8”
    • ESP32: MCPWM “#define SOC_MCPWM_GROUPS (2)”
    • ESP32: TWAI (CAN) “#define SOC_TWAI_CONTROLLER_NUM 1U”
    • ESP32: Pulse counter “#define SOC_PCNT_UNITS_PER_GROUP (8)”
    • ESP32: Ethernet MAC “#define SOC_EMAC_SUPPORTED 1”
    • ESP32: SD / SDIO “#define SOC_SDMMC_HOST_SUPPORTED 1 … #define SOC_SDIO_SLAVE_SUPPORTED 1”
    • ESP32: LCD / camera “#define SOC_I2S_SUPPORTS_LCD_CAMERA (1) … #define SOC_LCD_I80_BUSES (2)”
    • ESP32: valid GPIOs “#define SOC_GPIO_VALID_GPIO_MASK (0xFFFFFFFFFFULL & ~(0ULL | BIT24 | BIT28 | BIT29 | BIT30 | BIT31)) … #define SOC_GPIO_PIN_COUNT 40”
    • ESP32: Security “#define SOC_SECURE_BOOT_SUPPORTED 1 … #define SOC_FLASH_ENC_SUPPORTED 1”
    • ESP32: discrepancy (spi) “#define SOC_SPI_PERIPH_NUM 3”
    • ESP32: discrepancy (ledc) “#define SOC_LEDC_CHANNEL_NUM (8)”
    • ESP32: discrepancy (ledc) “#define SOC_LEDC_SUPPORT_HS_MODE (1)”
    • ESP32: discrepancy (ledc duty resolution) “#define SOC_LEDC_TIMER_BIT_WIDTH (20)”
  3. ESP-IDF v5.5.5: components/soc/esp32/include/soc/adc_channel.h primary
    What it confirms (2)
    • ESP32: ADC “#define ADC1_CHANNEL_7_GPIO_NUM 35 … #define ADC2_CHANNEL_9_GPIO_NUM 26”
    • ESP32: ADC channel per GPIO “#define ADC1_GPIO36_CHANNEL 0 … #define ADC1_GPIO37_CHANNEL 1 … #define ADC1_GPIO38_CHANNEL 2 … …”
  4. ESP32 Technical Reference Manual v5.9 primary
    What it confirms (3)
    • ESP32: MCPWM “ESP32 contains two MCPWM peripherals: MCPWM0 and MCPWM1.”
    • ESP32: ADC2 and Wi-Fi “If Wi-Fi module is using the SAR ADC2, users can not measure the analog signal from the pins using SAR ADC2. … ADC2 pins cannot be used when Wi-Fi is used. … you may consider using an ADC1 GPIO instead … This function may fail when the ADC is in use by other drivers/peripherals, and return ESP_ERR_TIMEOUT.”
    • ESP32: discrepancy (ledc) “controller contains eight high-speed and eight low-speed channels”
  5. ESP-IDF v5.5.5: components/soc/esp32/include/soc/touch_sensor_channel.h primary
    What it confirms (1)
    • ESP32: touch channel per GPIO “#define TOUCH_PAD_GPIO4_CHANNEL 0 … #define TOUCH_PAD_GPIO0_CHANNEL 1 … #define TOUCH_PAD_GPIO2_CHANNEL 2 … …”
  6. ESP-IDF v5.5.5 Programming Guide (ESP32): GPIO & RTC GPIO primary
    What it confirms (6)
    • ESP32: Strapping pins “Strapping pin: GPIO0, GPIO2, GPIO5, GPIO12 (MTDI), and GPIO15 (MTDO) are strapping pins.”
    • ESP32: Flash pins “GPIO6-11 and GPIO16-17 are usually connected to the SPI flash and PSRAM integrated on the module … SD_CLK 31 I/O GPIO6, … SD_DATA_0 32 I/O GPIO7, … SD_DATA_1 33 I/O GPIO8, … SD_DATA_2 28 I/O GPIO9, … SD_DATA_3 29 I/O GPIO10, … SD_CMD 30 I/O GPIO11,”
    • ESP32: PSRAM pins “GPIO6-11 and GPIO16-17 are usually connected to the SPI flash and PSRAM integrated on the module … GPIO16 CE#”
    • ESP32: JTAG pins “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,”
    • ESP32: GPIO6–11 belong to flash “GPIO6-11 and GPIO16-17 are usually connected to the SPI flash and PSRAM integrated on the module and therefore should not be used for other purposes.”
    • ESP32: GPIO36/GPIO39 interrupts “Please do not use the interrupt of GPIO36 and GPIO39 when using ADC or Wi-Fi and Bluetooth with sleep mode enabled. … Please refer to ESP32 ECO and Workarounds for Bugs > Section 3.11”