Datasheet
Table Of Contents
- Product Overview
- 1 ESP32-C3 Series Comparison
- 2 Pin Definition
- 3 Functional Description
- 3.1 CPU and Memory
- 3.2 System Clocks
- 3.3 Analog Peripherals
- 3.4 Digital Peripherals
- 3.4.1 General Purpose Input / Output Interface (GPIO)
- 3.4.2 Serial Peripheral Interface (SPI)
- 3.4.3 Universal Asynchronous Receiver Transmitter (UART)
- 3.4.4 I2C Interface
- 3.4.5 I2S Interface
- 3.4.6 Remote Control Peripheral
- 3.4.7 LED PWM Controller
- 3.4.8 General DMA Controller
- 3.4.9 USB Serial/JTAG Controller
- 3.4.10 TWAI® Controller
- 3.5 Radio and Wi-Fi
- 3.6 Bluetooth LE
- 3.7 Low Power Management
- 3.8 Timers
- 3.9 Cryptographic Hardware Accelerators
- 3.10 Physical Security Features
- 3.11 Peripheral Pin Configurations
- 4 Electrical Characteristics
- 5 Package Information
- 6 Related Documentation and Resources
- Revision History
3 Functional Description
3.4 Digital Peripherals
3.4.1 General Purpose Input / Output Interface (GPIO)
ESP32-C3 has 22 or 16 GPIO pins which can be assigned various functions by configuring corresponding
registers. Besides digital signals, some GPIOs can be also used for analog functions, such as ADC.
All GPIOs have selectable internal pull-up or pull-down, or can be set to high impedance. When these GPIOs are
configured as an input, the input value can be read by software through the register. Input GPIOs can also be set
to generate edge-triggered or level-triggered CPU interrupts. All digital IO pins are bi-directional, non-inverting
and tristate, including input and output buffers with tristate control. These pins can be multiplexed with other
functions, such as the UART, SPI, etc. For low-power operations, the GPIOs can be set to holding state.
The IO MUX and the GPIO matrix are used to route signals from peripherals to GPIO pins. Together they provide
highly configurable I/O. Using GPIO Matrix, peripheral input signals can be configured from any IO pins while
peripheral output signals can be configured to any IO pins. Table 6 shows the IO MUX functions of each pin. For
more information about IO MUX and GPIO matrix, please refer to Chapter IO MUX and GPIO Matrix (GPIO,
IO_MUX) in ESP32-C3 Technical Reference Manual.
Table 6: IO MUX Pin Functions
Name No. Function 0 Function 1 Function 2 Reset Notes
XTAL_32K_P 4 GPIO0 GPIO0 — 0 R
XTAL_32K_N 5 GPIO1 GPIO1 — 0 R
GPIO2 6 GPIO2 GPIO2 FSPIQ 1 R
GPIO3 8 GPIO3 GPIO3 — 1 R
MTMS 9 MTMS GPIO4 FSPIHD 1 R
MTDI 10 MTDI GPIO5 FSPIWP 1 R
MTCK 12 MTCK GPIO6 FSPICLK 1* G
MTDO 13 MTDO GPIO7 FSPID 1 G
GPIO8 14 GPIO8 GPIO8 — 1 —
GPIO9 15 GPIO9 GPIO9 — 3 —
GPIO10 16 GPIO10 GPIO10 FSPICS0 1 G
VDD_SPI 18 GPIO11 GPIO11 — 0 —
SPIHD 19 SPIHD GPIO12 — 3 —
SPIWP 20 SPIWP GPIO13 — 3 —
SPICS0 21 SPICS0 GPIO14 — 3 —
SPICLK 22 SPICLK GPIO15 — 3 —
SPID 23 SPID GPIO16 — 3 —
SPIQ
1
24 SPIQ GPIO17 — 3 —
GPIO18 25 GPIO18 GPIO18 — 0 USB, G
GPIO19 26 GPIO19 GPIO19 — 0* USB
U0RXD 27 U0RXD GPIO20 — 3 G
U0TXD 28 U0TXD GPIO21 — 4 —
1
For ESP32-C3FH4AZ, pins within the frame (namely pin 19 ∼ pin 24) are not bonded, and are labelled
as ”not connected”.
Espressif Systems 20
Submit Documentation Feedback
ESP32-C3 Series Datasheet v1.2