Datasheet docs

{ "name": "Espressif Systems", "mpn": "ESP32-S2" }

Espressif ESP32-S2 Wi-Fi MCU

Bare Espressif ESP32-S2 single-core Wi-Fi 4 microcontroller SoC in QFN56 7 x 7 mm package with native USB OTG, 43 programmable GPIOs, touch/ADC/DAC-capable RTC IO, UART, SPI, I2C-capable GPIO matrix, external flash/PSRAM SPI bus, and 2.8-3.6 V main supply domains. This is the SoC record, not an ESP32-S2 module or development board.

MCU

ESP32-S2 Series

Datasheet Version 1.8

Xtensa® single-core 32-bit LX7 microprocessor 2.4 GHz Wi-Fi (802.11 b/g/n) Optional flash and PSRAM in the chip’s package 43 GPIOs, rich set of peripherals QFN56 (7×7 mm) package

Including:

ESP32-S2

ESP32-S2FH2

ESP32-S2FH4

ESP32-S2FN4R2

ESP32-S2R2

Product Overview

ESP32-S2 is a highly-integrated low-power MCU-based system on a chip (SoC) with 2.4 GHz Wi-Fi. It consists of a single-core microprocessor (Xtensa® 32-bit LX7), a ultra-low-power coprocessor, a Wi-Fi baseband, RF module, and numerous peripherals.

The functional block diagram of the SoC is shown below.

Modules having power in specific power modes:


ESP32-S2 Functional Block Diagram

For more information on power consumption, see Section 4.1.3.3 Power Management Unit.

Features

Wi-Fi

IEEE 802.11 b/g/n-compliant

Supports 20 MHz, 40 MHz bandwidth in 2.4 GHz band

Single-band 1T1R mode with data rate up to 150 Mbps

WMM

TX/RX A-MPDU, RX A-MSDU

Immediate Block ACK

Fragmentation and defragmentation

Automatic Beacon monitoring (hardware TSF)

Four virtual Wi-Fi interfaces

Simultaneous support for Infrastructure Station, SoftAP, and Promiscuous modes

Note that when ESP32-S2 is in Station mode and performs a scan, the SoftAP channel will change along with the Station channel.

Antenna diversity

802.11mc FTM

CPU and Memory

Xtensa® single-core 32-bit LX7 microprocessor, up to 240 MHz

CoreMark® score:

– 1 core at 240 MHz: 542.80 CoreMark; 2.26 CoreMark/MHz

ROM: 128 KB

SRAM: 320 KB

SRAM in RTC: 16 KB

In-package flash and PSRAM (see details in Chapter 1 ESP32-S2 Series Comparison)

• SPI/QSPI/OSPI supports multiple flash and external RAM chips

Access to flash accelerated by cache

Supports flash in-Circuit Programming (ICP)

Advanced Peripheral Interfaces

43 programmable GPIOs

Digital interfaces:

– Four SPIs

– I2S

– Two I2Cs

– Two UARTs

– RMT (TX/RX)

– LED PWM controller, up to 8 channels

– Four pulse counters

– Full-speed USB OTG

– DVP 8/16 camera interface, implemented using the hardware resources of I2S

– LCD interface (8-bit serial RGB/8080/6800), implemented using the hardware resources of SPI2

– LCD interface (8/16/24-bit parallel), implemented using the hardware resources of I2S

– DMA controller

– TWAI® controller compatible with ISO 11898-1 (CAN Specification 2.0)

Analog interfaces:

– Two 12-bit SAR ADCs, up to 20 channels

– Two 8-bit DACs

– 14 touch sensing GPIOs

– Temperature sensor

Timers:

– 64-bit general-purpose timer

– 64-bit system timer

– Three watchdog timers

– Super watchdog timer

– XTAL32K watchdog timer

Power Management

Fine-resolution power control through a selection of clock frequency, duty cycle, Wi-Fi operating modes, and individual power control of internal components

Five power modes designed for typical scenarios: Active, Modem-sleep, Light-sleep, Deep-sleep, Hibernation

Ultra-Low-Power (ULP) coprocessors:

– ULP-RISC-V coprocessor

– ULP-FSM coprocessor

RTC memory remains powered on in Deep-sleep mode

Security

Secure boot - permission control on accessing internal and external memory

Flash encryption - memory encryption and decryption

4096-bit OTP, up to 1792 bits for users

Cryptographic hardware acceleration:

– AES-128/192/256 (FIPS PUB 197)

– Hash (FIPS PUB 180-4)

– RSA

– Random Number Generator (RNG)

– HMAC

– Digital signature

RF Module

Antenna switches, RF balun, power amplifier, low-noise receive amplifier

Up to +19.5 dBm of power for an 802.11b transmission

Up to +18 dBm of power for an 802.11n transmission

Applications

With low power consumption, ESP32-S2 is an ideal choice for IoT devices in the following areas:

Smart Home

Industrial Automation

Generic Low-power IoT Sensor Hubs

• Generic Low-power IoT Data Loggers

Health Care

Consumer Electronics

Cameras for Video Streaming

USB Devices

Smart Agriculture

Speech Recognition

POS Machines

Image Recognition

Service Robot

Audio Devices

Wi-Fi + Bluetooth Networking Card

Touch and Proximity Sensing

Contents

Product Overview
Features
Applications
1 ESP32-S2 Series Comparison
1.1 Nomenclature
1.2 Comparison
2 Pins
2.1 Pin Layout
2.2 Pin Overview
2.3 IO Pins
2.3.1 IO MUX Functions
2.3.2 RTC Functions
2.3.3 RTC Functions
2.3.4 Analog Functions
2.3.5 Restrictions for GPIOs and RTC_GPIOs
2.3.6 Peripheral Pin Assignment
2.4 Analog Pins
2.5 Power Supply
2.5.1 Power Pins
2.5.2 Power Scheme
2.5.3 Chip Power-up and Reset
2.6 Pin Mapping Between Chip and Flash/PSRAM
3 Boot Configurations
3.1 Chip Boot Mode Control
3.2 VDD_SPI Voltage Control
3.3 ROM Messages Printing Control
4 Functional Description
4.1 System
4.1.1 Microprocessor and Master
4.1.1.1 CPU
4.1.1.2 ULP Coprocessor
4.1.1.3 DMA Controller

4.1.2 Memory Organization 33
4.1.2.1 Internal Memory 34
4.1.2.2 External Memory 35
4.1.2.3 Cache 35
4.1.3 System Components 35
4.1.3.1 Clock 35
4.1.3.2 System Timer 36
4.1.3.3 Power Management Unit 37
4.1.4 Cryptography and Security Component 38
4.1.4.1 Cryptographic Hardware Accelerators 38
4.1.4.2 Physical Security Features 38
4.2 Peripherals 39
4.2.1 Connectivity Interface 39
4.2.1.1 General Purpose Input / Output Interface (GPIO) 39
4.2.1.2 SPI Controller 39
4.2.1.3 LCD Controller 41
4.2.1.4 UART Controller 41
4.2.1.5 I2C Controller 42
4.2.1.6 I2S Controller 42
4.2.1.7 Camera Interface 42
4.2.1.8 Remote Control Peripheral 43
4.2.1.9 Pulse Count Controller 43
4.2.1.10 LED PWM Controller 43
4.2.1.11 USB OTG 44
4.2.1.12 Two-wire Automotive Interface 44
4.2.2 Analog Signal Processing 44
4.2.2.1 ADC 44
4.2.2.2 DAC 45
4.2.2.3 Temperature Sensor 45
4.2.2.4 Touch Sensor 45
4.3 Wireless Communication 46
4.3.1 Radio 46
4.3.1.1 2.4 GHz Receiver 46
4.3.1.2 2.4 GHz Transmitter 46
4.3.1.3 Clock Generator 46
4.3.2 Wi-Fi 47
4.3.2.1 Wi-Fi MAC 47
4.3.3 Networking Features 47
5 Electrical Characteristics 48
5.1 Absolute Maximum Ratings 48
5.2 Recommended Operating Conditions 48
5.3 VDD_SPI Output Characteristics 49
5.4 DC Characteristics (3.3 V, 25 °C) 49
5.5 ADC Characteristics 49
5.6 Current Consumption 50

5.6.1 RF Current Consumption in Active Mode 50
5.6.2 Current Consumption in Other Modes 51
5.7 Memory Specifications 52
5.8 Reliability 52
6 RF Characteristics 54
6.1 Wi-Fi Radio 54
6.1.1 Wi-Fi RF Transmitter (TX) Characteristics 54
6.1.2 Wi-Fi RF Receiver (RX) Characteristics 55
7 Packaging 57
ESP32-S2 Consolidated Pin Overview 59
Datasheet Versioning 60
Glossary 61
Related Documentation and Resources 62
Revision History 63

List of Tables

1-1 ESP32-S2 Series Comparison 11
2-1 Pin Overview 13
2-2 Peripheral Signals Routed via IO MUX 16
2-3 IO MUX Functions 17
2-4 RTC Peripheral Signals Routed via RTC IO MUX 19
2-5 RTC Peripheral Signals Routed via RTC IO MUX 19
2-6 RTC Functions 19
2-7 Analog Signals Routed to Analog Functions 21
2-8 Analog Functions 21
2-9 Peripheral Pin Assignment 24
2-10 Analog Pins 25
2-11 Power Pins 26
2-12 Voltage Regulators 26
2-13 Description of Timing Parameters for Power-up and Reset 27
2-14 Pin Mapping Between Chip and Flash or PSRAM 28
3-1 Default Configuration of Strapping Pins 29
3-2 Description of Timing Parameters for the Strapping Pins 30
3-3 Chip Boot Mode Control 30
3-4 VDD_SPI Voltage Control 31
3-5 UART ROM Message Printing Control 31
4-1 Mapping of SPI Signal Buses and Chip Pins 40
5-1 Absolute Maximum Ratings 48
5-2 Recommended Operating Conditions 48
5-3 VDD_SPI Internal and Output Characteristics 49
5-4 DC Characteristics (3.3 V, 25 °C) 49
5-5 ADC Characteristics 50
5-6 ADC Calibration Results 50
5-7 Wi-Fi Current Consumption Depending on RF Modes 51
5-8 Current Consumption in Modem-sleep Mode 51
5-9 Current Consumption in Low-Power Modes 51
5-10 Flash Specifications 52
5-11 Reliability Qualifications 52
6-1 Wi-Fi Frequency 54
6-2 TX Power with Spectral Mask and EVM Meeting 802.11 Standards 54
6-3 TX EVM Test 54
6-4 RX Sensitivity 55
6-5 Maximum RX Level 56
6-6 RX Adjacent Channel Rejection 56
7-1 Consolidated Pin Overview 59

List of Figures

1-1 ESP32-S2 Series Nomenclature 11
2-1 ESP32-S2 Pin Layout (Top View) 12
2-2 ESP32-S2 Power Scheme 27
2-3 Visualization of Timing Parameters for Power-up and Reset 27
3-1 Visualization of Timing Parameters for the Strapping Pins 30
4-1 Address Mapping Structure 34
7-1 QFN56 (7×7 mm) Package, for Variants Excluding ESP32-S2FN4R2 57
7-2 QFN56 (7×7 mm) Package, for ESP32-S2FN4R2 58

1 ESP32-S2 Series Comparison

1.1 Nomenclature


Figure 1-1. ESP32-S2 Series Nomenclature

1.2 Comparison

Table 1-1. ESP32-S2 Series Comparison

Part Number1In-Package Flash5In-Package PSRAMAmbient Temp.2VDD_SPI Voltage3
ESP32-S2——-40 ~ 105 °C33.3 V/1.8 V
ESP32-S2FH22 MB (Quad SPI)4—-40 ~ 105 °C3.3 V
ESP32-S2FH44 MB (Quad SPI)—-40 ~ 105 °C3.3 V
ESP32-S2FN4R24 MB (Quad SPI)2 MB (Quad SPI)-40 ~ 85 °C3.3 V
ESP32-S2R2—2 MB (Quad SPI)-40 ~ 85 °C3.3 V

1 For details on chip marking and packing, see Section 7 Packaging.
2 Ambient temperature specifies the recommended temperature range of the environment immediately outside an Espressif chip.
3 For more information on VDD_SPI, see Section 2.5 Power Supply.
4 For details about SPI modes, see Section 2.6 Pin Mapping Between Chip and Flash/PSRAM.

2 Pins

2.1 Pin Layout


Figure 2-1. ESP32-S2 Pin Layout (Top View)

2.2 Pin Overview

The ESP32-S2 chip integrates multiple peripherals that require communication with the outside world. To keep the chip package size reasonably small, the number of available pins has to be limited. So the only way to route all the incoming and outgoing signals is through pin multiplexing. Pin muxing is controlled via software programmable registers (see ESP32-S2 Technical Reference Manual > Chapter IO MUX and GPIO Matrix).

All in all, the ESP32-S2 chip has the following types of pins:

IO pins with the following predefined sets of functions to choose from:

– Each IO pin has predefined IO MUX functions – see Table 2-3 IO MUX Functions

– Some IO pins have predefined RTC functions – see Table ?? ??

– Some IO pins have predefined analog functions – see Table 2-8 Analog Functions

Predefined functions means that each IO pin has a set of direct connections to certain signals from on-chip peripherals. During run-time, the user can configure which peripheral signal from a predefined set to connect to a certain pin at a certain time via memory mapped registers.

Analog pins that have exclusively-dedicated analog functions – see Table 2-10 Analog Pins

Power pins that supply power to the chip components and non-power pins – see Table 2-11 Power Pins

Table 2-1 Pin Overview gives an overview of all the pins. For more information, see the respective sections for each pin type below, or ESP32-S2 Consolidated Pin Overview.

Table 2-1. Pin Overview

Pin No.Pin NamePin Type $Pin Providing Power^{2 3 4}$ $Pin Settings^5$ $Pin Function Sets^1$
At ResetAfter ResetIO MUXRTC IO MUXAnalog
1VDDAPower
2LNA_INAnalog
3VDD3P3Power
4VDD3P3Power
5GPIO0IOVDD3P3_RTC_IOWPU, IEWPU, IEIO MUXRTC IO MUX
6GPIO1IOVDD3P3_RTC_IOIEIEIO MUXRTC IO MUXAnalog
7GPIO2IOVDD3P3_RTC_IOIEIEIO MUXRTC IO MUXAnalog
8GPIO3IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
9GPIO4IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
10GPIO5IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
11GPIO6IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
12GPIO7IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
13GPIO8IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
14GPIO9IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
15GPIO10IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
16GPIO11IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
17GPIO12IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
18GPIO13IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
19GPIO14IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog

Cont’d on next page

Cont’d from previous page

