ESP32-C5
Single-core 240 MHz RISC-V SoC with dual-band (2.4 and 5 GHz) Wi-Fi 6, Bluetooth LE and IEEE 802.15.4, plus a low-power RISC-V core for Deep-sleep work.
In short
- Dual-band Wi-Fi 6. One 1T1R radio covers both 2.4 GHz and 5 GHz, with 802.11ax (20 MHz) and 802.11a/b/g/n/ac.1
- Wi-Fi, Bluetooth LE and 802.15.4 on one chip. Thread and Zigbee radio next to Wi-Fi 6 and Bluetooth LE, sharing the radio by time division.1
- LP RISC-V core. A second, low-power RISC-V core (up to 48 MHz) and 16 KB LP SRAM stay powered in Deep-sleep and can access LP IO, LP peripherals and the RTC timer.1
- Two CAN FD controllers. Two TWAI controllers with CAN FD, compliant with ISO 11898-1:2015.1
- Supported target in ESP-IDF v5.5.5. esp32c5 is in the list of supported targets of idf.py in ESP-IDF v5.5.5.4
Overview
Within the family
Highlighted: ESP32-C5. Click a bar to open another chip.
GPIO map
- 0
- 1ADC1·0
- 2ADC1·1
- 3ADC1·2
- 4ADC1·3
- 5ADC1·4
- 6ADC1·5
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
SOC_GPIO_VALID_GPIO_MASK). Not every package brings out all of them; see the variants table.- Strapping: GPIO 2, 3, 7, 25, 26, 27, 28. Strapping pins: GPIO26–28 select the boot mode, GPIO27 also ROM messages, GPIO7 the JTAG source, GPIO25 and MTDI (GPIO3) the SDIO clock edges; MTMS (GPIO2) is also listed as a strapping pin.
- Flash: GPIO 16, 17, 18, 20, 21, 22. SPI0/1 flash bus: GPIO16 SPICS0, GPIO17 SPIQ, GPIO18 SPIWP, GPIO20 SPIHD, GPIO21 SPICLK, GPIO22 SPID. Not recommended for general use; not connected (NC) on C5HF4 and C5NF8R2LA.
- PSRAM: GPIO 15. GPIO15 is SPICS1, the PSRAM chip select; PSRAM shares the other SPI0/1 lines with flash. NC on C5NF8R2LA.
- USB: GPIO 13, 14. GPIO13 = USB_D-, GPIO14 = USB_D+ (USB Serial/JTAG by default).
- JTAG: GPIO 2, 3, 4, 5. GPIO2 MTMS, GPIO3 MTDI, GPIO4 MTCK, GPIO5 MTDO.1
- UART0: GPIO 11, 12. GPIO11 = U0TXD, GPIO12 = U0RXD.1
- 32 kHz XTAL: GPIO 0, 1. GPIO0 = XTAL_32K_P, GPIO1 = XTAL_32K_N (optional 32 kHz crystal).1
Strapping pins in detail: ESP32-C5 strapping pins and boot modes.
Specifications
| Core | |
|---|---|
| Architecture | 32-bit RISC-V (RV32IMAC)1 |
| HP cores | 1 HP core12 |
| Max clock | up to 240 MHz1 |
| FPU | — |
| Low-power core | LP RISC-V core (RV32IMAC), up to 48 MHz, runs in Deep-sleep12 |
| Memory | |
| SRAM | 384 KB HP SRAM13 |
| ROM | 320 KB13 |
| RTC / LP SRAM | 16 KB LP SRAM, retained in Deep-sleep13 |
| Flash in package | 4 MB (C5HF4) or 8 MB (C5NF8R2LA), Quad SPI1 |
| PSRAM in package | 2 MB (C5HR2, C5NF8R2LA) or 8 MB (C5HR8), Quad SPI1 |
| External memory | SPI, Dual SPI, Quad SPI, QPI flash and PSRAM; up to 32 MB12 |
| Radio | |
| Wi-Fi | IEEE 802.11a/b/g/n/ac/ax, 1T1R; 11ax and 11ac at 20 MHz only12 |
| 5 GHz band | 2.4 and 5 GHz dual band (5180–5885 MHz)12 |
| Wi-Fi 6 | Wi-Fi 6 (802.11ax), 20 MHz only12 |
| Bluetooth LE | Bluetooth 5 (LE); Bluetooth Core 6.0 certified12 |
| Bluetooth Classic | — |
| IEEE 802.15.4 | IEEE 802.15.4-2015: Thread 1.4, Zigbee 3.012 |
| GPIO and analog | |
| GPIO | 29 GPIOs (GPIO0–GPIO28)12 |
| ADC | 1 × 12-bit SAR ADC, 6 channels12 |
| DAC | — |
| Touch | — |
| Temperature sensor | on-chip temperature sensor12 |
| Interfaces | |
| UART | 3: UART0, UART1 + LP UART12 |
| I²C | 2: I2C + LP I2C (LP I2C is master only)12 |
| I²S | 112 |
| SPI | 1 general-purpose (SPI2); SPI0/SPI1 serve flash and PSRAM1 |
| LED PWM | 6 channels12 |
| MCPWM | 1 unit: 3 timers, 3 operators, capture12 |
| RMT | 4 channels: 2 TX + 2 RX12 |
| TWAI (CAN) | 2 × CAN FD (ISO 11898-1:2015)12 |
| Pulse counter | 4 units12 |
| USB OTG | — |
| USB Serial/JTAG | USB Serial/JTAG, USB 2.0 full speed (12 Mbit/s)12 |
| SD / SDIO | SDIO 2.0 slave (not on chip revisions v0.0/v0.1); no SD/MMC host12 |
| Ethernet MAC | — |
| LCD / camera | — |
| Security and package | |
| Security | Secure boot, flash/PSRAM encryption (XTS-AES), AES-128/256, SHA, RSA, ECC, HMAC, RSA and ECDSA digital signature, TRNG, key manager (chip revision v1.2+), APM/TEE1 |
| Package | QFN48 (6×6 mm); LGA48 (6×6 mm) for C5NF8R2LA1 |
| Supply | 3.0–3.6 V (3.3 V typical)1 |
Variants
| Part number | Flash | PSRAM | Temperature | |
|---|---|---|---|---|
ESP32-C5HR2 | — | 2 MB (Quad SPI) | –40…105 °C | 1 |
ESP32-C5HR8 | — | 8 MB (Quad SPI) | –40…105 °C | 1 |
ESP32-C5HF4 | 4 MB (Quad SPI) | — | –40…105 °C | 1 |
ESP32-C5NF8R2LA | 8 MB (Quad SPI) | 2 MB (Quad SPI) | –40…85 °C | not yet in mass production (datasheet v1.5)1 |
Pitfalls
GPIO26, GPIO27 and GPIO28 are sampled at reset to select the boot mode. GPIO27 and GPIO28 have internal pull-ups (SPI boot by default); GPIO28 low with GPIO27 high enters download mode. Do not load these pins so that they read low at reset.1
On ESP32-C5HF4 the SPI flash pins and VDD_SPI are not connected, and on ESP32-C5NF8R2LA SPICS1 is not connected either, so these GPIOs are missing on those parts even though the series has 29 GPIOs.1
ESP32-C5HR2 and C5HR8 have in-package PSRAM but no in-package flash; the off-package flash uses the SPI0/1 pins GPIO15–18 and GPIO20–22, which are not recommended for other uses.1
The six ADC1 channels are on GPIO1–GPIO6. GPIO1 is XTAL_32K_N, GPIO2–GPIO5 are the JTAG pins, and GPIO2/GPIO3 are also strapping pins.1
GPIO13/GPIO14 are connected to the USB Serial/JTAG controller by default. Reconfiguring them as GPIOs takes them away from USB.1
The SDIO slave is not supported on chip revisions v0.0 and v0.1, and the key manager needs revision v1.2 or later. Parts with the same part number ship in several revisions.1
Where the sources disagree
- Which GPIO is the VDD_SPI pin. Section 2.3.5 of the datasheet calls GPIO27 the VDD_SPI pin, while Table 2-7 (Analog Functions) and Table 2-3 (pin 29) put VDD_SPI on GPIO19. GPIO27 is pin 37, a strapping pin. Not used on the page until clarified; the flash/psram roles do not depend on it.11
Boards with the ESP32-C5
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-C5 Series Datasheet v1.5 primary
What it confirms (57)
- ESP32-C5: Architecture “32-bit RISC-V single-core microprocessor … RV32IMAC ISA (instruction set architecture)”
- ESP32-C5: HP cores “32-bit RISC-V single-core microprocessor”
- ESP32-C5: Max clock “Clock speed: up to 240 MHz”
- ESP32-C5: FPU “RV32IMAC ISA (instruction set architecture)”
- ESP32-C5: Low-power core “Low-power (LP) RISC-V processor: … Clock speed: up to 48 MHz … capable of staying powered on during Deep-sleep mode when the HP CPU is powered down … The ESP32-C5 low-power CPU (LP CPU) is a 32-bit processor based on the RISC-V ISA comprising integer (I), multiplication/division (M), atomic (A), and compressed (C) standard extensions.”
- ESP32-C5: SRAM “HP SRAM: 384 KB”
- ESP32-C5: ROM “ROM: 320 KB”
- ESP32-C5: RTC / LP SRAM “LP SRAM: 16 KB … 16 KB of low-power SRAM (LP SRAM) that can be accessed by HP CPU or LP CPU. It can retain data in Deep-sleep mode”
- ESP32-C5: Flash in package “ESP32-C5HF4 4 MB (Quad SPI) … ESP32-C5NF8R2LA 4 –40 ∼ 85 8 MB (Quad SPI)”
- ESP32-C5: PSRAM in package “ESP32-C5HR2 2 MB (Quad SPI) … ESP32-C5HR8 –40 ∼ 105 8 MB (Quad SPI) … 8 MB (Quad SPI) 2 MB (Quad SPI)”
- ESP32-C5: Wi-Fi “IEEE 802.11ax-compliant … IEEE 802.11ac-compliant – 20 MHz bandwidth … Fully compatible with IEEE 802.11a/b/g/n protocol … 1T1R in 2.4 and 5 GHz dual band”
- ESP32-C5: 5 GHz band “1T1R in 2.4 and 5 GHz dual band … 5180 ~ 5885 MHz”
- ESP32-C5: Wi-Fi 6 “2.4 and 5 GHz dual-band Wi-Fi 6 (802.11ax) … 20 MHz only”
- ESP32-C5: Bluetooth LE “Bluetooth® 5 (LE) … Bluetooth LE: Bluetooth Core 6.0 certified”
- ESP32-C5: Bluetooth Classic “Bluetooth® 5 (LE)”
- ESP32-C5: IEEE 802.15.4 “Compliant with IEEE 802.15.4-2015 protocol … Thread 1.4 … Zigbee 3.0”
- ESP32-C5: GPIO “29 programmable GPIOs”
- ESP32-C5: ADC “12-bit SAR ADC, up to 6 channels”
- ESP32-C5: UART “ESP32-C5 has three UART interfaces, i.e. UART0, UART1, and LP UART.”
- ESP32-C5: I²C “ESP32-C5 has an I2C and an LP I2C bus interface. … while LP I2C is always in master mode”
- ESP32-C5: I²S “ESP32-C5 includes a standard I2S interface.”
- ESP32-C5: SPI “ESP32-C5 features three SPI interfaces (SPI0, SPI1, and SPI2). … SPI0 and SPI1 can be configured to operate in SPI memory mode, while SPI2 can be configured to operate in general-purpose SPI mode.”
- ESP32-C5: LED PWM “LED PWM controller, up to 6 channels”
- ESP32-C5: RMT “TX channels 0 ~ 1 … RX channels 2 ~ 3”
- ESP32-C5: MCPWM “ESP32-C5 integrates an MCPWM … three PWM timers, three PWM operators, and a dedicated capture”
- ESP32-C5: TWAI (CAN) “Two CAN FD controllers, compatible with ISO 11898-1:2015”
- ESP32-C5: Pulse counter “four independent pulse counters (units)”
- ESP32-C5: USB Serial/JTAG “USB Serial/JTAG controller … USB 2.0 full speed compliant, capable of up to 12 Mbit/s transfer speed”
- ESP32-C5: SD / SDIO “SDIO slave controller (not supported by chip revision v0.0 and v0.1) … compatible with SDIO Physical Layer Specification V2.00 and SDIO Specifications V2.00”
- ESP32-C5: Temperature sensor “ESP32-C5 provides a temperature sensor”
- ESP32-C5: Dual-band Wi-Fi 6 “1T1R in 2.4 and 5 GHz dual band … Operating frequency: 2412 ~ 2484 MHz, 5180 ~ 5885 MHz”
- ESP32-C5: Wi-Fi, Bluetooth LE and 802.15.4 on one chip “with time-division coexistence of Wi-Fi, Bluetooth and 802.15.4 … Thread 1.4 … Zigbee 3.0”
- ESP32-C5: LP RISC-V core “The LP CPU and LP memory remain powered on in Deep-sleep mode. … store a program for the LP CPU in the LP memory to access LP IO, LP peripherals, and RTC timers in Deep-sleep mode”
- ESP32-C5: Two CAN FD controllers “Two CAN FD controllers, compatible with ISO 11898-1:2015”
- ESP32-C5: Strapping pins “GPIO2, GPIO3, GPIO7, GPIO25, GPIO26, GPIO27, GPIO28 : Strapping pins. … Strapping pin: GPIO26, GPIO27, and GPIO28 … Strapping pin: GPIO25 and MTDI … GPIO2 MTMS … GPIO3 MTDI”
- ESP32-C5: Flash pins “GPIO15 ~ GPIO18, GPIO20 ~ GPIO22 : SPI0/1 pins for the off-package flash and PSRAM and not recommended for general GPIO use. … GPIO16 SPICS0 … GPIO17 SPIQ … GPIO18 SPIWP … GPIO20 SPIHD … GPIO21 SPICLK … GPIO22 SPID”
- ESP32-C5: PSRAM pins “GPIO15 SPICS1 … SPICS1 is used to access PSRAM”
- ESP32-C5: USB pins “GPIO13 USB_D- … GPIO14 USB_D+ … GPIO13, GPIO14 : USB Serial/JTAG interface.”
- ESP32-C5: JTAG pins “GPIO2, GPIO3, GPIO4, GPIO5 : JTAG interface. … GPIO2 MTMS … GPIO3 MTDI … GPIO4 MTCK … GPIO5 MTDO”
- ESP32-C5: UART0 pins “GPIO11, GPIO12 : UART0 interface. … GPIO11 U0TXD … GPIO12 U0RXD”
- ESP32-C5: 32 kHz XTAL pins “GPIO0 XTAL_32K_P … GPIO1 XTAL_32K_N”
- ESP32-C5: External memory “ESP32-C5 supports SPI, Dual SPI, Quad SPI, and QPI interfaces that allow connection to the external flash and PSRAM. … the size of the external flash or PSRAM can be 32 MB at most”
- ESP32-C5: Security “AES-128/256 (NIST FIPS 197) … RSA Digital Signature Peripheral (RSA_DS) … ECDSA (Elliptic Curve Digital Signature Algorithm) Digital Signature Peripheral (ECDSA_DS) … External memory encryption and decryption (XTS_AES) … Secure boot … Key manager (supported by chip revision v1.2 or later) … Access permission management (APM) and trusted execution environment (TEE) controller”
- ESP32-C5: Package “QFN48 (6×6 mm) / LGA48 (6×6 mm) package … L: LGA Package”
- ESP32-C5: Supply “VDDPST1, VDDPST3 Recommended input voltage 3.0 3.3 3.6 V”
- ESP32-C5: variant ESP32-C5HR2 “ESP32-C5HR2 2 MB (Quad SPI) … ESP32-C5HR8 –40 ∼ 105 … H: High temperature”
- ESP32-C5: variant ESP32-C5HR8 “ESP32-C5HR8 –40 ∼ 105 8 MB (Quad SPI)”
- ESP32-C5: variant ESP32-C5HF4 “ESP32-C5HF4 4 MB (Quad SPI) … H: High temperature”
- ESP32-C5: variant ESP32-C5NF8R2LA “ESP32-C5NF8R2LA 4 –40 ∼ 85 8 MB (Quad SPI) 2 MB (Quad SPI) … The variant is not yet in mass production. … L: LGA Package”
- ESP32-C5: Boot mode is set by GPIO26–GPIO28 “GPIO26, GPIO27, and GPIO28 control the boot mode after the reset is released. … GPIO27 Pull-up 1 … GPIO28 Pull-up 1 … Joint download boot mode 02 Any value 1 0”
- ESP32-C5: In-package flash costs GPIOs “For ESP32-C5HF4, the SPICS0, SPIQ, SPIWP, VDD_SPI, SPIHD, SPICLK, and SPID pins are not connected (NC). … For ESP32-C5NF8R2LA, the SPICS1 pin is also not connected (NC), in addition to the pins listed above.”
- ESP32-C5: PSRAM-only parts still need external flash on GPIO15–22 “GPIO15 ~ GPIO18, GPIO20 ~ GPIO22 : SPI0/1 pins for the off-package flash and PSRAM and not recommended for general GPIO use. … It is not recommended to use the pins connected to flash/PSRAM for any other purposes.”
- ESP32-C5: ADC channels share pins with JTAG and strapping “GPIO1 XTAL_32K_N ADC1_CH0 … GPIO6 ADC1_CH5 … GPIO2, GPIO3, GPIO4, GPIO5 : JTAG interface.”
- ESP32-C5: GPIO13/GPIO14 are the USB port “USB_D+/- – by default, connected to the USB Serial/JTAG controller. To function as GPIOs, these pins need to be reconfigured.”
- ESP32-C5: Some features depend on chip revision “SDIO slave controller (not supported by chip revision v0.0 and v0.1) … Key manager (supported by chip revision v1.2 or later) … ESP32-C5 now has multiple chip revisions available on the market using the same part number.”
- ESP32-C5: discrepancy (Which GPIO is the VDD_SPI pin) “GPIO27 : The VDD_SPI pin. The power supply pin for off-package flash by default”
- ESP32-C5: discrepancy (Which GPIO is the VDD_SPI pin) “29 GPIO19 VDD_SPI … 29 GPIO19 GPIO19 I/O/T”
- ESP-IDF v5.5.5: components/soc/esp32c5/include/soc/soc_caps.h primary
What it confirms (22)
- ESP32-C5: HP cores “#define SOC_CPU_CORES_NUM (1U)”
- ESP32-C5: Low-power core “#define SOC_LP_CORE_SUPPORTED 1”
- ESP32-C5: Wi-Fi “#define SOC_WIFI_SUPPORTED 1”
- ESP32-C5: 5 GHz band “#define SOC_WIFI_SUPPORT_5G (1)”
- ESP32-C5: Wi-Fi 6 “#define SOC_WIFI_HE_SUPPORT (1)”
- ESP32-C5: Bluetooth LE “#define SOC_BLE_SUPPORTED (1)”
- ESP32-C5: IEEE 802.15.4 “#define SOC_IEEE802154_SUPPORTED 1”
- ESP32-C5: GPIO “#define SOC_GPIO_PIN_COUNT 29”
- ESP32-C5: ADC “#define SOC_ADC_MAX_CHANNEL_NUM (6)”
- ESP32-C5: UART “#define SOC_UART_NUM (3)”
- ESP32-C5: I²C “#define SOC_I2C_NUM (2U)”
- ESP32-C5: I²S “#define SOC_I2S_NUM (1U)”
- ESP32-C5: LED PWM “#define SOC_LEDC_CHANNEL_NUM (6)”
- ESP32-C5: RMT “#define SOC_RMT_CHANNELS_PER_GROUP 4”
- ESP32-C5: MCPWM “#define SOC_MCPWM_GROUPS 1U”
- ESP32-C5: TWAI (CAN) “#define SOC_TWAI_CONTROLLER_NUM 2 … #define SOC_TWAI_SUPPORT_FD 1”
- ESP32-C5: Pulse counter “#define SOC_PCNT_UNITS_PER_GROUP 4”
- ESP32-C5: USB Serial/JTAG “#define SOC_USB_SERIAL_JTAG_SUPPORTED 1”
- ESP32-C5: SD / SDIO “#define SOC_SDIO_SLAVE_SUPPORTED 1”
- ESP32-C5: Temperature sensor “#define SOC_TEMP_SENSOR_SUPPORTED 1”
- ESP32-C5: valid GPIOs “#define SOC_GPIO_VALID_GPIO_MASK ((1U<<SOC_GPIO_PIN_COUNT) - 1) … #define SOC_GPIO_PIN_COUNT 29”
- ESP32-C5: External memory “#define SOC_SPIRAM_SUPPORTED 1”
- ESP32-C5 Technical Reference Manual v1.1 primary
What it confirms (3)
- ESP32-C5: SRAM “384 KB of HP SRAM”
- ESP32-C5: ROM “320 KB of ROM”
- ESP32-C5: RTC / LP SRAM “16 KB of LP SRAM”
- ESP-IDF v5.5.5: tools/idf_py_actions/constants.py primary
What it confirms (1)
- ESP32-C5: Supported target in ESP-IDF v5.5.5 “'esp32p4', 'esp32c5', 'esp32c61', ] PREVIEW_TARGETS = ['linux'”
- ESP-IDF v5.5.5: components/soc/esp32c5/include/soc/adc_channel.h primary
What it confirms (1)
- ESP32-C5: ADC channel per GPIO “#define ADC1_GPIO1_CHANNEL 0 … #define ADC1_GPIO2_CHANNEL 1 … #define ADC1_GPIO3_CHANNEL 2 … …”