cuprio

Designing a PCB with the ESP32-C6

The ESP32-C6 is Espressif's RISC-V microcontroller with Wi-Fi 6 (802.11ax) at 2.4 GHz, Bluetooth LE and an IEEE 802.15.4 radio for Thread and Zigbee, all sharing one antenna. It pairs a 160 MHz main core with a 20 MHz low-power core and has a USB Serial/JTAG port for flashing and debugging. Board design centers on a clean 3.3 V supply, a controlled reset, two boot pins and a clear antenna area.

  • 3 min read
  • 6 sections
  • 4 sources
CPU
RISC-V HP core up to 160 MHz, plus LP RISC-V core up to 20 MHz
On-chip memory
512 KB HP SRAM, 16 KB LP SRAM, 320 KB ROM
Flash
External on QFN40; 4 or 8 MB in package on QFN32 (C6FH4, C6FH8)
Supply
3.0 to 3.6 V (3.3 V typical), 0.5 A supply capability
Radio
Wi-Fi 6 802.11ax (2.4 GHz), Bluetooth 5.3 LE, 802.15.4 (Thread 1.3, Zigbee 3.0)
USB
USB Serial/JTAG, full-speed device (GPIO12 D−, GPIO13 D+)
GPIO
30 (QFN40) or 22 (QFN32); 23 on the WROOM-1 module
Package
QFN40 or QFN32, both 5×5 mm; WROOM-1 module 18.0 × 25.5 × 3.1 mm

Which ESP32-C6: module, QFN40 or QFN32?

The ESP32-C6-WROOM-1 module carries the 40 MHz crystal, 4 or 8 MB of SPI flash and a PCB antenna, and brings out 23 GPIOs; the WROOM-1U (18.0 × 19.2 × 3.2 mm) has an antenna connector instead.

On the bare chip, the QFN40 version needs external flash, which uses six GPIOs, while the QFN32 versions have 4 or 8 MB in package with the flash pins not bonded out. Either needs about 20 passives, a 40 MHz crystal accurate to ±10 ppm, and a matching network that Espressif draws as a CLCCL band-pass in 0201 parts feeding a 50 Ω trace.

How should the ESP32-C6 be powered and decoupled?

Espressif recommends a single 3.3 V supply of at least 500 mA, with an ESD diode and at least 10 µF where power enters the board. The digital supplies are VDDPST1 (pin 5) and VDDPST2 (pin 28), each with 0.1 µF close by. VDD_SPI (pin 23) is fed from VDDPST2 through an internal resistor; when it powers 3.3 V flash give it 0.1 µF and 1 µF and keep VDDPST2 at 3.0 V or more.

The analog rail VDDA3P3 draws sudden current when the radio transmits, so it gets 10 µF plus an LC filter whose inductor is rated 500 mA or more. Return each decoupling capacitor to ground with a via at its pad.

Reset, boot pins and programming

  • CHIP_PU must not float. Use a 10 kΩ pull-up and 1 µF to ground; the rails need at least 50 µs to settle first. For slow-rising or unstable supplies, add a supervisor near 3.0 V.
  • The strapping pins are GPIO8, GPIO9, GPIO15, MTMS and MTDI, held for at least 3 ms after CHIP_PU rises. GPIO9 high (internal pull-up) boots from flash; GPIO9 low with GPIO8 high enters download mode. GPIO8 and GPIO9 both low is invalid.
  • Put a pull-up and BOOT button on GPIO9 and no large capacitor there. GPIO8 floats by default, so give it a defined high level.
  • GPIO15 selects the JTAG signal source, and MTMS and MTDI set SDIO clock edges, so leave them undriven at reset unless that is intended.
  • UART0 defaults to GPIO16 (TX) and GPIO17 (RX); a 499 Ω series resistor on TX helps suppress harmonics.

USB on the ESP32-C6

The USB port is a full-speed Serial/JTAG device for flashing, logs and debugging, not a general-purpose USB controller. GPIO12 is D− and GPIO13 is D+. Reserve 22 or 33 Ω series resistors and unpopulated capacitors to ground next to the chip, route a 90 Ω ±10% differential pair over continuous ground, and keep vias to a minimum.

Layout for Wi-Fi, Thread and Zigbee

  • Four layers are recommended with unbroken ground on layer 2. Main 3.3 V traces at least 25 mil, VDDA3P3 at least 20 mil, and at least nine ground vias in the exposed pad.
  • Keep the crystal at least 2.4 mm from the chip, with no vias on its clock traces and nothing routed underneath; start with a 24 nH series inductor on XTAL_P.
  • The RF trace is 50 Ω, on an outer layer, without vias or branches, with 135° bends or arcs.
  • Place a module's antenna past the board edge or over a cut-out, keep a copper-clear keep-out zone under it, keep USB and UART lines away, and allow 15 mm of clearance to the enclosure.

Common mistakes

Frequent faults are a floating CHIP_PU, an undefined GPIO8 that leaves download mode unreachable, RF matching values copied from a module (they vary with each board and need tuning), and ground pour under the antenna. Cuprio places and routes the board with its own router and checks the copper against the chosen manufacturer's design rules; see how Cuprio designs a board.

Sources

  1. Espressif: ESP32-C6 Series Datasheet

    Cores, memory, radios, GPIO counts, packages and in-package flash, supply range and 0.5 A, strapping functions

    espressif.com
  2. Espressif: ESP32-C6-WROOM-1 & WROOM-1U Datasheet

    Module GPIO count, size, integrated crystal and flash

    espressif.com
  3. Espressif: ESP32-C6 Hardware Design Guidelines, Schematic Checklist

    Decoupling, VDD_SPI, reset timing, boot modes, crystal, RF matching, UART and USB resistors

    docs.espressif.com
  4. Espressif: ESP32-C6 Hardware Design Guidelines, PCB Layout Design

    Stackup, trace widths, ground vias, 2.4 mm crystal gap, RF trace, USB 90 Ω pair, antenna clearance

    docs.espressif.com
Close view of the two-wheel robot controller, a board designed in Cuprio

Be first in when we open.

Start with 600 welcome credits and get 30% off your first 12 months.