Pin No.Pin NamePin Type $Pin Providing Power^{2\ 3\ 4}$ $Pin Settings^{5}$ $Pin Function Sets^{1}$
At ResetAfter ResetIO MUXRTC IO MUXAnalog
20VDD3P3_RTCPower
21XTAL_32K_PIOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
22XTAL_32K_NIOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
23DAC_1IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
24DAC_2IOVDD3P3_RTC_IOIEIO MUXRTC IO MUXAnalog
25GPIO19IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
26GPIO20IOVDD3P3_RTC_IOIO MUXRTC IO MUXAnalog
27VDD3P3_RTC_IOPower
28GPIO21IOVDD3P3_RTC_IOIO MUXRTC IO MUX
29SPICS1IOVDD_SPIWPU, IEWPU, IEIO MUX
30VDD_SPIPower
31SPIHDIOVDD_SPIWPU, IEWPU, IEIO MUX
32SPIWPIOVDD_SPIWPU, IEWPU, IEIO MUX
33SPICSOIOVDD_SPIWPU, IEWPU, IEIO MUX
34SPICLKIOVDD_SPIWPU, IEWPU, IEIO MUX
35SPIQIOVDD_SPIWPU, IEWPU, IEIO MUX
36SPIDIOVDD_SPIWPU, IEWPU, IEIO MUX
37GPIO33IOVDD_SPI/VDD3P3_CPUIEIO MUX
38GPIO34IOVDD_SPI/VDD3P3_CPUIEIO MUX
39GPIO35IOVDD_SPI/VDD3P3_CPUIEIO MUX
40GPIO36IOVDD_SPI/VDD3P3_CPUIEIO MUX
41GPIO37IOVDD_SPI/VDD3P3_CPUIEIO MUX
42GPIO38IOVDD3P3_CPUIEIO MUX
43MTCKIOVDD3P3_CPU $IE^6$ IO MUX
44MTDOIOVDD3P3_CPUIEIO MUX
45VDD3P3_CPUPower
46MTDIIOVDD3P3_CPUIEIO MUX
47MTMSIOVDD3P3_CPUIEIO MUX
48UOTXDIOVDD3P3_CPUWPU, IEWPU, IEIO MUX
49UORXDIOVDD3P3_CPUWPU, IEWPU, IEIO MUX
50GPIO45IOVDD3P3_CPUWPD, IEWPD, IEIO MUX
51VDDAPower
52XTAL_NAnalog
53XTAL_PAnalog
54VDDAPower
55GPIO46IOVDD3P3_CPUWPD, IEWPD, IEIO MUX
56CHIP_PUAnalogVDD3P3_RTC_IO
  1. Bold marks the pin function set in which a pin has its default function in the default boot mode. See Section 3.1 Chip Boot Mode Control.

  2. In column Pin Providing Power, regarding pins powered by VDD_SPI:
    Power actually comes from the internal power rail supplying power to VDD_SPI. For details, see Section 2.5.2 Power Scheme.

  3. In column Pin Providing Power, regarding pins powered by VDD3P3_CPU / VDD_SPI:
    Pin Providing Power (either VDD3P3_CPU or VDD_SPI) can be configured via a register, see ESP32-S2 Technical Reference Manual > Chapter IO MUX and GPIO Matrix.

  4. Default drive strength for all IO pins is 20 mA.

  5. Column Pin Settings shows predefined settings at reset and after reset with the following abbreviations:

IE – input enabled

WPU – internal weak pull-up resistor enabled

WPD – internal weak pull-down resistor enabled

  1. Depends on the value of EFUSE_DIS_PAD_JTAG

0 - WPU is enabled

1 - pin floating

2.3 IO Pins

2.3.1 IO MUX Functions

The IO MUX allows multiple input/output signals to be connected to a single input/output pin. Each IO pin of ESP32-S2 can be connected to one of the five signals (IO MUX functions, i.e., F0-F4), as listed in Table 2-3 IO MUX Functions.

Among the five sets of signals:

Some are routed via the GPIO Matrix (GPIO0, GPIO1, etc.), which incorporates internal signal routing circuitry for mapping signals programmatically. It gives the pin access to almost any peripheral signals. However, the flexibility of programmatic mapping comes at a cost as it might affect the latency of routed signals. For details about connecting to peripheral signals via GPIO Matrix, see ESP32-S2 Technical Reference Manual > Chapter IO MUX and GPIO Matrix.

Some are directly routed from certain peripherals (U0TXD, MTCK, etc.), including UART0/1, JTAG, SPI0/1, and SPI2 - see Table 2-2 Peripheral Signals Routed via IO MUX.

Table 2-2. Peripheral Signals Routed via IO MUX

Pin FunctionSignalDescription
U...TXDTransmit dataUARTO/1 interface
U...RXDReceive data
U...RTSRequest to send
U...CTSClear to send
MTCKTest clockJTAG interface for debugging
MTDOTest Data Out
MTDITest Data In
MTMSTest Mode Select
SPIQMaster in, slave out3.3 V SPIO/1 interface for connection to in-package or off-package flash/PSRAM via the SPI bus. It supports 1-, 2-, 4-line SPI modes. See also Section 2.6 Pin Mapping Between Chip and Flash/PSRAM
SPIDMaster out, slave in
SPIHDHold
SPIWPWrite protect
SPICLKClock
SPICS...Chip select
SPIIO...DataThe higher 4 bits data line interface and DQS interface for 3.3 V SPIO/1 interface in 8-line SPI mode
SPIDQSData strobe/data mask
SUBSPIQMaster in, slave out1.8 V SPIO/1 interface for connection to in-package or off-package flash/PSRAM via the SUBSPI bus. It supports 1-, 2-, 4-line SPI modes
SUBSPIDMaster out, slave in
SUBSPIHDHold
SUBSPIWPWrite protect
SUBSPICLKClock
SUBSPICS...Chip select
FSPIQMaster in, slave outSPI2 interface for fast SPI connection. It supports 1-, 2-, 4-line SPI modes
FSPIDMaster out, slave in
FSPIHDHold
FSPIWPWrite protect
FSPICLKClock
FSPICSOChip select
FSPIIO...DataThe higher 4 bits data line interface and DQS interface for SPI2 interface in 8-line SPI mode Cont'd on next page

Table 2-2 – cont’d from previous page

Pin FunctionSignalDescription
FSPIDQSData strobe/data mask
CLK_OUT...Clock outputOutput clock signals generated by the chip's internal components

Table 2-3 IO MUX Functions shows the IO MUX functions of IO pins.

Table 2-3. IO MUX Functions

Pin No.GPIOIO MUX Function
F0TypeF1TypeF2TypeF3TypeF4Type
5GPIO0GPIO0I/O/TGPIO0I/O/T
6GPIO1GPIO1I/O/TGPIO1I/O/T
7GPIO2GPIO2I/O/TGPIO2I/O/T
8GPIO3GPIO3I/O/TGPIO3I/O/T
9GPIO4GPIO4I/O/TGPIO4I/O/T
10GPIO5GPIO5I/O/TGPIO5I/O/T
11GPIO6GPIO6I/O/TGPIO6I/O/T
12GPIO7GPIO7I/O/TGPIO7I/O/T
13GPIO8GPIO8I/O/TGPIO8I/O/TSUBSPICS1O/T
14GPIO9GPIO9I/O/TGPIO9I/O/TSUBSPIHDI1/O/TFSPIHDI1/O/T
15GPIO10GPIO10I/O/TGPIO10I/O/TFSPII04I1/O/TSUBSPICS0O/TFSPICS0I1/O/T
16GPIO11GPIO11I/O/TGPIO11I/O/TFSPII05I1/O/TSUBSPIDI1/O/TFSPIDI1/O/T
17GPIO12GPIO12I/O/TGPIO12I/O/TFSPII06I1/O/TSUBSPICLKO/TFSPICLKI1/O/T
18GPIO13GPIO13I/O/TGPIO13I/O/TFSPII07I1/O/TSUBSPIQI1/O/TFSPIQI1/O/T
19GPIO14GPIO14I/O/TGPIO14I/O/TFSPIDQSO/TSUBSPIWPI1/O/TFSPIWPI1/O/T
21GPIO15GPIO15I/O/TGPIO15I/O/TUORTSO
22GPIO16GPIO16I/O/TGPIO16I/O/TUOCTSI1
23GPIO17GPIO17I/O/TGPIO17I/O/TU1TXDO
24GPIO18GPIO18I/O/TGPIO18I/O/TU1RXDI1CLK_OUT3O
25GPIO19GPIO19I/O/TGPIO19I/O/TU1RTSOCLK_OUT2O
26GPIO20GPIO20I/O/TGPIO20I/O/TU1CTSI1CLK_OUT1O
28GPIO21GPIO21I/O/TGPIO21I/O/T
29GPIO26SPICS1O/TGPIO26I/O/T
31GPIO27SPIHDI1/O/TGPIO27I/O/T
32GPIO28SPIWPI1/O/TGPIO28I/O/T
33GPIO29SPICS0O/TGPIO29I/O/T
34GPIO30SPICLKO/TGPIO30I/O/T
35GPIO31SPIQI1/O/TGPIO31I/O/T
36GPIO32SPIDI1/O/TGPIO32I/O/T
37GPIO33GPIO33I/O/TGPIO33I/O/TFSPIHDI1/O/TSUBSPIHDI1/O/TSPII04I1/O/T
38GPIO34GPIO34I/O/TGPIO34I/O/TFSPICSOI1/O/TSUBSPICS0O/TSPII05I1/O/T
39GPIO35GPIO35I/O/TGPIO35I/O/TFSPIDI1/O/TSUBSPIDI1/O/TSPII06I1/O/T
40GPIO36GPIO36I/O/TGPIO36I/O/TFSPICLKI1/O/TSUBSPICLKO/TSPII07I1/O/T
41GPIO37GPIO37I/O/TGPIO37I/O/TFSPIQI1/O/TSUBSPIQI1/O/TSPIDQSI0/O/T

Cont’d on next page

Cont’d from previous page

Pin No.GPIOIO MUX Function
F0TypeF1TypeF2TypeF3TypeF4Type
42GPIO38GPIO38I/O/TGPIO38I/O/TFSPIWPI1/O/TSUBSPIWPI1/O/T
43GPIO39MTCKI1GPIO39I/O/TCLK_OUT3OSUBSPICS1O/T
44GPIO40MTDOO/TGPIO40I/O/TCLK_OUT2O
46GPIO41MTDII1GPIO41I/O/TCLK_OUT1O
47GPIO42MTMSI0GPIO42I/O/T
48GPIO43UOTXDOGPIO43I/O/TCLK_OUT1O
49GPIO44UORXDI1GPIO44I/O/TCLK_OUT2O
50GPIO45GPIO45I/O/TGPIO45I/O/T
55GPIO46GPIO46IGPIO46I

1 Bold marks the default pin functions in the default boot mode. See Section 3.1 Chip Boot Mode Control. 2 Regarding highlighted cells, see Section 2.3.5 Restrictions for GPIOs and RTC_GPIOs.
3 Each IO MUX function (Fn, n = 0 ~ 4) is associated with a type. The description of type is as follows: I – input. O – output. T – high impedance.
I1 – input; if the pin is assigned a function other than Fn, the input signal of Fn is always 1.
I0 – input; if the pin is assigned a function other than Fn, the input signal of Fn is always 0.

2.3.2 RTC Functions

When the chip is in Deep-sleep mode, the IO MUX described in Section 2.3.1 IO MUX Functions will not work. That is where the RTC IO MUX comes in. It allows multiple input/output signals to be a single input/output pin in Deep-sleep mode, as the pin is connected to the RTC system and powered by VDD3P3_RTC.

RTC IO pins can be assigned to RTC functions. They can

• Either work as RTC GPIOs (RTC_GPIO0, RTC_GPIO1, etc.), connected to the ULP coprocessor

Or connect to RTC peripheral signals (sar_i2c_scl_0, sar_i2c_sda_0, etc.) - see Table 2-5 RTC Peripheral Signals Routed via RTC IO MUX

Table 2-4. RTC Peripheral Signals Routed via RTC IO MUX

Pin FunctionSignalDescription
sar_i2c_scl...Serial clockRTC I2C0/1 interface
sar_i2c_sda...Serial data

Table ?? ?? shows the RTC functions of RTC IO pins.

2.3.3 RTC Functions

When the chip is in Deep-sleep mode, the IO MUX described in Section 2.3.1 IO MUX Functions will not work. That is where the RTC IO MUX comes in. It allows multiple input/output signals to be a single input/output pin in Deep-sleep mode, as the pin is connected to the RTC system and powered by VDD3P3_RTC.

RTC IO pins can be assigned to RTC functions. They can

Either work as RTC GPIOs (RTC_GPIO0, RTC_GPIO1, etc.), connected to the ULP coprocessor

Or connect to RTC peripheral signals (sar_i2c_scl_0, sar_i2c_sda_0, etc.) - see Table 2-5 RTC Peripheral Signals Routed via RTC IO MUX

Table 2-5. RTC Peripheral Signals Routed via RTC IO MUX

Pin FunctionSignalDescription
sar_i2c_scl...Serial clockRTC I2C0/1 interface
sar_i2c_sda...Serial data

Table 2-6 RTC Functions shows the RTC functions of RTC IO pins.

Table 2-6. RTC Functions

PinNo.RTCIO Name $^{1}$ RTC Function $^{2}$
F0F1F2F3
5RTC_GPIO0RTC_GPIO0sar_i2c_scl_0
6RTC_GPIO1RTC_GPIO1sar_i2c_sda_0
7RTC_GPIO2RTC_GPIO2sar_i2c_scl_1
8RTC_GPIO3RTC_GPIO3sar_i2c_sda_1
9RTC_GPIO4RTC_GPIO4
10RTC_GPIO5RTC_GPIO5

Cont’d on next page

Table 2-6 – cont’d from previous page

Pin No.RTC IO Name $^{1}$ RTC Function $^{2}$
F0F1F2F3
11RTC_GPIO6RTC_GPIO6
12RTC_GPIO7RTC_GPIO7
13RTC_GPIO8RTC_GPIO8
14RTC_GPIO9RTC_GPIO9
15RTC_GPIO10RTC_GPIO10
16RTC_GPIO11RTC_GPIO11
17RTC_GPIO12RTC_GPIO12
18RTC_GPIO13RTC_GPIO13
19RTC_GPIO14RTC_GPIO14
21RTC_GPIO15RTC_GPIO15
22RTC_GPIO16RTC_GPIO16
23RTC_GPIO17RTC_GPIO17
24RTC_GPIO18RTC_GPIO18
25RTC_GPIO19RTC_GPIO19
26RTC_GPIO20RTC_GPIO20
28RTC_GPIO21RTC_GPIO21

1 This column lists the RTC GPIO names, since RTC functions are configured with RTC GPIO registers that use RTC GPIO numbering.
2 Regarding highlighted cells, see Section 2.3.5 Restrictions for GPIOs and RTC_GPIOs.

2.3.4 Analog Functions

Some IO pins also have analog functions, for analog peripherals (such as ADC) in any power mode. Internal analog signals are routed to these analog functions, see Table 2-7 Analog Signals Routed to Analog Functions.

Table 2-7. Analog Signals Routed to Analog Functions

Pin FunctionSignalDescription
TOUCH...Touch sensor channel ... signalTouch sensor interface
ADC..._CH...ADC1/2 channel ... signalADC1/2 interface
XTAL_32K_NNegative clock signal32 kHz external clock input/output
XTAL_32K_PPositive clock signalconnected to ESP32-S2's crystal or oscillator
USB_D-Data -USB OTG
USB_D+Data +
DAC...DAC...Digital-to-Analog converter

Table 2-8 Analog Functions shows the analog functions of IO pins.
Table 2-8. Analog Functions

Pin No. $RTC\ IO^1$ Analog Function
F0F1
6RTC_GPIO1TOUCH1ADC1_CH0
7RTC_GPIO2TOUCH2ADC1_CH1
8RTC_GPIO3TOUCH3ADC1_CH2
9RTC_GPIO4TOUCH4ADC1_CH3
10RTC_GPIO5TOUCH5ADC1_CH4
11RTC_GPIO6TOUCH6ADC1_CH5
12RTC_GPIO7TOUCH7ADC1_CH6
13RTC_GPIO8TOUCH8ADC1_CH7
14RTC_GPIO9TOUCH9ADC1_CH8
15RTC_GPIO10TOUCH10ADC1_CH9
16RTC_GPIO11TOUCH11ADC2_CH0
17RTC_GPIO12TOUCH12ADC2_CH1
18RTC_GPIO13TOUCH13ADC2_CH2
19RTC_GPIO14TOUCH14ADC2_CH3
21RTC_GPIO15XTAL_32K_PADC2_CH4
22RTC_GPIO16XTAL_32K_NADC2_CH5
23RTC_GPIO17DAC_1ADC2_CH6
24RTC_GPIO18DAC_2ADC2_CH7
25RTC_GPIO19USB_D-ADC2_CH8
26RTC_GPIO20USB_D+ADC2_CH9

