ESP32-H2
Single-core 96 MHz RISC-V chip with Bluetooth LE and IEEE 802.15.4 (Thread, Zigbee) radio, 2 or 4 MB in-package flash, and no Wi-Fi.
In short
- Bluetooth LE + 802.15.4 radio. Bluetooth LE (5.3 certified, Mesh, Coded PHY) and IEEE 802.15.4 with Thread 1.4, Zigbee 3.0 and Matter support listed in the datasheet.1
- Flash inside the package. Both part numbers carry 2 or 4 MB of Quad SPI flash in the QFN32 package; the flash pins are not routed out.1
- Low sleep current. Typical 7 µA in Deep-sleep with the RTC timer and LP memory powered, 1 µA with CHIP_EN low.1
- 105 °C rating. Both variants are rated for –40…105 °C ambient.1
Overview
Within the family
Highlighted: ESP32-H2. Click a bar to open another chip.
GPIO map
- 0
- 1ADC1·0
- 2ADC1·1
- 3ADC1·2
- 4ADC1·3
- 5ADC1·4
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
SOC_GPIO_VALID_GPIO_MASK). Not every package brings out all of them; see the variants table.- Strapping: GPIO 8, 9, 25. GPIO8 and GPIO9 select the boot mode (GPIO8 also gates ROM messages on UART0); GPIO25 selects the JTAG source when EFUSE_JTAG_SEL_ENABLE is burnt.
- USB: GPIO 26, 27. GPIO26 = USB D-, GPIO27 = USB D+ (USB Serial/JTAG).
- JTAG: GPIO 2, 3, 4, 5. GPIO2 = MTMS, GPIO3 = MTDO, GPIO4 = MTCK, GPIO5 = MTDI.1
- UART0: GPIO 24, 23. GPIO24 = U0TXD, GPIO23 = U0RXD.1
- 32 kHz XTAL: GPIO 13, 14. GPIO13 = XTAL_32K_P, GPIO14 = XTAL_32K_N.1
Strapping pins in detail: ESP32-H2 strapping pins and boot modes.
Specifications
| Core | |
|---|---|
| Architecture | 32-bit RISC-V (RV32IMAC)1 |
| HP cores | 112 |
| Max clock | 96 MHz1 |
| FPU | — No (RV32IMAC, no F extension) |
| Low-power core | — |
| Memory | |
| SRAM | 320 KB1 |
| ROM | 128 KB1 |
| RTC / LP SRAM | 4 KB (kept in Deep-sleep)1 |
| Flash in package | 2 or 4 MB (Quad SPI)1 |
| PSRAM in package | — |
| External memory | Off-package flash up to 16 MB (SPI, Dual SPI, Quad SPI, QPI); no PSRAM1 |
| Radio | |
| Wi-Fi | — |
| 5 GHz band | — |
| Wi-Fi 6 | — |
| Bluetooth LE | Bluetooth LE (Bluetooth 5.3 certified), Mesh, Coded PHY, 2 Mbps12 |
| Bluetooth Classic | — |
| IEEE 802.15.4 | IEEE 802.15.4-2015; Thread 1.4, Zigbee 3.0, Matter12 |
| GPIO and analog | |
| GPIO | 19 (numbered GPIO0–GPIO27 with gaps)1 |
| ADC | 1 × 12-bit SAR ADC, 5 channels (GPIO1–GPIO5)12 |
| DAC | — |
| Touch | — |
| Temperature sensor | Yes (–40…125 °C range)12 |
| Interfaces | |
| UART | 2 (UART0, UART1; no LP UART)12 |
| I²C | 212 |
| I²S | 112 |
| SPI | 1 general-purpose (SPI2); SPI0/SPI1 are reserved for flash1 |
| LED PWM | 6 channels, 4 timers, up to 20-bit12 |
| MCPWM | 1 (3 timers, 3 operators, 6 outputs)12 |
| RMT | 4 channels: 2 TX + 2 RX12 |
| TWAI (CAN) | 1 (ISO 11898-1, CAN 2.0)12 |
| Pulse counter | 4 units, 2 channels each12 |
| USB OTG | — |
| USB Serial/JTAG | Yes, USB 2.0 full speed (12 Mbit/s), on GPIO26/GPIO2712 |
| SD / SDIO | — |
| Ethernet MAC | — |
| LCD / camera | — |
| Security and package | |
| Security | Secure boot, flash encryption (XTS-AES); AES-128/256, SHA, RSA, ECC accelerators; HMAC, RSA_DS, ECDSA_DS; APM; power glitch detector1 |
| Package | QFN32 (4×4 mm)1 |
| Supply | 3.0–3.6 V (3.3 V typ.)1 |
Variants
| Part number | Flash | PSRAM | Temperature | |
|---|---|---|---|---|
ESP32-H2FH2S | 2 MB (Quad SPI) | — | –40…105 °C | 1 |
ESP32-H2FH4S | 4 MB (Quad SPI) | — | –40…105 °C | 1 |
Pitfalls
The radio is Bluetooth LE and IEEE 802.15.4 only. Wi-Fi is not in the datasheet, and soc_caps.h for this target has no SOC_WIFI_SUPPORTED.1
The CPU tops out at 96 MHz; the in-package flash runs at up to 64 MHz. The chip needs an external 32 MHz crystal and cannot run without it.1
Joint Download Boot needs GPIO8 = 1 and GPIO9 = 0. GPIO9 has a weak pull-up, but GPIO8 floats by default, so a board that should enter download mode needs an external pull-up on GPIO8. GPIO25 has no internal pulls; it only matters when EFUSE_JTAG_SEL_ENABLE is burnt.1
ESP-IDF numbers pins GPIO0–GPIO27 (SOC_GPIO_PIN_COUNT 28), but only 19 exist on the package: GPIO0–5, GPIO8–14 and GPIO22–27. GPIO6, GPIO7 and GPIO15–21 are not bonded out.1
All 5 ADC channels sit on GPIO1–GPIO5, and GPIO2–GPIO5 are also the pad JTAG pins (MTMS, MTDO, MTCK, MTDI), so analog inputs and pad JTAG compete for the same pins. The datasheet suggests USB JTAG on GPIO26/27 to free them.1
Digital pins (GPIO0–5, GPIO22–27) cannot work in Deep-sleep; only the LP pins GPIO8–GPIO14 can, e.g. as wake-up inputs.1
Where the sources disagree
- Number of LP IO pins. soc_caps.h counts 8 RTC IO pins and its comment says GPIO7–GPIO14 keep LP functions, while the datasheet lists the LP pins as GPIO8–GPIO14 (GPIO7 is not on the package). Not published as a value; the pin pages use the datasheet list.12
Boards with the ESP32-H2
Sources
Each number on this page links here. Open “What it confirms” to see the exact quote behind every value. Checked 2026-11-28.
- ESP32-H2 Series Datasheet v1.3 primary
What it confirms (45)
- ESP32-H2: Architecture “32-bit RISC-V single-core processor … RV32IMAC ISA (instruction set architecture)”
- ESP32-H2: HP cores “32-bit RISC-V single-core processor”
- ESP32-H2: Max clock “Clock speed: up to 96 MHz”
- ESP32-H2: FPU “RV32IMAC ISA (instruction set architecture)”
- ESP32-H2: SRAM “320 KB of high-performance SRAM (HP SRAM) for data and instructions”
- ESP32-H2: ROM “128 KB of ROM for booting and core functions”
- ESP32-H2: RTC / LP SRAM “4 KB of low-power SRAM (LP SRAM) that can be accessed by CPU. It can retain data in Deep-sleep mode”
- ESP32-H2: Flash in package “2 MB or 4 MB in-package flash”
- ESP32-H2: Bluetooth LE “Bluetooth Low Energy (Bluetooth 5.3 certified) … Bluetooth Mesh … Bluetooth Low Energy long range (Coded PHY, 125 Kbps and 500 Kbps) … Bluetooth Low Energy high speed (2 Mbps)”
- ESP32-H2: IEEE 802.15.4 “IEEE Standard 802.15.4-2015 compliant … Supports Thread 1.4 … Supports Zigbee 3.0 … Supports Matter”
- ESP32-H2: GPIO “19 programmable GPIOs … Digital pins (GPIO0 ~ GPIO5, GPIO22 ~ GPIO27) … LP pins (GPIO8 ~ GPIO14)”
- ESP32-H2: ADC “12-bit SAR ADC, up to 5 channels”
- ESP32-H2: UART “It consists of two UARTs in the system.”
- ESP32-H2: I²C “Two I2C controllers”
- ESP32-H2: I²S “– I2S”
- ESP32-H2: SPI “SPI0/SPI1 are reserved for system use. … SPI2 is a general-purpose SPI (GP-SPI) controller”
- ESP32-H2: LED PWM “LED PWM controller, up to 6 channels … Maximum PWM duty cycle resolution of 20 bits … Four independent timers with 20-bit counters”
- ESP32-H2: RMT “RMT, with up to 2 transmit channels and 2 receive channels”
- ESP32-H2: MCPWM “Motor Control PWM (MCPWM) … Six PWM outputs to operate in several topologies … Three PWM timers for precise timing and frequency control … Three PWM operators for generating waveform pairs”
- ESP32-H2: TWAI (CAN) “TWAI® controller, compatible with ISO 11898-1 (CAN Specification 2.0)”
- ESP32-H2: Pulse counter “Four independent pulse counters with two channels each”
- ESP32-H2: USB Serial/JTAG “USB 2.0 full speed compliant, capable of up to 12 Mbit/s transfer speed”
- ESP32-H2: Temperature sensor “Measurement range: –40°C ~ 125°C”
- ESP32-H2: Bluetooth LE + 802.15.4 radio “Bluetooth Low Energy (Bluetooth 5.3 certified) … Supports Thread 1.4 … Supports Zigbee 3.0 … Supports Matter”
- ESP32-H2: Flash inside the package “2 MB or 4 MB in-package flash … the pins allocated for communication with in-package flash are not”
- ESP32-H2: Low sleep current “Deep-sleep RTC timer and LP memory are powered on 7 … Power off CHIP_EN is set to low level, the chip is powered off 1”
- ESP32-H2: 105 °C rating “Ambient temperature –40 — 105 °C”
- ESP32-H2: Strapping pins “Three strapping pins: GPIO8, GPIO9, and GPIO25 … GPIO8 and GPIO9 control the boot mode after the reset is released.”
- ESP32-H2: USB pins “GPIO26 USB_D- … GPIO27 USB_D+”
- ESP32-H2: JTAG pins “5 GPIO2 MTMS … 6 GPIO3 MTDO … 7 GPIO4 MTCK … 8 GPIO5 MTDI”
- ESP32-H2: UART0 pins “22 GPIO23 U0RXD … 23 GPIO24 U0TXD”
- ESP32-H2: 32 kHz XTAL pins “15 GPIO13 GPIO13 … 16 GPIO14 GPIO14 … 15 XTAL_32K_P XTAL_32K_P … 16 XTAL_32K_N XTAL_32K_N”
- ESP32-H2: External memory “via the SPI, Dual SPI, Quad SPI, and QPI … Support connection to off-package flash of 16 MB at most”
- ESP32-H2: Security “Secure boot - ensuring firmware integrity … Flash encryption - memory encryption and decryption … AES-128/256 (FIPS PUB 197) … ECDSA Digital Signature Peripheral (ECDSA_DS) … Power Glitch Detector … Support hardware encryption/decryption based on XTS-AES … SHA Accelerator (FIPS PUB 180-4) … RSA Accelerator … ECC Accelerator … HMAC … RSA Digital Signature Peripheral (RSA_DS) … Access Permission Management (APM)”
- ESP32-H2: Package “QFN32 (4×4 mm) Package”
- ESP32-H2: Supply “VDD3P3, VBAT, VDDA_PMU, VDDPST1, VDDPST2 2 Recommended input voltage 3.0 3.3 3.6 V”
- ESP32-H2: variant ESP32-H2FH2S “ESP32-H2FH2S 2 MB (Quad SPI) –40∼105 °C 3.3 V”
- ESP32-H2: variant ESP32-H2FH4S “ESP32-H2FH4S 4 MB (Quad SPI) –40∼105 °C 3.3 V”
- ESP32-H2: No Wi-Fi “with integrated 2.4 GHz Bluetooth® Low Energy (Bluetooth LE) and 802.15.4”
- ESP32-H2: 96 MHz CPU and a 32 MHz crystal “Clock speed: up to 96 MHz … ESP32-H2FH4S chip variant: up to 64 MHz … 32 MHz external crystal clock … The chip cannot operate without the external crystal clock.”
- ESP32-H2: GPIO8 floats, but download mode needs it high “Joint Download Boot 2 1 0 … GPIO8 Floating … GPIO9 Weak pull-up 1 … This pin does not have any internal pull resistors … the strapping pins should be connected to external pull-down/pull-up resistances”
- ESP32-H2: GPIO numbers have gaps “Digital pins (GPIO0 ~ GPIO5, GPIO22 ~ GPIO27) … LP pins (GPIO8 ~ GPIO14) … #define SOC_GPIO_PIN_COUNT 28”
- ESP32-H2: ADC pins are the JTAG pins “The pins for the SAR ADC are multiplexed with GPIO1 ~ GPIO5, JTAG interface, and SPI2 interface. … To free these pins up, the pin functions USB_D+/- of the USB Serial/JTAG Controller can be used instead.”
- ESP32-H2: Only GPIO8–GPIO14 work in Deep-sleep “are unable to work in Deep-sleep mode … LP pins (GPIO8 ~ GPIO14): are able to work in any chip mode.”
- ESP32-H2: discrepancy (Number of LP IO pins) “LP pins (GPIO8 ~ GPIO14): are able to work in any chip mode.”
- ESP-IDF v5.5.5: components/soc/esp32h2/include/soc/soc_caps.h primary
What it confirms (16)
- ESP32-H2: HP cores “#define SOC_CPU_CORES_NUM (1U)”
- ESP32-H2: Bluetooth LE “#define SOC_BLE_SUPPORTED (1)”
- ESP32-H2: IEEE 802.15.4 “#define SOC_IEEE802154_SUPPORTED 1”
- ESP32-H2: ADC “#define SOC_ADC_MAX_CHANNEL_NUM (5)”
- ESP32-H2: UART “#define SOC_UART_NUM (2)”
- ESP32-H2: I²C “#define SOC_I2C_NUM (2U)”
- ESP32-H2: I²S “#define SOC_I2S_NUM (1U)”
- ESP32-H2: LED PWM “#define SOC_LEDC_CHANNEL_NUM (6)”
- ESP32-H2: RMT “#define SOC_RMT_TX_CANDIDATES_PER_GROUP 2 … #define SOC_RMT_RX_CANDIDATES_PER_GROUP 2”
- ESP32-H2: MCPWM “#define SOC_MCPWM_GROUPS (1U)”
- ESP32-H2: TWAI (CAN) “#define SOC_TWAI_CONTROLLER_NUM 1U”
- ESP32-H2: Pulse counter “#define SOC_PCNT_UNITS_PER_GROUP 4”
- ESP32-H2: USB Serial/JTAG “#define SOC_USB_SERIAL_JTAG_SUPPORTED 1”
- ESP32-H2: Temperature sensor “#define SOC_TEMP_SENSOR_SUPPORTED 1”
- ESP32-H2: valid GPIOs “#define SOC_GPIO_VALID_GPIO_MASK ((1U << SOC_GPIO_PIN_COUNT) - 1) … #define SOC_GPIO_PIN_COUNT 28”
- ESP32-H2: discrepancy (Number of LP IO pins) “#define SOC_RTCIO_PIN_COUNT (8U) … GPIO7~14 remain LP function”
- ESP-IDF v5.5.5: components/soc/esp32h2/include/soc/adc_channel.h primary
What it confirms (1)
- ESP32-H2: ADC channel per GPIO “#define ADC1_GPIO1_CHANNEL 0 … #define ADC1_GPIO2_CHANNEL 1 … #define ADC1_GPIO3_CHANNEL 2 … …”