Skip to content
systemcoding.dev
Embedded

ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6 for New Designs

Compare ESP32, ESP32-S3, ESP32-C3 and ESP32-C6 on CPU, radios, memory, USB and peripherals, with a decision table for picking one for a new design.

6 min read
Summarize in AI
Flat illustration of two options weighed side by side, with the Espressif, Arm and C logos.

Choosing an ESP32 for a new product is no longer a one-chip decision. Espressif sells four chips that people mean when they say "ESP32 with Wi-Fi": the original ESP32, the ESP32-S3, the ESP32-C3 and the ESP32-C6. They share a build system and most of the API in ESP-IDF v5.4, but they differ in CPU architecture, radios, memory, USB and peripherals, and those differences decide whether a design works. This post compares the four on the facts in their datasheets and ends with a decision table. It does not cover the S2 or the H2, which fit narrower cases, and it states what each recommendation costs you.

Always confirm the numbers below in the current datasheet for the exact module you buy, because a module adds or removes flash, PSRAM and an antenna, and Espressif revises chips with new silicon versions.

What each chip is

The original ESP32 has two Xtensa LX6 cores at up to 240 MHz, 520 KB of SRAM, Wi-Fi 4 (802.11 b/g/n) and both classic Bluetooth and Bluetooth LE 4.2. It has the largest body of examples and third-party libraries, because it has been shipping the longest. It has no native USB: boards add a USB-to-serial bridge chip.

The ESP32-S3 has two Xtensa LX7 cores at up to 240 MHz, 512 KB of SRAM, Wi-Fi 4 and Bluetooth LE 5. It adds vector instructions for neural-network and signal-processing code, a USB OTG controller with a USB Serial/JTAG function on the same pins, and support for octal SPI PSRAM and flash on suitable modules. It has no classic Bluetooth.

The ESP32-C3 has one 32-bit RISC-V core at up to 160 MHz, 400 KB of SRAM, Wi-Fi 4 and Bluetooth LE 5. It also has a USB Serial/JTAG controller built in, so it flashes and debugs over its own USB with no bridge chip. It is the low-cost option, and the first RISC-V part in the family.

The ESP32-C6 has one RISC-V core at up to 160 MHz plus a low-power RISC-V core, 512 KB of SRAM, Wi-Fi 6 (802.11ax), Bluetooth LE 5 and an IEEE 802.15.4 radio for Thread and Zigbee. It also has the USB Serial/JTAG controller.

Side by side

FeatureESP32ESP32-S3ESP32-C3ESP32-C6
CPU2 x Xtensa LX62 x Xtensa LX71 x RISC-V1 x RISC-V + LP core
Max clock240 MHz240 MHz160 MHz160 MHz
Internal SRAM520 KB512 KB400 KB512 KB
Wi-Fi802.11 b/g/n802.11 b/g/n802.11 b/g/n802.11 b/g/n/ax
BluetoothClassic + LE 4.2LE 5LE 5LE 5
802.15.4NoNoNoYes
Native USBNoOTG + Serial/JTAGSerial/JTAGSerial/JTAG
External PSRAMQuadQuad or octalNoNo
Vector instructionsNoYesNoNo

Two readings of the table matter most. Classic Bluetooth, used by audio profiles such as A2DP and the serial profile, exists only on the original ESP32. If a product streams music to a speaker or pairs with a legacy serial device, that single row decides the chip. And only the S3 and the original ESP32 have a second core and PSRAM, so a design that buffers large frames, such as a camera, belongs on one of those two.

What the number of cores changes

On a dual-core chip, the Wi-Fi and Bluetooth stacks run mostly on one core by default and your application tasks can use the other. In ESP-IDF you pin a task with xTaskCreatePinnedToCore:

c
xTaskCreatePinnedToCore(sensor_task, "sensor", 4096, NULL, 5, NULL, 1);

On the single-core C3 and C6, the same call with core 1 fails at run time, because core 1 does not exist. If you write for both, use tskNO_AFFINITY, or the constant CONFIG_FREERTOS_NUMBER_OF_CORES that ESP-IDF v5.4 defines, to choose the core:

c
#if CONFIG_FREERTOS_NUMBER_OF_CORES > 1
  #define APP_CORE 1
#else
  #define APP_CORE 0
#endif

xTaskCreatePinnedToCore(sensor_task, "sensor", 4096, NULL, 5, NULL, APP_CORE);

On a single-core part, a task that runs a long computation competes with the radio stack's tasks. Long work then has to be split, or run at a lower priority, to avoid disconnects. That is the practical cost of choosing the C series for processing-heavy code, and it is invisible on a datasheet.

Choosing by what the product does

The decision is easiest as a list of requirements, checked in order of how hard each one is to change.

If the design needsChooseWhy
Classic Bluetooth audio or serial profileESP32Only chip with BR/EDR
Camera, display framebuffer or large buffersESP32-S3PSRAM, two cores, fast SPI
On-device machine learningESP32-S3Vector instructions
USB device or host (HID, mass storage)ESP32-S3USB OTG
Lowest unit cost, Wi-Fi and BLE onlyESP32-C3Single core, small, cheap
Thread, Zigbee or Matter over ThreadESP32-C6802.15.4 radio
Crowded 2.4 GHz network, many devicesESP32-C6Wi-Fi 6 target wake time and OFDMA
Widest library and forum coverageESP32Longest production history

If two rows pull in different directions, such as Thread and USB OTG, no single chip here fits. A design can pair the C6 with a second chip, or move the USB role to the C6's Serial/JTAG function, which is a device-side console and debug port, not a general USB device controller.

Power and sleep

All four have deep sleep modes with wake-up from a timer, a pin or a touch sensor, though the exact set of wake-up sources differs by chip. The C6's low-power core can run simple code while the main core is off, which is useful for polling a sensor without waking the radio. Battery life depends more on how often the radio is on than on the chip: connecting to Wi-Fi from deep sleep costs a burst of energy each time. Read the current tables in the datasheet for the sleep mode you plan to use, and do not trust a headline figure for a mode you will not use.

Software support and maturity

ESP-IDF v5.4 supports all four chips, and Espressif documents a support level for each release: "supported", "preview" or "in development". The original ESP32, S2, S3 and C3 are supported for production. Check the table for the C6 and any newer chip in the "Chip Support" part of the ESP-IDF release notes before you commit, because a chip's silicon revision and software support level change over time. An example found on a forum for the original ESP32 may call an API with a chip-specific option that a RISC-V part does not have.

A small compile-time guard keeps portable code honest. ESP-IDF defines CONFIG_IDF_TARGET_ macros you can test:

c
#if CONFIG_IDF_TARGET_ESP32S3
  #define HAS_USB_OTG 1
#else
  #define HAS_USB_OTG 0
#endif

Switching a project's target is one command, idf.py set-target esp32c6, so prototype on a development board of the chip you intend to ship, rather than on the original ESP32 and hoping the code ports.

What each choice costs

The original ESP32 is the safe choice and the oldest design: it has an older CPU architecture, no native USB, and a higher power draw at idle than the newer chips. The S3 costs more per unit and more power in exchange for memory and speed. The C3 costs you a second core, PSRAM and classic Bluetooth. The C6 costs more than the C3, and its Thread and Wi-Fi 6 features only matter if your network can use them.

Be cautious about "new design" as a reason alone. A product that is certified and shipping on the original ESP32 gains nothing from moving unless a requirement forces it, and the recertification cost of a new radio module usually exceeds any saving.

Share

Keep reading

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.