1 This column lists the RTC GPIO names, since analog functions are configured with RTC GPIO registers that use RTC GPIO numbering.
2 Regarding highlighted cells, see Section 2.3.5 Restrictions for GPIOs and RTC_GPIOs.

2.3.5 Restrictions for GPIOs and RTC_GPIOs

All IO pins of ESP32-S2 have GPIO and some have RTC_GPIO pin functions. However, the IO pins are multiplexed and can be configured for different purposes based on the requirements. Some IOs have restrictions for usage. It is essential to consider the multiplexed nature and the limitations when using these IO pins.

In tables of this chapter, some pin functions are in red or yellow These functions indicate pins that require extra caution when used as GPIO / GPIO :

IO Pins – allocated for communication with in-package flash/PSRAM and NOT recommended for other uses. For details, see Section 2.6 Pin Mapping Between Chip and Flash/PSRAM.

IO Pins – have one of the following important functions:

– Strapping pins – need to be at certain logic levels at startup. See Section 3 Boot Configurations.

Note:

Strapping pins are highlighted by Pin Name or configurations At Reset, instead of the pin functions.

– USB_D+/- – by default, connected to the USB OTG. To function as GPIOs, these pins need to be reconfigured.

– JTAG interface – often used for debugging. See Table 2-2 Peripheral Signals Routed via IO MUX.

– UART0 interface – often used for debugging. See Table 2-2 Peripheral Signals Routed via IO MUX.

8-line SPI interface – no restrictions, unless the chip is connected to flash/PSRAM using 8-line SPI mode.

For more information about assigning pins, please see Section 2.3.6 Peripheral Pin Assignment and ESP32-S2 Consolidated Pin Overview.

2.3.6 Peripheral Pin Assignment

Table 2-9 Peripheral Pin Assignment highlights which pins can be assigned to each peripheral interface according to the following priorities:

Priority 1 (P1) : Fixed pins connected directly to peripheral signals via IO MUX or RTC IO MUX. If a peripheral interface does not have priority 1 pins, such as UART2, it can be assigned to any GPIO pins from priority 2 to priority 4.

Any GPIO pins mapping to peripheral signals via GPIO Matrix, can be priority 2, 3, or 4.

Priority 2 (P2) : GPIO pins can be freely used without restrictions.

Priority 3 (P3) : GPIO pins should be used with caution, as they may conflict with the following important functions described in Section 2.3.5 Restrictions for GPIOs and RTC_GPIOs:

GPIO0, GPIO45, GPIO46 : Strapping pins.

GPIO39, GPIO40, GPIO41, GPIO42 : JTAG interface.

X GPIO43, GPIO44 : UART0 interface.

* GPIO33, GPIO34, GPIO35, GPIO36, GPIO37 : The higher 4 bits data line interface and DQS interface for the SPI0/1 interface in 8-line SPI mode, and can be GPIO pins if the chip is not connected to flash or PSRAM in 8-line SPI mode.

Priority 4 (P4) : GPIO pins already allocated or not recommended for use, as described in Section 2.3.5 Restrictions for GPIOs and RTC_GPIOs:

GPIO26, GPIO27, GPIO28, GPIO29, GPIO30, GPIO31, GPIO32 : SPI0/1 interface connected to the in-package flash and PSRAM, or recommended for the off-package flash and PSRAM.

If a peripheral interface does not have priority 2 to 4 pins, such as USB Serial/JTAG, it means it can be assigned only to priority 1 pins.

Note:

For details about which peripheral signals are connected to IO MUX or RTC IO MUX pins, please refer to Section 2.3.1 IO MUX Functions or Section 2.3.3 RTC Functions.

For details about which peripheral signals can be assigned to GPIO pins, please refer to ESP32-S2 Technical Reference Manual > Chapter IO MUX and GPIO Matrix > Section Peripheral Signal List.

Ta ble 2-9 . Peri phera l Pi n Assig n ment

Pin No.Pin NameADC1ADC2DACTouch SensorJTAGUART0UART1SPI0/SPI1 (recommended)SPI0/SPI1 (alternative)SPI2 (recommended)SPI2 (alternative)SPI3USB OTGI2SI2CPCNTRMTTWA1LEDC
1VDDA
2LNA_IN
3VDD3P3
4VDD3P3
5GPIO0GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)GPIO0 (P3)
6GPIO1ADC1_CH0 (P1)TOUCH1 (P1)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)GPIO1 (P2)
7GPIO2ADC1_CH1 (P1)TOUCH2 (P1)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)GPIO2 (P2)
8GPIO3ADC1_CH2 (P1)TOUCH3 (P1)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)GPIO3 (P2)
9GPIO4ADC1_CH3 (P1)TOUCH4 (P1)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)GPIO4 (P2)
10GPIO5ADC1_CH4 (P1)TOUCH5 (P1)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)GPIO5 (P2)
11GPIO6ADC1_CH5 (P1)TOUCH6 (P1)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)GPIO6 (P2)
12GPIO7ADC1_CH6 (P1)TOUCH7 (P1)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)GPIO7 (P2)
13GPIO8ADC1_CH7 (P1)TOUCH8 (P1)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)SUBSPICS1 (P1)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)GPIO8 (P2)
14GPIO9ADC1_CH8 (P1)TOUCH9 (P1)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)SUBSPHD (P1)FSPIHD (P1)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)GPIO9 (P2)
15GPIO10ADC1_CH9 (P1)TOUCH10 (P1)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)SUBSPCSO (P1)FSPCSO (P1)FSPII04 (P1)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)GPIO10 (P2)
16GPIO11ADC2_CH0 (P1)TOUCH11 (P1)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)SUBSPID (P1)FSPID (P1)FSPII05 (P1)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)GPIO11 (P2)
17GPIO12ADC2_CH1 (P1)TOUCH12 (P1)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)SUBSPICLK (P1)FSPICLK (P1)FSPII06 (P1)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)GPIO12 (P2)
18GPIO13ADC2_CH2 (P1)TOUCH13 (P1)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)SUBSPIQ (P1)FSPIQ (P1)FSPII07 (P1)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)GPIO13 (P2)
19GPIO14ADC2_CH3 (P1)TOUCH14 (P1)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)SUBSPIWP (P1)FSPIWP (P1)FSPIDQS (P1)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)GPIO14 (P2)
20VDD3P3_RTC
21XTAL_32K_PADC2_CH4 (P1)UORTS (P1)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)GPIO15 (P2)
22XTAL_32K_NADC2_CH5 (P1)UCTS (P1)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)GPIO16 (P2)
23DAC_1ADC2_CH6 (P1)DAC_1 (P1)GPIO17 (P2)UTTXD (P1)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)GPIO17 (P2)
24DAC_2ADC2_CH7 (P1)DAC_2 (P1)GPIO18 (P2)UIRXD (P1)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)GPIO18 (P2)
25GPIO19ADC2_CH8 (P1)GPIO19 (P3)UIRTS (P1)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)USB_D- (P1)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)GPIO19 (P3)
26GPIO20ADC2_CH9 (P1)GPIO20 (P3)UICTS (P1)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)USB_D+ (P1)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)GPIO20 (P3)
27VDD3P3_RTC_IO
28GPIO21GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO21 (P2)GPIO2 1(P2)
29SPICS1GPIO26 (P4)GPIO26 (P4)SPICS1 (P1)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)GPIO26 (P4)
30VDD_SPI
31SPIHDGPIO27 (P4)GPIO27 (P4)SPIHD (P1)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)GPIO27 (P4)
32SPIWPGPIO28 (P4)GPIO28 (P4)SPIWP (P1)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)GPIO28 (P4)
33SPICSOGPIO29 (P4)GPIO29 (P4)SPICSO (P1)GPIO29 (P4)GPIO29 (P4)FSPIHD (P1)GPIO29 (P4)GPIO29 (P4)GPIO29 (P4)GPIO29 (P4)GPIO29 (P4)GPIO29 (P4)GPIO29 (P4)GPIO29 (P4)
34SPICLKGPIO30 (P4)GPIO30 (P4)SPICLK (P1)GPIO30 (P4)GPIO30 (P4)FSPICSO (P1)GPIO30 (P4)GPIO30 (P4)GPIO30 (P4)GPIO30 (P4)GPIO30 (P4)GPIO30 (P4)GPIO30 (P4)GPIO30 (P4)
35SPIQGPIO31 (P4)GPIO31 (P4)SPIQ (P1)GPIO31 (P4)GPIO31 (P4)FSPID (P1)GPIO31 (P4)GPIO31 (P4)GPIO31 (P4)GPIO31 (P4)GPIO31 (P4)GPIO31 (P4)GPIO31 (P4)GPIO31 (P4)
36SPIDGPIO32 (P4)GPIO32 (P4)SPID (P1)GPIO32 (P4)GPIO32 (P4)FSPICLK (P1)GPIO32 (P4)GPIO32 (P4)GPIO32 (P4)GPIO32 (P4)GPIO32 (P4)GPIO32 (P4)GPIO32 (P4)GPIO32 (P4)
37GPIO33GPIO33 (P3)GPIO33 (P3)SPI04 (P1)SUBSPHD (P1)GPIO33 (P3)FSPIQ (P1)GPIO33 (P3)GPIO33 (P3)GPIO33 (P3)GPIO33 (P3)GPIO33 (P3)GPIO33 (P3)GPIO33 (P3)GPIO33 (P3)
38GPIO34GPIO34 (P3)GPIO34 (P3)SPI05 (P1)SUBSPICSO (P1)GPIO34 (P3)FSPIWP (P1)GPIO34 (P3)GPIO34 (P3)GPIO34 (P3)GPIO34 (P3)GPIO34 (P3)GPIO34 (P3)GPIO34 (P3)GPIO34 (P3)
39GPIO35GPIO35 (P3)GPIO35 (P3)SPI06 (P1)SUBSPID (P1)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)GPIO35 (P3)
40GPIO36GPIO36 (P3)GPIO36 (P3)SPI07 (P1)SUBSPICLK (P1)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)GPIO36 (P3)
41GPIO37GPIO37 (P3)GPIO37 (P3)SPIDQS (P1)SUBSPIQ (P1)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)GPIO37 (P3)
42GPIO38GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)SUBSPIWP (P1)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)GPIO38 (P2)
43MTCKMTCK (P1)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)SUBSPICS1 (P1)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)GPIO39 (P3)
44MTDOMTDO (P1)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO40 (P3)GPIO 40(P3)
45VDD3P3_CPU
46MTDIMTDI (P1)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO41 (P3)GPIO 41(P3)
47MTMSMTMS (P1)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO42 (P3)GPIO 42(P3)
48UOTXDUOTXD (P1)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO43 (P3)GPIO 43(P3)
49UORXDUORXD (P1)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO44 (P3)GPIO 44(P3)
50GPIO45GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO45 (P3)GPIO 45(P3)
51VDDA
52XTAL_N
53XTAL_P
54VDDA
55GPIO46GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO46 (P3)GPIO4 6(P3)
56CHIP_PU

2 Sig n a ls of UART0 UART1 S P I 0/1 S P I 2 a n d U S B OTG i nte rfa ces ca n be m a p ped to a ny G P I O pi ns th ro u g h th e G P I O M atrix reg a rd l ess of wh eth e r th ey a re d i rectly ro uted to fixed pi ns via I O M UX
1 Fo r U S B OTG, u se U S B D - a n d U S B D + wh e n o n i nte rn a l P HY, a n d th e U S B D - a n d U S B D + ca n be swa p ped by co nfi g u ri n g th e E F U S E U S B EXC H G P I N S b it a cco rd i n g to ESP32-S2 Technical Reference Manual; u se a ny G P I Os vi a G P I O M atrix wh e n o n exte rn a l P HY

2.4 Analog Pins

Table 2-10. Analog Pins

Pin No.Pin NamePin TypePin Function
2LNA_INI/OLow Noise Amplifier (RF LNA) input / output signals
52XTAL_N—External clock input/output connected to ESP32-S2's oscillator.P/N means differential clock positive/negative.
53XTAL_P
56CHIP_PUIHigh: on, the chip is started up.Low: off, the chip is shut down.Note: Do not leave the CHIP_PU pin floating.

2.5 Power Supply

2.5.1 Power Pins

The chip is powered via the power pins described in Table 2-11 Power Pins.

Table 2-11. Power Pins

Pin No.Pin NameDirectionPower Supply
Power Domain/OtherIO Pins
1VDDAInputAnalog power domain
3VDD3P3InputAnalog power domain
4VDD3P3InputAnalog power domain
20VDD3P3_RTCInputRTC domain
27VDD3P3_RTC_IOInputRTC and part of Digital power domainsRTC IO
30VDD_SPI 3,4InputIn-package memory (backup power line)
OutputIn-package and off-package flash/PSRAMSPI IO
45VDD3P3_CPUInputDigital power domainDigital IO
51VDDAInputAnalog power domain
54VDDAInputAnalog power domain
57GND—External ground connection

1 See in conjunction with Section 2.5.2 Power Scheme.
2 For recommended and maximum voltage and current, see Section 5.1 Absolute Maximum Ratings and Section 5.2 Recommended Operating Conditions.
3 To configure VDD_SPI as input or output, see ESP32-S2 Technical Reference Manual > Chapter Low-power Management.
4 To configure output voltage, see Section 3.2 VDD_SPI Voltage Control and Section 5.3 VDD_SPI Output Characteristics.
5 RTC IO pins are those powered by VDD3P3_RTC_IO and so on, as shown in Figure 2-2 ESP32-S2 Power Scheme. See also Table 2-1 Pin Overview > Column Pin Providing Power.

2.5.2 Power Scheme

The power scheme is shown in Figure 2-2 ESP32-S2 Power Scheme.

The components on the chip are powered via voltage regulators.

Table 2-12. Voltage Regulators

Voltage RegulatorOutputPower Supply
Digital1.1 VDigital power domain
Low-power1.1 VRTC power domain
Flash1.8 VCan be configured to power in-package flash/PSRAM or off-package memory


Figure 2-2. ESP32-S2 Power Scheme

2.5.3 Chip Power-up and Reset

Once the power is supplied to the chip, its power rails need a short time to stabilize. After that, CHIP_PU – the pin used for power-up and reset – is pulled high to activate the chip. For information on CHIP_PU as well as power-up and reset timing, see Figure 2-3 and Table 2-13.


Figure 2-3. Visualization of Timing Parameters for Power-up and Reset

Table 2-13. Description of Timing Parameters for Power-up and Reset

ParameterDescriptionMin (μs)
$t_{STBL}$ Time reserved for the power rails of VDDA, VDD3P3, VDD3P3_RTC, VDD3P3_RTC_IO, and VDD3P3_CPU to stabilize before the CHIP_PU pin is pulled high to activate the chip50
$t_{RST}$ Time reserved for CHIP_PU to stay below $V_{IL\_nRST}$ to reset the chip (see Table 5-4)50
Notice:
Do not use the pins connected to in-package flash/PSRAM for any other purposes.

2.6 Pin Mapping Between Chip and Flash/PSRAM

Table 2-14 lists the pin mapping between the chip and flash/PSRAM for all SPI modes.

