XIAO ESP32C6 Development Board Pinout and Technical Specifications
Code name: XIAO_ESP32C6
Manufacturer: Seed Studio
XIAO ESP32C6 development board is based on esp32c6 microcontroller and uses riscv32 architecture. This development board has a maximum CPU frequency of 160 MHz and a flash size of 8MB.
π Price
π XIAO ESP32C6 Description
The XIAO ESP32C6 is a powerful RISC-V-based development board featuring the ESP32-C6 chip. With support for WiFi 6, Bluetooth 5 (LE), and Zigbee, itβs perfect for modern IoT applications. π‘
Designed for compact projects, it includes a USB-C port for seamless programming and power, plus an onboard reset button and bootloader mode button for easy debugging. β‘
The XIAO ESP32C6 supports multiple interfaces like UART, I2C, and SPI, making it an excellent choice for smart home automation, sensor networks, and low-power applications.
π XIAO ESP32C6 Specs
Below you can find the specifications of XIAO ESP32C6, such as features, connectivity options, and XIAO ESP32C6 technical specs.
β¨ Features
- Supports WiFi 6, Bluetooth 5, and Zigbee
- Ultra-small size (21x17.5 mm)
- Low power consumption with deep sleep support
- 11 digital IO pins
- 11 external interrupt pins
- 7 analog input pins
- 11 PWM pins
π USB
- Type: USB-C
- Chip: Internal
π°οΈ Connectivity
- WiFi: 802.11 ax b/g/n (2.4 GHz)
- Bluetooth: 5.3
- BLE: 5.3
- Zigbee: Yes
π Technical specs
Microcontroller | esp32c6 |
Clock Speed | 160 MHz |
Flash size | 8MB |
SRAM Size | 512KB |
Architecture | riscv32 |
π XIAO ESP32C6 Pinout
The XIAO ESP32C6 pinout is designed to provide a well-balanced selection of I/O pins in a compact form factor. It includes essential power pins like 5V
, 3.3V
, and GND
.
For communication, it supports UART
(RX
and TX
), I2C
(SDA
and SCL
), and SPI
(SCK
, MISO
, MOSI
, and SS
), allowing integration with a wide range of peripherals.
Analog input pins labeled A0
to A3
make sensor integration easy, while additional GPIOs provide further flexibility.
β οΈ Pins to Avoid or Use with Caution
Some pins are reserved for critical functions like bootstrapping, JTAG debugging, USB communication, and flash memory operations. Misusing these pins may lead to boot failures, programming issues, USB conflicts, or disruptions in flash storage. Below is a list of pins to avoid or use with caution, categorized for clarity:
- π οΈ Strapping Pins (Boot Mode & System Behavior) - These pins control boot behavior and flash voltage selection. Pulling them high or low at reset can impact boot mode selection, voltage settings, or debugging access. Avoid altering their state unless necessary.
- π JTAG Debugging Pins - JTAG is used for low-level debugging and programming. If JTAG is enabled, these pins must remain dedicated to it. Repurposing them as GPIO can disable JTAG debugging features.
- π USB Communication Pins - These pins are used for USB Serial/JTAG communication. If USB debugging or communication is required, they should not be reassigned as GPIO.
- β‘ Flash Memory & SPI Pins - Certain GPIOs are hardwired to SPI flash memory and PSRAM. Using them as standard GPIOs may result in system instability, corrupted storage, or boot failure.
- π‘ UART Serial Communication Pins - By default, these pins are used for serial debugging, console output, and firmware uploads. Repurposing them for general I/O may break UART programming or debugging capabilities.
PIN | Label | Reason | Function |
---|---|---|---|
IO4 | MTMS | Used during boot; required for JTAG debugging; flash data in internal-flash models. | π οΈ Strapping |
IO5 | MTDI | Used during boot; required for JTAG debugging; flash data in internal-flash models. | π οΈ Strapping |
IO6 | MTCK | Required for JTAG debugging; connected to flash clock in internal-flash models. | π JTAG |
IO7 | MTDO | Required for JTAG debugging; connected to flash data in internal-flash models. | π JTAG |
IO8 | GPIO8 | Determines boot mode; pulling low at reset can prevent normal boot. | π οΈ Strapping |
IO9 | GPIO9 | Pulling low on reset forces the ESP32-C6 into download mode instead of normal boot. | π οΈ Strapping |
π Key Takeaway:
- Before using any GPIO, check if it is assigned a critical function.
- Avoid using bootstrapping pins unless you're modifying boot behavior intentionally.
- If JTAG debugging is needed, ensure its pins remain free.
- USB and Flash-related GPIOs should remain dedicated unless you disable their default functions.
β Pins Safe to use
- πΉ IO2
- πΉ IO3
- πΉ IO10
- πΉ IO20
- πΉ IO21
Unlike restricted pins, these GPIOs are not tied to essential system functions like π οΈ bootstrapping, π USB communication, π JTAG debugging, or β‘ SPI flash memory, making them the best choices for custom applications and general use.
Why Are These Pins Safe?- Not involved in bootstrapping β These GPIOs do not affect the deviceβs boot mode or system startup.
- Not linked to flash memory or PSRAM β They wonβt interfere with storage or memory access.
- Not dedicated to USB or JTAG β They remain free for general use without affecting debugging or programming.
- No special hardware connections β Unlike some pins that are internally wired to system functions, these remain freely assignable.
πΊοΈ XIAO ESP32C6 External Pins Mapping Functions
Below you can find the XIAO ESP32C6 pinout. This development board provides 11 digital IO pins, out of which 11 can be used as an external interrupt pins , 7 as analog input pins and 11 pins have Pulse-Width Modulation (PWM) .
Pin | Function | ESP Pin | Input/Output | Description |
---|---|---|---|---|
1 | 5V | 5V | POWER INPUT | 5V power input |
2 | GND | GND | GROUND | Ground connection |
3 | 3V3 | 3.3V | POWER OUTPUT | 3.3V power output |
4 | IO2 | A0 | BIDIRECTIONAL | GPIO, ADC |
5 | IO3 | A1 | BIDIRECTIONAL | GPIO, ADC |
6 | IO4 | A2 | BIDIRECTIONAL | GPIO, ADC |
7 | IO5 | A3 | BIDIRECTIONAL | GPIO, ADC |
8 | IO6 | SDA | BIDIRECTIONAL | GPIO, I2C Data |
9 | IO7 | SCL | BIDIRECTIONAL | GPIO, I2C Clock |
10 | IO8 | SCK | BIDIRECTIONAL | GPIO, SPI Clock |
11 | IO9 | MISO | BIDIRECTIONAL | GPIO, SPI Data |
12 | IO10 | MOSI | BIDIRECTIONAL | GPIO, SPI Data |
13 | IO20 | RX | BIDIRECTIONAL | GPIO, UART Receive |
14 | IO21 | TX | BIDIRECTIONAL | GPIO, UART Transmit |
πΊοΈ XIAO ESP32C6 Pins Mapping Arduino IDE
Below you can find the XIAO ESP32C6 pinout. This development board provides 11 digital IO pins, out of which 11 can be used as an external interrupt pins , 7 as analog input pins and 11 pins have Pulse-Width Modulation (PWM) .
Pin | Analog | Touch | PWM | Other |
---|---|---|---|---|
2 | A0 | |||
3 | A1 | |||
4 | A2 | |||
5 | A3 | |||
6 | SDA | |||
7 | SCL | |||
8 | SCK | |||
9 | MISO | |||
10 | MOSI | |||
20 | RX SS | |||
21 | TX |
π οΈ Default Tools
Bootloader tool | esptool_py |
Uploader tool | esptool_py |
Network uploader tool | esp_ota |
Bootloader address | 0x0 |
Flash mode | qio |
Boot mode | qio |
PSRAM type | |
Maximum upload size |
1920 Kb
(1966080 B)
|
Maximum data size |
640 Kb
(655360 B)
|
The XIAO ESP32C6 development board by default uses esptool_py uploader tool, esp_ota network uploader tool for Over-the-air (OTA) uploads and esptool_py bootloader tool. The bootloader starts at address "0x0". Flash mode and boot mode for XIAO ESP32C6 development board by default is qio and qio respectively.