For chip variants with in-package flash/PSRAM (see Table 1-1 ESP32-S2 Series Comparison), the pins allocated for communication with in-package flash/PSRAM can be identified depending on the SPI mode used.

For off-package flash/PSRAM, these are the recommended pin mappings.

For more information on SPI controllers, see also Section 4.2.1.2 SPI Controller.

Table 2-14. Pin Mapping Between Chip and Flash or PSRAM

Pin No.Pin NameSingle SPIDual SPIQuad SPI/QPIOctal SPI/OPI
FlashPSRAMFlashPSRAMFlashPSRAMFlashPSRAM
29SPICS1CE#CE#CE#CE#
31SPIHDHOLD#SIO3HOLD#SIO3HOLD#SIO3DQ3SIO3
32SPIWPWP#SIO2WP#SIO2WP#SIO2DQ2DQ3
33SPICSOCS#CS#CS#CS#
35SPIQDOSO/SIO1DOSO/SIO1DOSO/SIO1DQ1DQ2
36SPIDDISI/SIOODISI/SIOODISI/SIOODQODQ1
37GPIO33DQ4DQ4
38GPIO34DQ5DQ5
39GPIO35DQ6DQ6
40GPIO36DQ7DQ7
41GPIO37DQS/DMDQS/DM

1 CS0 is for in-package flash
2 CS1 is for in-package PSRAM

3 Boot Configurations

The chip allows for configuring the following boot parameters through strapping pins and eFuse parameters at power-up or a hardware reset, without microcontroller interaction.

Chip boot mode

– Strapping pins: GPIO0 and GPIO46

VDD_SPI voltage

– Strapping pin: GPIO45

– eFuse parameters: EFUSE_VDD_SPI_FORCE and EFUSE_VDD_SPI_TIEH

ROM message printing

– Strapping pin: GPIO46

– eFuse parameters: EFUSE_UART_PRINT_CONTROL and EFUSE_UART_PRINT_CHANNEL

The default values of all the above eFuse parameters are 0, which means that they are not burnt. Given that eFuse is one-time programmable, once programmed to 1, it can never be reverted to 0. For how to program eFuse parameters, please refer to ESP32-S2 Technical Reference Manual > Chapter eFuse Controller.

The default values of the strapping pins, namely the logic levels, are determined by pins’internal weak pull-up/pull-down resistors at reset if the pins are not connected to any circuit, or connected to an external high-impedance circuit.

Table 3-1. Default Configuration of Strapping Pins

Strapping PinDefault ConfigurationBit Value
GPIO0Weak pull-up1
GPIO45Weak pull-down0
GPIO46Weak pull-down0

To change the bit values, the strapping pins should be connected to external pull-down/pull-up resistances. If the ESP32-S2 is used as a device by a host MCU, the strapping pin voltage levels can also be controlled by the host MCU.

All strapping pins have latches. At system reset, the latches sample the bit values of their respective strapping pins and store them until the chip is powered down or shut down. The states of latches cannot be changed in any other way. It makes the strapping pin values available during the entire chip operation, and the pins are freed up to be used as regular IO pins after reset.

The timing of signals connected to the strapping pins should adhere to the setup time and hold time specifications in Table 3-2 and Figure 3-1.

Table 3-2. Description of Timing Parameters for the Strapping Pins

ParameterDescriptionMin (ms)
$t_{SU}$ Setup time is the time reserved for the power rails to stabilize before the CHIP_PU pin is pulled high to activate the chip.0
$t_H$ Hold time is the time reserved for the chip to read the strapping pin values after CHIP_PU is already high and before these pins start operating as regular IO pins.3


Figure 3-1. Visualization of Timing Parameters for the Strapping Pins

3.1 Chip Boot Mode Control

GPIO0 and GPIO46 control the boot mode after the reset is released. See Table 3-3 Chip Boot Mode Control.

Table 3-3. Chip Boot Mode Control

Boot ModeGPIO0GPIO46
SPI boot mode1Any value
Joint download boot mode $^{2}$ 00

1 Bold marks the default value and configuration.
2 Joint Download Boot mode supports the fol-

lowing download methods:

USB-OTG Download Boot

UART Download Boot

SPI Download Boot

3.2 VDD_SPI Voltage Control

The required VDD_SPI voltage for the chips of the ESP32-S2 Series can be found in Table 1-1 ESP32-S2 Series Comparison.

Depending on the value of EFUSE_VDD_SPI_FORCE, the voltage can be controlled in two ways.

Table 3-4. VDD_SPI Voltage Control

VDD_SPI power source2VoltageEFUSE_VDD_SPI_FORCEGPIO45EFUSE_VDD_SPI_TIEH
VDD3P3_RTC via RSPI3.3 V00Ignored
1Ignored1
Flash Voltage Regulator1.8 V01Ignored
1Ignored0

1 Bold marks the default value and configuration.
2 See Section 2.5.2 Power Scheme.

3.3 ROM Messages Printing Control

During the boot process, the messages by the ROM code can be printed to:

(Default) UART0

UART1

EFUSE_UART_PRINT_CONTROL and GPIO46 control ROM messages printing to UART as shown in Table 3-5 UART ROM Message Printing Control.

EFUSE_UART_PRINT_CHANNEL controls if the ROM messages will be printed to UART0 or UART1.

0: UART0

1: UART1

Table 3-5. UART ROM Message Printing Control

UART ROM Code PrintingEFUSE_UART_PRINT_CONTROLGPIO46
Enabled0Ignored
10
21
Disabled11
20
3Ignored

1 Bold marks the default value and configuration.

4 Functional Description

4.1 System

This section describes the core of the chip’s operation, covering its microprocessor, memory organization, system components, and security features.

4.1.1 Microprocessor and Master

This subsection describes the core processing units within the chip and their capabilities.

4.1.1.1 CPU

ESP32-S2 contains one low-power Xtensa® 32-bit LX7 microprocessor with the following features:

7-stage pipeline that supports the clock frequency of up to 240 MHz

16/24-bit Instruction Set providing high code-density

support for 32-bit multiplier and 32-bit divider

unbuffered GPIO instructions

support for 32 interrupts at six levels

support for windowed ABI with 64 physical general registers

• support for trace function with TRAX compressor, up to 16 KB trace memory

JTAG for debugging

For information about the Xtensa® Instruction Set Architecture, please refer to Xtensa® Instruction Set Architecture (ISA) Summary

4.1.1.2 ULP Coprocessor

The ULP co-processor is designed as a simplified, low-power replacement of CPU in sleep modes. It can be also used to supplement the functions of the CPU in normal working mode. The ULP co-processor and RTC memory remain powered on during the Deep-sleep mode. Hence, the developer can store a program for the ULP co-processor in the RTC slow memory to access RTC GPIO, RTC peripheral devices, RTC timers and internal sensors during the Deep-sleep mode.

ESP32-S2 has two ULP co-processors, with one based on RISC-V instruction set architecture (ULP-RISC-V) and the other on finite state machine (ULP-FSM). The clock of the co-processor is the internal 8 MHz oscillator.

ULP-RISC-V has the following features:

support for RV32IMC instruction set

thirty-two 32-bit general-purpose registers

32-bit multiplier and divider

support for interrupts

boot by the CPU, its dedicated timer, or RTC GPIO

ULP-FSM has the following features:

• support for common instructions including arithmetic, jump, and program control instructions

support for on-board sensor measurement instructions

boot by the CPU, its dedicated timer, or RTC GPIO

Note that these two co-processors cannot work simultaneously.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter ULP Coprocessor (ULP).

4.1.1.3 DMA Controller

ESP32-S2 includes a DMA controller that allows peripheral-to-memory and memory-to-memory data transfer at a high speed. It has the following features:

AHB bus architecture

Half-duplex and full-duplex mode

Programmable length of data to be transferred in bytes

INCR burst transfer when accessing internal RAM

Access to an address space of 320 KB at most in internal RAM

Access to an address space of 10.5 MB at most in external RAM

High-speed data transfer using DMA

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter DMA Controller (DMA).

4.1.2 Memory Organization

This subsection describes the memory arrangement to explain how data is stored, accessed, and managed for efficient operation.

Figure 4-1 illustrates the address mapping structure of ESP32-S2.


Figure 4-1. Address Mapping Structure

Note:The memory space with gray background is not available for use.

4.1.2.1 Internal Memory

ESP32-S2’s internal memory includes:

128 KB of ROM: for booting and core functions

320 KB of on-chip SRAM: for data and instructions, running at a configurable frequency of up to 240 MHz.

• RTC FAST Memory: 8 KB of SRAM in RTC. It can be accessed by the main CPU. It can retain data in Deep-sleep mode.

RTC SLOW Memory: 8 KB of SRAM in RTC. It can be accessed by the main CPU or the co-processor. It can retain data in Deep-sleep mode.

4 Kbit of eFuse: 1792 bits are reserved for user data, such as encryption key and device ID.

In-package flash and PSRAM: see details in Chapter 1 ESP32-S2 Series Comparison

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter System and Memory.

4.1.2.2 External Memory

ESP32-S2 supports multiple external QSPI/OSPI flash and RAM chips. It also supports hardware encryption/decryption based on XTS-AES to protect developers’ programs and data in flash and RAM.

The external flash and RAM can be mapped into the CPU instruction memory space and read-only data memory space. The RAM can also be mapped into the CPU data memory space. Up to 1 GB of external flash and RAM can be supported.

Through high-speed caches, ESP32-S2 can support the following mappings at the same time.

Up to 7.5 MB of instruction memory space can be mapped at a time into flash and RAM. If more than 3.5 MB are mapped, cache performance may be slightly reduced due to the CPU’s pipeline characteristics.

Up to 4 MB of read-only data memory space can be mapped into flash or RAM as individual 64 KB blocks. 8-bit, 16-bit and 32-bit reads are supported.

Up to 10.5 MB of read-write data memory space can be mapped into RAM as individual 64 KB blocks. 8-bit, 16-bit and 32-bit reads and writes are supported. Blocks from this 10.5 MB space can also be mapped into flash, for read operations only.

After ESP32-S2 is initialized, firmware can customize the mapping of external RAM or flash into the CPU address space.

For more information, please refer to Chapter ESP32-S2 Technical Reference Manual > Chapter System and Memory.

4.1.2.3 Cache

ESP32-S2 has independent instruction Cache and data Cache that have the following features:

configurable size of 8 KB or 16 KB

4-way set associative

block size of 16 bytes or 32 bytes

pre-load function

lock function

support for critical word first and early restart

4.1.3 System Components

This subsection describes the essential components that contribute to the overall functionality and control of the system.

4.1.3.1 Clock

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Reset and Clock.

CPU Clock

The CPU clock has four possible sources:

external 40 MHz crystal clock

internal 8 MHz oscillator

PLL clock

audio PLL clock

The application can select the clock source from the external crystal clock source, the PLL clock, the audio PLL clock, or the internal 8 MHz oscillator. The selected clock source drives the CPU clock directly, or after division, depending on the application.

Note:

ESP32-S2 is unable to operate without an external crystal clock.

RTC Clock

The RTC slow clock has three possible sources:

external low-speed (32 kHz) crystal clock

internal RC oscillator (typically about 90 kHz, and adjustable)

internal 31.25 kHz clock (derived from the internal 8 MHz oscillator divided by 256)

The RTC fast clock has two possible sources:

external divide-by-4 crystal clock

internal divide-by-N oscillator of 8 MHz

The RTC slow clock is used for RTC counter, RTC watchdog and low-power controller; while the RTC fast clock for RTC peripherals and sensing controllers.

Audio PLL Clock

The audio clock is generated by the low-noise fractional-N PLL.

4.1.3.2 System Timer

64-bit Timers

There are four general-purpose timers embedded in ESP32-S2. They are all 64-bit generic timers which are based on 16-bit prescalers and 64-bit auto-reload-capable up/down-timers.

The timers’ features are summarized as follows:

a 16-bit clock prescaler, from 1 to 65536

• a 64-bit time-base counter programmable to be incrementing or decrementing

able to read real-time value of the time-base counter

halting and resuming the time-base counter

programmable alarm generation

timer value reload (Auto-reload at alarm or software-controlled instant reload)

level and edge interrupt generation

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Timer Group (TIMG).

Watchdog Timers

The ESP32-S2 contains three watchdog timers: one in each of the two timer groups (called Main System Watchdog Timers, or MWDT) and one in the RTC Module (called the RTC Watchdog Timer, or RWDT). Each watchdog timer allows for four separately configurable stages and each stage can be programmed to take one of three (or four for RWDT) actions upon expiry, unless the watchdog is fed or disabled. The actions upon expiry are: interrupt, CPU reset, core reset and system reset. Only RWDT can trigger a system reset that will reset the entire digital circuits, which is the main system including the RTC itself. A timeout value can be set fo each stage individually.

During the flash boot process, RWDT and the first MWDT are enabled automatically in order to detect and recover from booting errors.

Watchdog timers have the following features:

four stages, each with a programmable timeout value. Each stage can be configured and enabled/disabled separately

one of three/four (for MWDTs/ RWDT) possible actions (interrupt, CPU reset, core reset and system reset) available upon expiry of each stage

32-bit expiry counter

write protection, to prevent RWDT and MWDT configuration from being altered inadvertently

flash boot protection

If the boot process from an SPI flash does not complete within a predetermined period of time, the watchdog will reboot the entire main system.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Watchdog Timers (WDT).

4.1.3.3 Power Management Unit

With the use of advanced power-management technologies, ESP32-S2 can switch between different power modes.

Active mode: CPU and chip radio are powered on. The chip can receive, transmit, or listen.

Modem-sleep mode: The CPU is operational and the clock speed can be reduced. The Wi-Fi baseband and radio are disabled, but Wi-Fi connection can remain active.

Light-sleep mode: The CPU is paused. The RTC peripherals, as well as the ULP co-processor are running. Any wake-up events (MAC, RTC timer, or external interrupts) will wake up the chip. Wi-Fi connection can remain active.

Deep-sleep mode: Only the RTC memory and RTC peripherals are powered on. Wi-Fi connection data are stored in the RTC memory. The ULP co-processor is functional.

Hibernation mode: The internal 8-MHz oscillator and ULP co-processor are disabled. The RTC recovery memory is powered down. Only one RTC timer on the slow clock and certain RTC GPIOs are active. The RTC timer or the RTC GPIOs can wake up the chip from the Hibernation mode.

For power consumption in different power modes, please refer to Chapter 5.6 Current Consumption.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Low-Power Management (RTC_CNTL).

4.1.4 Cryptography and Security Component

This subsection describes the security features incorporated into the chip, which safeguard data and operations.

4.1.4.1 Cryptographic Hardware Accelerators

ESP32-S2 is equipped with hardware accelerators of general algorithms, such as AES (FIPS PUB 197), ECB/CBC/OFB/CFB/CTR (NIST SP 800-38A), GCM (NIST SP 800-38D), SHA (FIPS PUB 180-4), and RSA, which support independent arithmetic, such as large-number multiplication and large-number modular multiplication. The maximum operation length for RSA and large-number modular multiplication is 4096 bits. The maximum operand length for large-number multiplication is 2048 bits.

4.1.4.2 Physical Security Features

Transparent external flash and RAM encryption (AES-XTS) with software inaccessible key prevents unauthorized readout of user application code or data.

Secure Boot feature uses a hardware root of trust to ensure only signed firmware (with RSA-PSS signature) can be booted.

HMAC module can use a software inaccessible MAC key to generate SHA-HMAC signatures for identity verification, as well as other uses.

• Digital Signature module can use a software inaccessible secure key to generate MAC signatures for identity verification.

4.2 Peripherals

This section describes the chip’s peripheral capabilities, covering connectivity interfaces and on-chip sensors that extend its functionality.

4.2.1 Connectivity Interface

This subsection describes the connectivity interfaces on the chip that enable communication and interaction with external devices and networks.

4.2.1.1 General Purpose Input / Output Interface (GPIO)

ESP32-S2 has 43 GPIO pins which can be assigned various functions by programming the appropriate registers. Some GPIOs can be used both for digital signals but also for analog functions, such as ADC, DAC and touch sensing.

All GPIOs can be configured as internal pull-up or pull-down, or set to high impedance, except for GPIO46, which is fixed to pull-down. When configured as an input, the input value can be read by software through the register. The input can also be set to edge-trigger or level-trigger to generate CPU interrupts. Except for GPIO46 (input only), 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 hold their states.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter IO MUX and GPIO Matrix (GPIO, IO_MUX).

4.2.1.2 SPI Controller

ESP32-S2 features four SPI interfaces (SPI0, SPI1, SPI2 and SPI3). SPI0 and SPI1 can only be configured to operate in SPI memory mode; SPI2 can be configured to operate in SPI memory and general-purpose SPI modes; SPI3 can only be configured to operate in general-purpose SPI mode.

SPI Memory mode In SPI memory mode, SPI0, SPI1 and SPI2 interface with external SPI memory. Data are transferred in unit of byte. Up to 8-line STR/DDR reads and writes are supported. The clock frequency is configurable to a maximum of 80 MHz in STR mode and a maximum of 40 MHz in DDR mode.

SPI2 General-purpose SPI (GP-SPI) mode

When SPI2 acts as a general-purpose SPI, it can operate in master and slave modes. The master mode supports 2-line full-duplex communication and 1-/2-/4-/8-line half-duplex communication. The slave mode supports 2-line full-duplex communication and 1-/2-/4-line half-duplex communication. The host’s clock frequency is configurable. Data are transferred in unit of byte. The clock polarity (CPOL) and phase (CPHA) are also configurable. The SPI2 interface supports DMA.

– In 2-line full-duplex communication mode, the host’s clock frequency is configurable to 80 MHz at most, and the slave’s clock frequency to 40 MHz at most. Four modes of SPI transfer format are supported.

– In 1-/2-/4-/8-line half-duplex communication mode, the host’s clock frequency is configurable to 80 MHz at most and the four modes of SPI transfer format are supported.

– In 1-/2-/4-line half-duplex communication mode, the slave’s clock frequency is configurable to 40 MHz at most, and the four modes of SPI transfer format are also supported.

SPI3 General-purpose SPI (GP-SPI) mode

As a general-purpose SPI interface, SPI3 can operate in master and slave modes, in 2-line full-duplex and 1-line half-duplex communication modes. The host’s clock frequency is configurable. Data are transferred in unit of byte. The clock polarity (CPOL) and phase (CPHA) are also configurable. The SPI3 interface supports DMA.

– In 2-line full-duplex communication mode, the host’s clock frequency is configurable to a maximum of 80 MHz, and the slave’s clock frequency to 40 MHz at most. Four modes of SPI transfer format are supported.

– In 1-line half-duplex communication mode, the host’s clock frequency is configurable to a maximum of 80 MHz, and the slave’s clock frequency to 40 MHz at most. The four modes of SPI transfer format are supported.

The mapping between SPI bus signals and GPIO pins is shown in Table 4-1 Mapping of SPI Signal Buses and Chip Pins:

Table 4-1. Mapping of SPI Signal Buses and Chip Pins

Standard SPIExtended SPI
Full-DuplexHalf-DuplexChip Pad Signals
SPI Signal BusSPI Signal BusPin FunctionsSPI Signal BusFSPI Signal BusSPI3 Signal Bus
MOSIMOSIDSPIDFSPIDSPI3_D
MISO(MISO)QSPIQFSPIQSPI3_Q
CSCSCSSPICSO ~ 1FSPICSO ~ 5SPI3_CSO ~ 2
CLKCLKCLKSPICLKFSPICLKSPI3_CLK
--WPSPIWPFSPIWP-
--HDSPIHDFSPIHDSPI3_HD
--CD-FSPICDSPI3_CD
--DQSSPIDQSFSPIDQSSPI3_DQS
--IO4 ~ 7SPIIO4 ~ 7FSPIIO4 ~ 7-
--VSYNC-FSPI_VSYNC-
--HSYNC-FSPI_HSYNC-
--DE-FSPI_DE-

In most cases, the data port connection between ESP32-S2 and external flash is as follows:

SPI 8-line mode:

SPID (SPID) = IO0

SPIQ (SPIQ) = IO1

SPIWP (SPIWP) = IO2

SPIHD (SPIHD) = IO3

GPIO33 = IO4

GPIO34 = IO5

GPIO35 = IO6

${ \mathsf { G P } } | { \mathsf { O 3 } } 6 = 1 { \mathsf { O 7 } }$

GPIO37 = DQS

SPI 4-line mode:

SPID (SPID) = IO0

SPIQ (SPIQ) = IO1

SPIWP (SPIWP) = IO2

SPIHD (SPIHD) = IO3

SPI 2-line mode:

SPID (SPID) = IO0

SPIQ (SPIQ) = IO1

SPI 1-line mode:

SPID (SPID) = DI

SPIQ (SPIQ) = DO

SPIWP (SPIWP) = WP#

SPIHD (SPIHD) = HOLD#

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter SPI Controller (SPI).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.3 LCD Controller

SPI2 supports parallel 8-bit RGB, I8080 and Moto6800 interfaces. I2S supports 8/16/24-bit parallel interface (8080).

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter SPI Controller (SPI) and ESP32-S2 Technical Reference Manual > Chapter I2S Controller (I2S).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.4 UART Controller

ESP32-S2 has two UART interfaces, i.e., UART0, UART1, which provide asynchronous communication (RS232 and RS485) and IrDA support, communicating at a speed of up to 5 Mbps. UART provides hardware management of the CTS and RTS signals and software flow control (XON and XOFF). All of the interfaces can be accessed by the DMA controller or directly by the CPU.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter UART Controller (UART).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.5 I2C Controller

ESP32-S2 has two I2C bus interfaces which can serve as I2C master or slave, depending on the user’s configuration. The I2C interfaces support:

standard mode (100 Kbit/s)

fast mode (400 Kbit/s)

up to 5 MHz (constrained by SDA pull-up strength)

7-bit/10-bit addressing mode

dual addressing mode

Users can program command registers to control I2C interfaces, so that they have more flexibility.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter I2C Controller (I2C).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.6 I2S Controller

ESP32-S2 includes a standard I2S interface. It can operate in master or slave mode, in full-duplex and half-duplex communication modes, and can be configured to operate with an 8-/16-/24-/32-bit resolution as an input or output channel. BCK clock frequency, from 10 kHz up to 40 MHz, is supported.

The I2S interface has a dedicated DMA controller. PCM interface is supported.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter I2S Controller (I2S).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.7 Camera Interface

ESP32-S2 supports one 8 or 16-bit DVP image sensor, with clock frequency of up to 40 MHz. The camera interface is implemented by using the hardware resources of I2S.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter I2S Controller (I2S).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.8 Remote Control Peripheral

The infrared remote controller supports four channels of infrared remote transmission and reception. By programming the pulse waveform, it supports various infrared and other single wire protocols. Four channels share a 256 × 32-bit block of memory to store the transmitting or receiving waveform.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Remote Control Peripheral (RMT).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.9 Pulse Count Controller

The pulse counter captures pulse and counts pulse edges through multiple modes. It has four channels, each of which captures four signals at a time. The four input signals include two pulse signals and two control signals.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Pulse Count Controller (PCNT).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.10 LED PWM Controller

The LED PWM controller can generate eight independent channels. The LED PWM controller:

can generate digital waveforms with configurable periods and duties. The accuracy of duty can be up to 18 bits within a 1 ms period.

has multiple clock sources, including APB clock and external crystal clock.

can operate when the CPU is in Light-sleep mode.

supports gradual increase or decrease of duty cycle, which is useful for the LED RGB color-gradient generator.

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter LED PWM Controller (LEDC).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.11 USB OTG

ESP32-S2 features a full-speed USB OTG interface which is compliant with the USB 2.0 specification (Note that it does not support the faster 480 Mbit/s high-speed transfer mode). It has the following features:

software-configurable endpoint settings and suspend/resume

support for dynamic FIFO sizing

support for session request protocol (SRP) and host negotiation protocol (HNP)

a full-speed USB PHY integrated in the chip

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter USB On-The-Go (USB).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.1.12 Two-wire Automotive Interface

ESP32-S2 has a TWAI® controller with the following features:

compatible with ISO 11898-1 protocol (CAN Specification 2.0)

standard frame format (11-bit ID) and extended frame format (29-bit ID)

bit rates from 1 Kbit/s to 1 Mbit/s

multiple modes of operation: Normal, Listen Only, and Self-Test

64-byte receive FIFO

special transmissions: single-shot transmissions and self reception

acceptance filter (single and dual filter modes)

error detection and handling: error counters, configurable error interrupt threshold, error code capture, arbitration lost capture

For more information, please refer to ESP32-S2 Technical Reference Manual > Chapter Two-wire Automotive Interface (TWAI).

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.2 Analog Signal Processing

This subsection describes components on the chip that sense and process real-world data.

4.2.2.1 ADC

ESP32-S2 integrates two 12-bit SAR ADCs and supports measurements on 20 channels (analog-enabled pins). The ULP-coprocessor in ESP32-S2 is also designed to measure voltage. The ULP can operate while the main

CPU is in Deep-sleep mode, which lowers the total power consumption. By using threshold settings, and / or via other triggers or events, we can interrupt the CPU from the sleep state.

The ADCs can be configured to measure voltage on up to 20 pins.

For ADC characteristics, please refer to Table 5.5 ADC Characteristics.

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.2.2 DAC

ESP32-S2 has two 8-bit DAC channels that convert two digital signals into two analog voltage signal outputs. The two DAC channels support independent conversions. The design structure is composed of integrated resistor strings and a buffer. This dual DAC supports VDD3P3_RTC_IO power supply as input voltage reference.

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.2.2.3 Temperature Sensor

The temperature sensor generates a voltage that varies with temperature. The voltage is internally converted via an ADC into a digital value.

The temperature sensor has a range of – ${ } _ { - Q 0 } \circ _ { \mathsf { C } }$ to ${ 1 1 0 } ^ { \circ } \mathrm { C } .$ It is designed primarily to sense the temperature changes inside the chip. The temperature value depends on factors like microcontroller clock frequency or I/O load. Generally, the chip’s internal temperature is higher than the ambient operating temperature.

4.2.2.4 Touch Sensor

ESP32-S2 has 14 capacitive-sensing GPIOs, which detect variations induced by touching or approaching the GPIOs with a finger or other objects. The low-noise nature of the design and the high sensitivity of the circuit allow relatively small pads to be used. Arrays of pads can also be used, so that a larger area or more points can be detected. The touch sensing performance can be further enhanced by the waterproof design and digital filtering feature.

Note:

ESP32-S2 Touch Sensor has not passed the Conducted Susceptibility (CS) test for now, and thus has limited application scenarios.

Pin Assignment

For details, see Section 2.3.6 Peripheral Pin Assignment.

4.3 Wireless Communication

This section describes the chip’s wireless communication capabilities, spanning radio technology and Wi-Fi.

4.3.1 Radio

The ESP32-S2 radio consists of the following blocks:

2.4 GHz receiver

2.4 GHz transmitter

Bias and regulators

Balun and transmit-receive switch

Clock generator

4.3.1.1 2.4 GHz Receiver

The 2.4 GHz receiver demodulates the 2.4 GHz RF signal to quadrature baseband signals and converts them to the digital domain with two high-resolution, high-speed ADCs. To adapt to varying signal channel conditions, RF filters, Automatic Gain Control (AGC), DC offset cancelation circuits and baseband filters are integrated with ESP32-S2.

4.3.1.2 2.4 GHz Transmitter

The 2.4 GHz transmitter modulates the quadrature baseband signals to the 2.4 GHz RF signal, and drives the antenna with a high-powered Complementary Metal Oxide Semiconductor (CMOS) power amplifier. The use of digital calibration further improves the linearity of the power amplifier.

Additional calibrations are integrated to cancel any radio imperfections, such as:

carrier leakage

I/Q amplitude/phase matching

baseband nonlinearities

RF nonlinearities

antenna matching

These built-in calibration routines reduce the cost, time, and specialized equipment required for product testing, and certification.

4.3.1.3 Clock Generator

The clock generator produces quadrature clock signals of 2.4 GHz for both the receiver and the transmitter. All components of the clock generator are integrated into the chip, including all inductors, varactors, filters, regulators and dividers.

The clock generator has built-in calibration and self-test circuits. Quadrature clock phases and phase noise are optimized on-chip with patented calibration algorithms which ensure the best performance of the receiver and the transmitter.

4.3.2 Wi-Fi

The ESP32-S2 Wi-Fi radio and baseband support the following features:

802.11b/g/n

• 802.11n MCS0-7 that supports 20 MHz and 40 MHz bandwidth

802.11n MCS32

802.11n 0.4 µs guard-interval

single stream, data rate up to 150 Mbps

STBC RX (Single spatial stream)

adjustable transmitting power

antenna diversity

ESP32-S2 supports antenna diversity with an external RF switch. One or more GPIOs control the RF switch and select the best antenna to minimize the effects of channel imperfections.

4.3.2.1 Wi-Fi MAC

ESP32-S2 implements the full 802.11 b/g/n Wi-Fi MAC protocol. It supports the Basic Service Set (BSS) STA and SoftAP operations under the Distributed Control Function (DCF). Power management is handled automatically with minimal host interaction to minimize the active-duty period.

The ESP32-S2 Wi-Fi MAC applies low-level protocol functions automatically. They are as follows:

4 × virtual Wi-Fi interfaces

simultaneous Infrastructure BSS Station mode/SoftAP mode/Promiscuous mode

RTS protection, CTS protection, Immediate Block ACK

fragmentation and defragmentation

TX/RX A-MPDU, RX A-MSDU

TXOP

WMM

CCMP, TKIP, WAPI, WEP, BIP

automatic beacon monitoring (hardware TSF)

802.11mc FTM

4.3.3 Networking Features

Users are provided with libraries for TCP/IP networking, ESP-MESH networking, and other networking protocols over Wi-Fi. TLS 1.0, 1.1 and 1.2 support is also provided.

5 Electrical Characteristics

5.1 Absolute Maximum Ratings

Stresses above those listed in Table 5-1 Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only and normal operation of the device at these or any other conditions beyond those indicated in Section 5.2 Recommended Operating Conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.

Table 5-1. Absolute Maximum Ratings

ParameterDescriptionMinMaxUnit
Input power pins1Allowed input voltage-0.33.6V
I $_{output}$ 2Cumulative IO output current—1800mA
T $_{STORE}$ Storage temperature-40150°C

1 For more information on input power pins, see Section 2.5.1 Power Pins.
2 The product proved to be fully functional after all its IO pins were pulled high while being connected to ground for 24 consecutive hours at ambient temperature of $2 5 ^ { \circ } \mathsf { C } .$

5.2 Recommended Operating Conditions

For recommended ambient temperature, see Section 1 ESP32-S2 Series Comparison.

Table 5-2. Recommended Operating Conditions

Parameter1DescriptionMinTypMaxUnit
VDDA, VDD3P3, VDD3P3_RTCRecommended input voltage2.83.33.6V
VDD3P3_RTC_IO2Recommended input voltage3.03.33.6V
VDD_SPI (as input)—1.83.33.6V
VDD3P3_CPU3Recommended input voltage2.83.33.6V
$I_{VDD}$ Cumulative input current0.5——A
$T_J$ Junction temperature-40—125°C

1 See in conjunction with Section 2.5 Power Supply.

2 If VDD3P3_RTC_IO is used to power VDD_SPI (see Section 2.5.2 Power Scheme), the voltage drop on ${ \sf R } _ { S P I }$ should be accounted for. See also Section 5.3 VDD_SPI Output Characteristics.

3 If writing to eFuses, the voltage on VDD3P3_CPU should not exceed 3.3 V as the circuits responsible for burning eFuses are sensitive to higher voltages.

5.3 VDD_SPI Output Characteristics

Table 5-3. VDD_SPI Internal and Output Characteristics

ParameterDescription1TypUnit
$R_{SPI}$ VDD_SPI powered by VDD3P3_RTC via $R_{SPI}$ for 3.3 V flash/PSRAM25Ω
$I_{SPI}$ Output current when VDD_SPI is powered by Flash Voltage Regulator for 1.8 V flash/PSRAM40mA

1 See in conjunction with Section 2.5.2 Power Scheme.
2 VDD3P3_RTC must be more than VDD_flash_min + I_flash_max RSP I ; where

VDD_flash_min – minimum operating voltage of flash/PSRAM

I_flash_max – maximum operating current of flash/PSRAM

5.4 DC Characteristics (3.3 V, $2 5 \ ^ { \circ } \mathrm { C } )$

Table 5-4. DC Characteristics (3.3 V, 25 $^ { \circ } \mathsf { C } )$

ParameterDescriptionMinTypMaxUnit
$C_{IN}$ Pin capacitance—2—pF
$V_{IH}$ High-level input voltage $0.75 \times VDD^{1}$ — $VDD^{1} + 0.3$ V
$V_{IL}$ Low-level input voltage-0.3— $0.25 \times VDD^{1}$ V
$I_{IH}$ High-level input current——50nA
$I_{IL}$ Low-level input current——50nA
$V_{OH}^{2}$ High-level output voltage $0.8 \times VDD^{1}$ ——V
$V_{OL}^{2}$ Low-level output voltage—— $0.1 \times VDD^{1}$ V
$I_{OH}$ High-level source current ( $VDD^{1} = 3.3$ V, $V_{OH} >= 2.64$ V, PAD_DRIVER = 3)—40—mA
$I_{OL}$ Low-level sink current ( $VDD^{1} = 3.3$ V, $V_{OL} = 0.495$ V, PAD_DRIVER = 3)—28—mA
$R_{PU}$ Internal weak pull-up resistor—45—kΩ
$R_{PD}$ Internal weak pull-down resistor—45—kΩ
$V_{IH\_nRST}$ Chip reset release voltage (CHIP_PU voltage is within the specified range) $0.75 \times VDD^{1}$ — $VDD^{1} + 0.3$ V
$V_{IL\_nRST}$ Chip reset voltage (CHIP_PU voltage is within the specified range)-0.3— $0.25 \times VDD^{1}$ V

1 VDD – voltage from a power pin of a respective power domain.
2 $\mathsf { V } _ { O H }$ and $\mathsf { V } _ { O L }$ are measured using high-impedance load.

5.5 ADC Characteristics

The measurements in this section are taken with an external 100 nF capacitor connected to the ADC, using DC signals as input, and at an ambient temperature of ${ 2 5 ^ { \circ } } \mathsf { C }$ with disabled Wi-Fi.

Table 5-5. ADC Characteristics

SymbolParameterMinMaxUnit
DNL (Differential nonlinearity)1ADC connected to an external 100 nF capacitor; DC signal input; Ambient temperature at 25 °C; Wi-Fi off-77LSB
INL (Integral nonlinearity)-1212LSB
Sampling rate——100kSPS2

1 To get better DNL results, you can sample multiple times and apply a filter, or calculate the average value.
2 kSPS means kilo samples-per-second.

Note:
When reading voltages greater than 2450 mV, ADC accuracy will be worse than that in the table above.

The calibrated ADC results after hardware calibration and software calibration are shown in Table 5-6. For higher accuracy, you may implement your own calibration methods.

Table 5-6. ADC Calibration Results

ParameterDescriptionMinMaxUnit
Total errorATTENO, effective measurement range of 0 ~ 700-1010mV
ATTEN1, effective measurement range of 0 ~ 950-1111mV
ATTEN2, effective measurement range of 0 ~ 1200-1313mV
ATTEN3, effective measurement range of 0 ~ 2300-1717mV

Note:

The above ADC measurement range and accuracy are applicable to chips manufactured on and after the Date Code 212023 on shielding cases, or assembled on and after the D/C 1 and D/C 2 2321 on bar-code labels. For chips manufactured or assembled earlier than these date codes, please ask our sales team to provide the actual range and accuracy according to batch.

For details of Date Code and D/C, please refer to Espressif Chip Packaging Information.

5.6 Current Consumption

5.6.1 RF Current Consumption in Active Mode

The current consumption measurements are taken with a 3.3 V supply at 25 °C of ambient temperature at the RF port. All transmitters’ measurements are based on a 100% duty cycle.

Table 5-7. Wi-Fi Current Consumption Depending on RF Modes

$Work\ Mode^{1}$ DescriptionPeak (mA)
Active (RF working)TX802.11b, 20 MHz, 1 Mbps, @19.5 dBm310
802.11g, 20 MHz, 54 Mbps, @15 dBm220
802.11n, 20 MHz, MCS7, @13 dBm200
802.11n, 40 MHz, MCS7, @13 dBm160
$RX^1$ 802.11b/g/n, 20 MHz63
802.11n, 40 MHz68

1 The consumption in RX mode is measured when peripherals are disabled and the CPU is idle.

5.6.2 Current Consumption in Other Modes

The measurements below are applicable to ESP32-S2, ESP32-S2FH2, and ESP32-S2FH4. Since ESP32-S2FN4R2 and ESP32-S2R2 come with in-package PSRAM, their current consumption might be higher.

Table 5-8. Current Consumption in Modem-sleep Mode

ModeCPU Frequency (MHz)DescriptionTyp
All Peripherals Clocks Disabled (mA)All Peripherals Clocks Enabled (mA) $^1$
Modem-sleep $^{2,3}$ 240CPU is idle20.028.0
CPU is running23.032.0
160CPU is idle14.021.0
CPU is running16.024.0
80CPU is idle10.518.4
CPU is running12.020.0

1 In practice, the current consumption might be different depending on which peripherals are enabled. 2 In Modem-sleep mode, Wi-Fi is clock gated.
3 In Modem-sleep mode, the consumption might be higher when accessing flash. For a flash rated at 80 Mbit/s, in SPI 2-line mode the consumption is 10 mA.

Table 5-9. Current Consumption in Low-Power Modes

Work modeDescriptionTyp (μA)
Light-sleep1VDD_SPI and Wi-Fi are powered down, and all GPIOs are high-impedance750
Deep-sleepThe ULP co-processor is powered on2ULP-FSM170
ULP-RISC-V190
ULP sensor-monitored pattern322
RTC timer + RTC memory25
RTC timer only20
Power offCHIP_PU is set to low level, the chip is powered off1

1 In Light-sleep mode, with all related SPI pins pulled up, the current consumption of the embedded PSRAM is 140 $\mu \mathsf { A } .$ . Chip variants with in-package PSRAM include ESP32-S2FN4R2 and ESP32-S2R2.

2 During Deep-sleep, when the ULP co-processor is powered on, peripherals such as GPIO and I2C are able to operate.

3 The “ULP sensor-monitored pattern” refers to the mode where the ULP coprocessor or the sensor works periodically. When touch sensors work with a duty cycle of 1%, the typical current consumption is 22 $\mu \mathsf { A }$

5.7 Memory Specifications

The data below is sourced from the memory vendor datasheet. These values are guaranteed through design and/or characterization but are not fully tested in production. Devices are shipped with the memory erased.

Table 5-10. Flash Specifications

ParameterDescriptionMinTypMaxUnit
VCCPower supply voltage (1.8 V)1.651.802.00V
Power supply voltage (3.3 V)2.73.33.6V
$F_{C}$ Maximum clock frequency80——MHz
—Program/erase cycles100,000——cycles
$T_{RET}$ Data retention time20——years
$T_{PP}$ Page program time—0.85ms
$T_{SE}$ Sector erase time (4 KB)—70500ms
$T_{BE1}$ Block erase time (32 KB)—0.22s
$T_{BE2}$ Block erase time (64 KB)—0.33s
$T_{CE}$ Chip erase time (16 Mb)—720s
Chip erase time (32 Mb)—2060s
Chip erase time (64 Mb)—25100s
Chip erase time (128 Mb)—60200s
Chip erase time (256 Mb)—70300s

5.8 Reliability

Table 5-11. Reliability Qualifications

Test ItemTest ConditionsTest Standard
HTOL (High Temperature Operating Life)125 °C, 1000 hoursJESD22-A108
ESD (Electro-Static Discharge Sensitivity)HBM (Human Body Mode) $^{1}$ ± 2000 VJS-001
CDM (Charge Device Mode) $^{2}$ ± 1000 VJS-002
Latch upCurrent trigger ± 200 mAJESD78
Voltage trigger 1.5 × VDD $_{max}$

Cont’d on next page

Table 5-11 – cont’d from previous page

Test ItemTest ConditionsTest Standard
PreconditioningBake 24 hours @125 °CMoisture soak (level 3: 192 hours @30 °C, 60% RH)IR reflow solder: 260 + 0 °C, 20 seconds, three timesJ-STD-020, JESD47,JESD22-A113
TCT (Temperature Cycling Test)-65 °C / 150 °C, 500 cyclesJESD22-A104
uHAST (Highly Accelerated Stress Test, unbiased)130 °C, 85% RH, 96 hoursJESD22-A118
HTSL (High Temperature Storage Life)150 °C, 1000 hoursJESD22-A103
LTSL (Low Temperature Storage Life)-40 °C, 1000 hoursJESD22-A119

1 JEDEC document JEP155 states that 500 V HBM allows safe manufacturing with a standard ESD control process.

6 RF Characteristics

This section contains tables with RF characteristics of the Espressif product.

The RF data is measured at the antenna port, where RF cable is connected, including the front-end loss. The front-end circuit is a 0 Ω resistor.

Devices should operate in the center frequency range allocated by regional regulatory authorities. The target center frequency range and the target transmit power are configurable by software. See ESP RF Test Tool and Test Guide for instructions.

Unless otherwise stated, the RF tests are conducted with a 3.3 V (±5%) supply at $2 5 ^ { \circ } \mathrm { C }$ ambient temperature.

6.1 Wi-Fi Radio

Table 6-1. Wi-Fi Frequency

ParameterMin (MHz)Typ (MHz)Max (MHz)
Center frequency of operating channel2412—2484

6.1.1 Wi-Fi RF Transmitter (TX) Characteristics

Table 6-2. TX Power with Spectral Mask and EVM Meeting 802.11 Standards

RateMin (dBm)Typ (dBm)Max (dBm)
802.11b, 1 Mbps—19.5—
802.11b, 11 Mbps—19.5—
802.11g, 6 Mbps—18.0—
802.11g, 54 Mbps—18.0—
802.11n, HT20, MCS0—18.0—
802.11n, HT20, MCS7—17.0—
802.11n, HT40, MCS0—18.0—
802.11n, HT40, MCS7—16.5—

Table 6-3. TX EVM Test

RateMin (dB)Typ (dB)SL $^{1}$ (dB)
802.11b, 1 Mbps, @19.5 dBm—-25-10
802.11b, 11 Mbps, @19.5 dBm—-25-10
802.11g, 6 Mbps, @18 dBm—-28-5
802.11g, 54 Mbps, @18 dBm—-28-25
802.11n, HT20, MCS0, @18 dBm—-26-5

Cont’d on next page

Table 6-3 – cont’d from previous page

RateMin (dB)Typ (dB) $SL^1$ (dB)
802.11n, HT20, MCS7, @17 dBm—-30-27
802.11n, HT40, MCS0, @18 dBm—-28-5
802.11n, HT40, MCS7, @16.5 dBm—-30-27

1 SL stands for standard limit value.

6.1.2 Wi-Fi RF Receiver (RX) Characteristics

Table 6-4. RX Sensitivity

RateMin (dBm)Typ (dBm)Max (dBm)
802.11b, 1 Mbps—-97—
802.11b, 2 Mbps—-95—
802.11b, 5.5 Mbps—-93—
802.11b, 11 Mbps—-88—
802.11g, 6 Mbps—-92—
802.11g, 9 Mbps—-91—
802.11g, 12 Mbps—-89—
802.11g, 18 Mbps—-87—
802.11g, 24 Mbps—-84—
802.11g, 36 Mbps—-80—
802.11g, 48 Mbps—-76—
802.11g, 54 Mbps—-75—
802.11n, HT20, MCS0—-92—
802.11n, HT20, MCS1—-88—
802.11n, HT20, MCS2—-85—
802.11n, HT20, MCS3—-83—
802.11n, HT20, MCS4—-79—
802.11n, HT20, MCS5—-75—
802.11n, HT20, MCS6—-74—
802.11n, HT20, MCS7—-72—
802.11n, HT40, MCS0—-89—
802.11n, HT40, MCS1—-86—
802.11n, HT40, MCS2—-83—
802.11n, HT40, MCS3—-80—
802.11n, HT40, MCS4—-76—
802.11n, HT40, MCS5—-72—
802.11n, HT40, MCS6—-71—
802.11n, HT40, MCS7—-69—

Table 6-5. Maximum RX Level

RateMin (dBm)Typ (dBm)Max (dBm)
802.11b, 1 Mbps—5—
802.11b, 11 Mbps—5—
802.11g, 6 Mbps—5—
802.11g, 54 Mbps—0—
802.11n, HT20, MCS0—5—
802.11n, HT20, MCS7—0—
802.11n, HT40, MCS0—5—
802.11n, HT40, MCS7—0—

Table 6-6. RX Adjacent Channel Rejection

RateMin (dB)Typ (dB)Max (dB)
802.11b, 1 Mbps—35—
802.11b, 11 Mbps—35—
802.11g, 6 Mbps—31—
802.11g, 54 Mbps—14—
802.11n, HT20, MCS0—31—
802.11n, HT20, MCS7—13—
802.11n, HT40, MCS0—19—
802.11n, HT40, MCS7—8—

7 Packaging

The two packages only vary in EPAD size.

For information about tape, reel, and chip marking, please refer to ESP32-S2 Chip Packaging Information.

The pins of the chip are numbered in anti-clockwise order starting from Pin 1 in the top view. For pin numbers and pin names, see also Figure 2-1 ESP32-S2 Pin Layout (Top View).

The recommended land pattern source file (dxf) is available for download. You can view the file with Autodesk Viewer.


Figure 7-1. QFN56 (7×7 mm) Package, for Variants Excluding ESP32-S2FN4R2

SYMBOLMINNOMMAX
TOTAL THICKNESSA0.80.850.9
STAND OFFA100.020.05
MOLD THICKNESSA2---0.65---
L/F THICKNESSA30.203 REF
LEAD WIDTHb0.130.180.23
BODY SIZEXD7 BSC
YE7 BSC
LEAD PITCHe0.4 BSC
EP SIZEXD24.54.64.7
YE24.54.64.7
LEAD LENGTHL0.30.40.5
LEAD TIP TO EXPOSED PAD EDGEK0.8 REF
PACKAGE EDGE TOLERANCEaaa0.1
MOLD FLATNESSccc0.1
COPLANARITYeee0.08
LEAD OFFSETbbb0.07
EXPOSED PAD OFFSETfff0.1

Figure 7-2. QFN56 (7×7 mm) Package, for ESP32-S2FN4R2

ESP32-S2 Consolidated Pin Overview

Table 7-1 . Consolidated Pin Overview

Pin No.Pin NamePin TypePin Providing PowerPin SettingsRTC IO MUX FunctionAnalog FunctionIO MUX Function
At ResetAfter ResetF0F3F0F1F0TypeF1TypeF2TypeF3TypeF4Type
1VDDAPower
2LNA_INAnalog
3VDD3P3Power
4VDD3P3Power
5GPIO0IOVDD3P3_RTC_IOWPU, IEWPU, IERTC_GPIO0sar_i2c_scl_0GPIO0I/O/TGPIO0I/O/T
6GPIO1IOVDD3P3_RTC_IOIEIERTC_GPIO1sar_i2c_sda_0TOUCH1ADC1_CH0GPIO1I/O/TGPIO1I/O/T
7GPIO2IOVDD3P3_RTC_IOIEIERTC_GPIO2sar_i2c_scl_1TOUCH2ADC1_CH1GPIO2I/O/TGPIO2I/O/T
8GPIO3IOVDD3P3_RTC_IORTC_GPIO3sar_i2c_sda_1TOUCH3ADC1_CH2GPIO3I/O/TGPIO3I/O/T
9GPIO4IOVDD3P3_RTC_IORTC_GPIO4TOUCH4ADC1_CH3GPIO4I/O/TGPIO4I/O/T
10GPIO5IOVDD3P3_RTC_IORTC_GPIO5TOUCH5ADC1_CH4GPIO5I/O/TGPIO5I/O/T
11GPIO6IOVDD3P3_RTC_IORTC_GPIO6TOUCH6ADC1_CH5GPIO6I/O/TGPIO6I/O/T
12GPIO7IOVDD3P3_RTC_IORTC_GPIO7TOUCH7ADC1_CH6GPIO7I/O/TGPIO7I/O/T
13GPIO8IOVDD3P3_RTC_IORTC_GPIO8TOUCH8ADC1_CH7GPIO8I/O/TGPIO8I/O/TSUBSPICS1O/T
14GPIO9IOVDD3P3_RTC_IOIERTC_GPIO9TOUCH9ADC1_CH8GPIO9I/O/TGPIO9I/O/TSUBSPIHDI/I/O/TFSPIHDI/I/O/T
15GPIO10IOVDD3P3_RTC_IOIERTC_GPIO10TOUCH10ADC1_CH9GPIO10I/O/TGPIO10I/O/TFSPII04I/I/O/TSUBSPICS0O/TFSPIICS0I/I/O/T
16GPIO11IOVDD3P3_RTC_IOIERTC_GPIO11TOUCH11ADC2_CH0GPIO11I/O/TGPIO11I/O/TFSPII05I/I/O/TSUBSPIDI/I/O/TFSPIDI/I/O/T
17GPIO12IOVDD3P3_RTC_IOIERTC_GPIO12TOUCH12ADC2_CH1GPIO12I/O/TGPIO12I/O/TFSPII06I/I/O/TSUBSPICLKO/TFSPICLKI/I/O/T
18GPIO13IOVDD3P3_RTC_IOIERTC_GPIO13TOUCH13ADC2_CH2GPIO13I/O/TGPIO13I/O/TFSPII07I/I/O/TSUBSPIQI/I/O/TFSPIQI/I/O/T
19GPIO14IOVDD3P3_RTC_IOIERTC_GPIO14TOUCH14ADC2_CH3GPIO14I/O/TGPIO14I/O/TFSPIDQSO/TSUBSPIWPI/I/O/TFSPIWPI/I/O/T
20VDD3P3_RTCPower
21XTAL_32K_PIOVDD3P3_RTC_IORTC_GPIO15XTAL_32K_PADC2_CH4GPIO15I/O/TGPIO15I/O/TUORTSO
22XTAL_32K_NIOVDD3P3_RTC_IORTC_GPIO16XTAL_32K_NADC2_CH5GPIO16I/O/TGPIO16I/O/TUOCTSI1
23DAC_1IOVDD3P3_RTC_IOIERTC_GPIO17DAC_1ADC2_CH6GPIO17I/O/TGPIO17I/O/TUITXDO
24DAC_2IOVDD3P3_RTC_IOIERTC_GPIO18DAC_2ADC2_CH7GPIO18I/O/TGPIO18I/O/TUIRXDI1CLK_OUT3O
25GPIO19IOVDD3P3_RTC_IORTC_GPIO19USB_D-ADC2_CH8GPIO19I/O/TGPIO19I/O/TUIRTSOCLK_OUT2O
26GPIO20IOVDD3P3_RTC_IORTC_GPIO20USB_D+ADC2_CH9GPIO20I/O/TGPIO20I/O/TUICTSI1CLK_OUT1O
27VDD3P3_RTC_IOPower
28GPIO21IOVDD3P3_RTC_IORTC_GPIO21GPIO21I/O/TGPIO21I/O/T
29SPICS1IOVDD_SPIWPU, IEWPU, IESPICS1O/TGPIO26I/O/T
30VDD_SPIPower
31SPIHDIOVDD_SPIWPU, IEWPU, IESPIHDI/I/O/TGPIO27I/O/T
32SPIWPIOVDD_SPIWPU, IEWPU, IESPIWPI/I/O/TGPIO28I/O/T
33SPICS0IOVDD_SPIWPU, IEWPU, IESPICS0O/TGPIO29I/O/T
34SPICLKIOVDD_SPIWPU, IEWPU, IESPICLKO/TGPIO30I/O/T
35SPIQIOVDD_SPIWPU, IEWPU, IESPIQI/I/O/TGPIO31I/O/T
36SPIDIOVDD_SPIWPU, IEWPU, IESPIDI/I/O/TGPIO32I/O/T
37GPIO33IOVDD_SPI/VDD3P3_CPUIEGPIO33I/O/TGPIO33I/O/TFSPIHDI/I/O/TSUBSPIHDI/I/O/TSPIIO4I/I/O/T
38GPIO34IOVDD_SPI/VDD3P3_CPUIEGPIO34I/O/TGPIO34I/O/TFSPICSOI/I/O/TSUBSPICS0O/TSPIIO5I/I/O/T
39GPIO35IOVDD_SPI/VDD3P3_CPUIEGPIO35I/O/TGPIO35I/O/TFSPIDI/I/O/TSUBSPIDI/I/O/TSPIIO6I/I/O/T
40GPIO36IOVDD_SPI/VDD3P3_CPUIEGPIO36I/O/TGPIO36I/O/TFSPICLKI/I/O/TSUBSPICLKO/TSPIIO7I/I/O/T
41GPIO37IOVDD_SPI/VDD3P3_CPUIEGPIO37I/O/TGPIO37I/O/TFSPIQI/I/O/TSUBSPIQI/I/O/TSPIDQSI/O/T
42GPIO38IOVDD3P3_CPUIEGPIO38I/O/TGPIO38I/O/TFSPIWPI/I/O/TSUBSPIWPI/I/O/T
43MTCKIOVDD3P3_CPUIEMTCKI1GPIO39I/O/TCLK_OUT3OSUBSPICS1O/T
44MTDOIOVDD3P3_CPUIEMTDOO/TGPIO40I/O/TCLK_OUT2O
45VDD3P3_CPUPower
46MTDIIOVDD3P3_CPUIEMTDII1GPIO41I/O/TCLK_OUT1O
47MTMSIOVDD3P3_CPUIEMTMSI0GPIO42I/O/T
48UOTXDIOVDD3P3_CPUWPU, IEWPU, IEUOTXDOGPIO43I/O/TCLK_OUT1O
49UORXDIOVDD3P3_CPUWPU, IEWPU, IEUORXDI1GPIO44I/O/TCLK_OUT2O
50GPIO45IOVDD3P3_CPUWPD, IEWPD, IEGPIO45I/O/TGPIO45I/O/T
51VDDAPower
52XTAL_NAnalog
53XTAL_PAnalog
54VDDAPower
55GPIO46IOVDD3P3_CPUWPD, IEWPD, IEGPIO46IGPIO46I
56CHIP_PUAnalogVDD3P3_RTC_IO

* Fo r d eta i l s , see Secti o n 2 Pins . Reg a rd i n g h i g h l i g hted ce l s see Sectio n 2 3 5 Restrictions for GPIOs and RTC GPIOs

Datasheet Versioning

Datasheet VersionStatusWatermarkDefinition
v0.1 ~ v0.5 (excluding v0.5)DraftConfidentialThis datasheet is under development for products in the design stage. Specifications may change without prior notice.
v0.5 ~ v1.0 (excluding v1.0)Preliminary releasePreliminaryThis datasheet is actively updated for products in the verification stage. Specifications may change before mass production, and the changes will be documentation in the datasheet's Revision History.
v1.0 and higherOfficial release—This datasheet is publicly released for products in mass production. Specifications are finalized, and major changes will be communicated via Product Change Notifications (PCN).
Any version—Not Recommended for New Design (NRND) $^{1}$ This datasheet is updated less frequently for products not recommended for new designs.
Any version—End of Life (EOL) $^{2}$ This datasheet is no longer mtained for products that have reached end of life.

1 Watermark will be added to the datasheet title page only when all the product variants covered by this datasheet are not recommended for new designs.
2 Watermark will be added to the datasheet title page only when all the product variants covered by this datasheet have reached end of life.

Glossary

module

A self-contained unit integrated within the chip to extend its capabilities, such as cryptographic modules, RF modules 2

peripheral

A hardware component or subsystem within the chip to interface with the outside world 2

in-package flash

Flash integrated directly into the chip’s package, and external to the chip die 3

off-package flash

Flash external to the chip’s package 16

strapping pin

A type of GPIO pin used to configure certain operational settings during the chip’s power-up, and can be reconfigured as normal GPIO after the chip’s reset 29

eFuse parameter

A parameter stored in an electrically programmable fuse (eFuse) memory within a chip. The parameter can be set by programming EFUSE_PGM_DATAn_REG registers, and read by reading a register field named after the parameter 29

SPI boot mode

A boot mode in which users load and execute the existing code from SPI flash 30

joint download boot mode

A boot mode in which users can download code into flash via the UART or other interfaces (see Table 3-3 Chip Boot Mode Control > Note), and load and execute the downloaded code from the flash or SRAM 30

Related Documentation and Resources

Related Documentation

ESP32-S2 Technical Reference Manual – Detailed information on how to use the ESP32-S2 memory and peripherals.

ESP32-S2 Hardware Design Guidelines – Guidelines on how to integrate the ESP32-S2 into your hardware product.

ESP32-S2 Series SoC Errata – Descriptions of known errors in ESP32-S2 series of SoCs.

Certificates

https://espressif.com/en/support/documents/certificates

ESP32-S2 Product/Process Change Notifications (PCN)

https://espressif.com/en/support/documents/pcns?keys=ESP32-S2

ESP32-S2 Advisories – Information on security, bugs, compatibility, component reliability.

https://espressif.com/en/support/documents/advisories?keys=ESP32-S2

Documentation Updates and Update Notification Subscription

https://espressif.com/en/support/download/documents

Developer Zone

ESP-IDF Programming Guide for ESP32-S2 – Extensive documentation for the ESP-IDF development framework.

ESP-IDF and other development frameworks on GitHub.

https://github.com/espressif

ESP32 BBS Forum – Engineer-to-Engineer (E2E) Community for Espressif products where you can post questions, share knowledge, explore ideas, and help solve problems with fellow engineers.

https://esp32.com/

ESP-FAQ – A summary document of frequently asked questions released by Espressif.

https://espressif.com/projects/esp-faq/en/latest/index.html

The ESP Journal – Best Practices, Articles, and Notes from Espressif folks.

https://blog.espressif.com/

See the tabs SDKs and Demos, Apps, Tools, AT Firmware.

https://espressif.com/en/support/download/sdks-demos

Products

• ESP32-S2 Series SoCs – Browse through all ESP32-S2 SoCs.

https://espressif.com/en/products/socs?id=ESP32-S2

ESP32-S2 Series Modules – Browse through all ESP32-S2-based modules.

https://espressif.com/en/products/modules?id=ESP32-S2

• ESP32-S2 Series DevKits – Browse through all ESP32-S2-based devkits.

https://espressif.com/en/products/devkits?id=ESP32-S2

ESP Product Selector – Find an Espressif hardware product suitable for your needs by comparing or applying filters. https://products.espressif.com/#/product-selector?language=en

Contact Us

See the tabs Sales Questions, Technical Enquiries, Circuit Schematic & PCB Design Review, Get Samples (Online stores), Become Our Supplier, Comments & Suggestions.

https://espressif.com/en/contact-us/sales-questions

Revision History

DateVersionRelease notes
2025.11v1.8Upgraded the document template;Updated the coremark result.
2024.07v1.7According toPCN20240602, upgraded from chip revision v0.0 to chip revision v1.0;Updated the resolution of SAR ADC in Features and Section 4.2.2.1 ADC;Updated Section 6.1 Wi-Fi Radio;Updated the configuration of pin DAC_2 after reset in Appendix A.1. IO MUX.
2023.02v1.6Added Table 3-2 Description of Timing Parameters for the Strapping Pins and Figure 3-1 Visualization of Timing Parameters for the Strapping Pins;Added references to the Technical Reference Manual in Chapter 4Functional Description;Added cumulative IO current to Table 5-1 Absolute Maximum Ratings.
2022.12v1.5Delete feature "Supports external power amplifier";Added a note about Xtensa® Instruction Set Architecture (ISA) Summary in Section 4.1.1.1 CPU;Added the package diagram for ESP32-S2FN4R2 in Chapter 7 Packaging.
2022.09v1.4Updated Figure ESP32-S2 Functional Block Diagram to show power modes;Added CoreMark score in Features;Added a note about external crystal clock in Section 4.1.3.1 CPU Clock;Added Table Mapping of SPI Signal Buses and Chip Pins;Added Section 4.1.1.3 DMA Controller;Added the clock of ULP coprocessor in Section 4.1.1.2 ULP Coprocessor;Added note 3 to Table 5.2 Recommended Operating Conditions;Updated Section 5.6 Current Consumption;Replaced "chip family" with "chip series" following Espressif's taxonomy;Updated Section "Learning Resources" and renamed to "Related Documentation and Resources";Other updates to wording.

Cont’d on next page

Cont’d from previous page

DateVersionRelease notes
2021.06v1.3Added chip variant ESP32-S2R2;Updated Table 5-11 Reliability Qualifications;Added the link to recommended PCB land pattern in Chapter 7 Packaging;Added Chapter 7 ;Other minor updates.
2021.02v1.2Added chip variant ESP32-S2FN4R2;Added information about Section 4.2.1.12 Two-wire Automotive Interface;Updated operating temperature to ambient temperature in Table 1-1 ESP32-S2 Series Comparison;Updated Table 5-7 Wi-Fi Current Consumption Depending on RF Modes;Updated current consumption drawn by ULP-FSM and ULP-RISC-V respectively in Table 5-9 Current Consumption in Low-Power Modes.
2020.09v1.1Added chip variant ESP32-S2FH2、ESP32-S2FH4;Added Chapter 1 ESP32-S2 Series Comparison.
2020.06v1.0Modified the second note under Table Strapping Pins;Modified the frequency of internal RC oscillator in Section 4.1.3.1 RTC Clock from 150 kHz to 90 kHz;Renamed RISCV to RISC-V and ULP-RISCV to ULP-RISC-V in Section 4.1.1.2 ULP Coprocessor;Modified a few figures in Table 5-9 Current Consumption in Low-Power Modes;Added a note about $V_{OH}$ and $V_{OL}$ under Table 5-4 DC Characteristics (3.3 V, 25 °C);Added Table 5-11 Reliability Qualifications;Other small changes.
2019.11v0.4Updated Section 4.1.1.2 ULP Coprocessor;Updated Section 4.1.3.2 System Timer;Updated Table GPIO Matrix;Added documentation feedback hyperlink;Fixed formatting issues;Other small changes.
2019.08v0.3Overall update.
2019.06v0.2Updated Figure 2-2 ESP32-S2 Power Scheme;Updated Section 3 Boot Configurations;Updated Figure 4-1 Address Mapping Structure;Updated Chapter 5 Electrical Characteristics.
2019.04v0.1Preliminary release.

ESPRESSIF

Disclaimer and Copyright Notice

Information in this document, including URL references, is subject to change without notice.

ALL THIRD PARTY’S INFORMATION IN THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES TO ITS AUTHENTICITY AND ACCURACY.

NO WARRANTY IS PROVIDED TO THIS DOCUMENT FOR ITS MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, NOR DOES ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE.

All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein.

The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG.

All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged.

Copyright © 2026 Espressif Systems (Shanghai) Co., Ltd. All rights reserved.

w.espressif.com

Extracted Images

Figures and diagrams from the PDF

Preview the extracted datasheet assets and open any image in a separate tab for closer inspection.

d714f889ec898a6b02abae9d63c30493160287b854f2fa21dbf5fd6d8e21d559.jpg

d714f889ec898a6b02abae9d63c30493160287b854f2fa21dbf5fd6d8e21d559.jpg

a8b4d9ca07c3b712cc02ddc903b16524142e5dc24f326b221ce81a113de1079f.jpg

a8b4d9ca07c3b712cc02ddc903b16524142e5dc24f326b221ce81a113de1079f.jpg

1900968f5154d325d9f691a344d98aea935e0288d0877a981cb45f7816219027.jpg

1900968f5154d325d9f691a344d98aea935e0288d0877a981cb45f7816219027.jpg

cc0b3ec0f982261aa2d834fcce80441328a27b58d411b06846e62ef3314595af.jpg

cc0b3ec0f982261aa2d834fcce80441328a27b58d411b06846e62ef3314595af.jpg

a2ca98712c30ac0c7262299a66cd5628370739e815739b88635d3732883848be.jpg

a2ca98712c30ac0c7262299a66cd5628370739e815739b88635d3732883848be.jpg

07c24315107e77d5165c2bc9c25f176917b9af430eb2fc1d23951de841dbb59a.jpg

07c24315107e77d5165c2bc9c25f176917b9af430eb2fc1d23951de841dbb59a.jpg

9a83b74fefd854ccfd2fe3157d583aa4662611d3cb97e73d3322d6d19efcdca0.jpg

9a83b74fefd854ccfd2fe3157d583aa4662611d3cb97e73d3322d6d19efcdca0.jpg

23809d69372ba1205a4fd541e8e4bff405de1ad8360c5c6f542364ca4dbb5dbe.jpg

23809d69372ba1205a4fd541e8e4bff405de1ad8360c5c6f542364ca4dbb5dbe.jpg

82f30c96844cd4b6998dde9aa19c1505edd22cec6ec34df2e3933aa527ce3741.jpg

82f30c96844cd4b6998dde9aa19c1505edd22cec6ec34df2e3933aa527ce3741.jpg

bb0f9ccb5ed79426eb1aa9ff6cd6fc49e80d7f1b98f1880b960abdbd5d8dc87c.jpg

bb0f9ccb5ed79426eb1aa9ff6cd6fc49e80d7f1b98f1880b960abdbd5d8dc87c.jpg

391311d0cb78f45458402b3b8bea336a49f46a077aaeeae2bf5674f779ed2026.jpg

391311d0cb78f45458402b3b8bea336a49f46a077aaeeae2bf5674f779ed2026.jpg

f212bdf7bf31f5bbc3b5030902d1909225b89b0b76b1a56e281befe1828c6e5a.jpg

f212bdf7bf31f5bbc3b5030902d1909225b89b0b76b1a56e281befe1828c6e5a.jpg

f9901e43c56d58005561d7f571f142f91b1796ccd6982194c0ab9f769ff50b21.jpg

f9901e43c56d58005561d7f571f142f91b1796ccd6982194c0ab9f769ff50b21.jpg

6e50200b58dbda62becaac678921fe32b152cbfcf5829acdb4bfe8fcf5a76631.jpg

6e50200b58dbda62becaac678921fe32b152cbfcf5829acdb4bfe8fcf5a76631.jpg

82e57d5707b71130a4abeb4f108146332fc5ea35211f334a14092961e76b34c7.jpg

82e57d5707b71130a4abeb4f108146332fc5ea35211f334a14092961e76b34c7.jpg

bb3f42574acd4a2e8dfa7bcb4204932890dcb0ee3465c20f8e09de82521055c0.jpg

bb3f42574acd4a2e8dfa7bcb4204932890dcb0ee3465c20f8e09de82521055c0.jpg

31cb1546de032845b5b23b4c6298ccaceec5bd26151a1bb200e4eff3f081cc18.jpg

31cb1546de032845b5b23b4c6298ccaceec5bd26151a1bb200e4eff3f081cc18.jpg

a540e0c2894289fb66ae6ea59bf6aab8cc78bc9fd14dd1d49eb81b961e69c01b.jpg

a540e0c2894289fb66ae6ea59bf6aab8cc78bc9fd14dd1d49eb81b961e69c01b.jpg

7a2301538aad13b0ac20d3a75447ab9bbe87b1ad9dcb5a21f9d38ee40687449f.jpg

7a2301538aad13b0ac20d3a75447ab9bbe87b1ad9dcb5a21f9d38ee40687449f.jpg

ad106a110f937f65fe13e38e53817a0b26bc22a590433ce654286b8482556c53.jpg

ad106a110f937f65fe13e38e53817a0b26bc22a590433ce654286b8482556c53.jpg

cff42b008488a379452e5d69699a9e1df99b67e04cf4541a85290799dea7e112.jpg

cff42b008488a379452e5d69699a9e1df99b67e04cf4541a85290799dea7e112.jpg

901ae6af653b78173447650ca8f11de02b8055bdfde5f3336f64eaef1f1d7966.jpg

901ae6af653b78173447650ca8f11de02b8055bdfde5f3336f64eaef1f1d7966.jpg

6424969a59e98d25e2fa107180bef5de89ff1fb53b084d0f841a9be38dd26c15.jpg

6424969a59e98d25e2fa107180bef5de89ff1fb53b084d0f841a9be38dd26c15.jpg

7812cb66a7bcfda1ce41f336a2ccad1a1c2315dee837aeedfef2cc18ebeb3945.jpg

7812cb66a7bcfda1ce41f336a2ccad1a1c2315dee837aeedfef2cc18ebeb3945.jpg

e0ba3413ed034a6e15852bbe99a735c99e431bf7fb61bd1174d53321344a9f43.jpg

e0ba3413ed034a6e15852bbe99a735c99e431bf7fb61bd1174d53321344a9f43.jpg

e5b3a027086b80e92dbae932fa3668a2da5b279ae9be8d145671a261f207655b.jpg

e5b3a027086b80e92dbae932fa3668a2da5b279ae9be8d145671a261f207655b.jpg

94ba16eaaf3c89489b409ff71b4433a7fc497a681e84603ad22f72d7ce5e8664.jpg

94ba16eaaf3c89489b409ff71b4433a7fc497a681e84603ad22f72d7ce5e8664.jpg

3671a19ce3d1789392ad47fc417795a19a33f46fdf00f1f2f513a45e717ec4a1.jpg

3671a19ce3d1789392ad47fc417795a19a33f46fdf00f1f2f513a45e717ec4a1.jpg

bb0f6fbcc90a50dd746551df98111eb7253817530f295cd4eff818e382391d52.jpg

bb0f6fbcc90a50dd746551df98111eb7253817530f295cd4eff818e382391d52.jpg

20590b4a17721d9ee68a432b1853ca626ebe632210c7ee5b6bf412e0f776fa76.jpg

20590b4a17721d9ee68a432b1853ca626ebe632210c7ee5b6bf412e0f776fa76.jpg

3a28d5cda14809d232e44652ec5a58764c19510a50b724a09d2fc8f6d9dbfdd2.jpg

3a28d5cda14809d232e44652ec5a58764c19510a50b724a09d2fc8f6d9dbfdd2.jpg

ce9f691a2d0d40c3f560aaa355e9c81b53c0e149e65b92d2eab10cecaeffe27d.jpg

ce9f691a2d0d40c3f560aaa355e9c81b53c0e149e65b92d2eab10cecaeffe27d.jpg

8b84e3ffc5137b940351968e884bc9260ae6b2210a6470d52968685c8da2d9a8.jpg

8b84e3ffc5137b940351968e884bc9260ae6b2210a6470d52968685c8da2d9a8.jpg

380da888782698d3fadbebb588a38a546446ff4850f7ed6e55c28dbbdd14e8a5.jpg

380da888782698d3fadbebb588a38a546446ff4850f7ed6e55c28dbbdd14e8a5.jpg

1e12f855efd97ad8441d61c207fa89298f8be6aaef5b413c1b0157e3325a4e23.jpg

1e12f855efd97ad8441d61c207fa89298f8be6aaef5b413c1b0157e3325a4e23.jpg

580949670220bcb55a70ff58bd44d736599b4634ecb2b013f2d0864a57eaee7c.jpg

580949670220bcb55a70ff58bd44d736599b4634ecb2b013f2d0864a57eaee7c.jpg

79402996eb61195ea25ce95ea6008c9fc1de05c634997fa772da9998165c0204.jpg

79402996eb61195ea25ce95ea6008c9fc1de05c634997fa772da9998165c0204.jpg

945dcaba8f8be7c3212043b4b916f2cb9eba748b26eaa408b5a36b1e260616eb.jpg

945dcaba8f8be7c3212043b4b916f2cb9eba748b26eaa408b5a36b1e260616eb.jpg

64874f9e6a3a29efef0d5e7a6259da1da8e362ecf17786972e30286edcab071a.jpg

64874f9e6a3a29efef0d5e7a6259da1da8e362ecf17786972e30286edcab071a.jpg

350ac2b77f5cc8c33fcc9bd9346288894d21ba09b1dc6b33d378505d1d818c94.jpg

350ac2b77f5cc8c33fcc9bd9346288894d21ba09b1dc6b33d378505d1d818c94.jpg

c4cb16302a8160e867dc768b2c353431592618340e2cd53203ee0578be1a6a6f.jpg

c4cb16302a8160e867dc768b2c353431592618340e2cd53203ee0578be1a6a6f.jpg

a801c36ab5b239e9681f25221d3b5ef702b3359b56ed59aec1a682f15b1d7bff.jpg

a801c36ab5b239e9681f25221d3b5ef702b3359b56ed59aec1a682f15b1d7bff.jpg

11ff284ff2dde35ac43022526424c9f676db4ed381fa3260455de3e8f3c59d22.jpg

11ff284ff2dde35ac43022526424c9f676db4ed381fa3260455de3e8f3c59d22.jpg

3807e62db96621697ec99d965e9141954754d878a9dfc9c48e8979645abb0dd9.jpg

3807e62db96621697ec99d965e9141954754d878a9dfc9c48e8979645abb0dd9.jpg

ad1596beb9c65f07e8e22b248522558f11b4d0bda300d2c3b57142dc9ae5ca9a.jpg

ad1596beb9c65f07e8e22b248522558f11b4d0bda300d2c3b57142dc9ae5ca9a.jpg

d0320a7477fe9e0bc8874686ee90acd3ae1f36dfebfc18ea7b511984973657f1.jpg

d0320a7477fe9e0bc8874686ee90acd3ae1f36dfebfc18ea7b511984973657f1.jpg

3aaf0b03e0bc24d9c6181d2eb35ab642574d04c67cf0ecd46c837b56f1a7f666.jpg

3aaf0b03e0bc24d9c6181d2eb35ab642574d04c67cf0ecd46c837b56f1a7f666.jpg

7fccbd9c7b72d2361f67b8f532213435fe69d38eb10f88cb436eaef3be28e541.jpg

7fccbd9c7b72d2361f67b8f532213435fe69d38eb10f88cb436eaef3be28e541.jpg

12243f6a57992b5479ff4bd362f0e59754acc76a2a661d91f37eca4b38b03792.jpg

12243f6a57992b5479ff4bd362f0e59754acc76a2a661d91f37eca4b38b03792.jpg

84ded94dca70a1b7fd9837b634efc88570963c9e41974fffd65636f35ff40285.jpg

84ded94dca70a1b7fd9837b634efc88570963c9e41974fffd65636f35ff40285.jpg

6be95632f87d526519c8f068bb2760001005f9a17ee017985b94f6fd8e1c3d69.jpg

6be95632f87d526519c8f068bb2760001005f9a17ee017985b94f6fd8e1c3d69.jpg

5e79b351db49dd700d7d91ec6bc4bc3c9d9d9617bdd4d3647c6488c2d00f0226.jpg

5e79b351db49dd700d7d91ec6bc4bc3c9d9d9617bdd4d3647c6488c2d00f0226.jpg

70fd89130fc346c9df1e5220ead7a050c04f7a646b2d92f9b3d8c53210af7a40.jpg

70fd89130fc346c9df1e5220ead7a050c04f7a646b2d92f9b3d8c53210af7a40.jpg

5ebc60500de0391dd47879d093e2fdc89055538e28ff0fbd834d0b8d1a636b7e.jpg

5ebc60500de0391dd47879d093e2fdc89055538e28ff0fbd834d0b8d1a636b7e.jpg

4325cfba0dd151a6bf8457abc4ee4f5d8f1cfdfc8a469aac02dbe19e2cb1fa76.jpg

4325cfba0dd151a6bf8457abc4ee4f5d8f1cfdfc8a469aac02dbe19e2cb1fa76.jpg

1b76c72f54d15ba7f43ec97966a854840104a2267825eb70f7fb36420ef95dbe.jpg

1b76c72f54d15ba7f43ec97966a854840104a2267825eb70f7fb36420ef95dbe.jpg

43ba358b977904b3c00df18f3bc55e57ac0059210d6c22dcde9ca9909c3efa41.jpg

43ba358b977904b3c00df18f3bc55e57ac0059210d6c22dcde9ca9909c3efa41.jpg

2107aa2666a2b68604afff44bce2edb83d8cc39111790ef3548a1f292253c1a0.jpg

2107aa2666a2b68604afff44bce2edb83d8cc39111790ef3548a1f292253c1a0.jpg

3aadc872ba4562d54f9a57492c079591fd15b39f6dee95024db91a413ef61e41.jpg

3aadc872ba4562d54f9a57492c079591fd15b39f6dee95024db91a413ef61e41.jpg

8cb2ed9a685110c5f02c30f4fd686cb2d6287a28cbbffc651e0a68d12a370471.jpg

8cb2ed9a685110c5f02c30f4fd686cb2d6287a28cbbffc651e0a68d12a370471.jpg

Agent APIs

Use this datasheet from any agent

Send the page, markdown, chunks, or search endpoint to ChatGPT, Claude, embedr-app, or your own tooling.