Table of Contents

ESP32-Sx Family

 General audience classification icon  General audience classification icon

ESP32-S2

ESP32-S2 General Information

The Espressif ESP32-S2 family is a series of low-power, single-core microcontrollers built on the Espressif IoT platform. They feature a highly integrated SoC (System on Chip) architecture, combining a CPU, WiFi connectivity, and various peripherals in a compact package. The ESP32-S2 chips are designed for IoT applications, smart home devices, wearables and more, offering enhanced security features, low power consumption, and support for various communication protocols. These microcontrollers are known for their cost-effectiveness and capabilities of connected devices. ESP32-S2 SoC is based on an Xtensa single-core 32-bit LX7 microcontroller with an additional ultra-low power (ULP) coprocessor with a Wi-Fi 2.4GHz radio and numerals peripherals. For now, the ESP32-S2 series includes the following chips in mass production:

 ESP32-S2
Figure 1: ESP32-S2
 ESP32-S2F
Figure 2: ESP32-S2F
ESP32-S2 Architecture Overview

Figure 3 shows functional block diagram of ESP32-S2 chip[1]. The main common features of the ESP32-S2 are:

Processors

Wireless connectivity

Memory: Internal memory

Peripheral Input/Output

Analog interfaces

Security

 ESP32-S2 Functional block diagram
Figure 3: ESP32-S2 Functional block diagram
ESP32-S2 Modules

The company also produces ready-made modules for easier implementation in user systems. These modules combines ESP32-S2 microcontroller and additional components mounted on PCB with EM shield [2](table 1):

Table 1: Espressif ESP32-S2 modules
Module Chip Embedded Dimensions (mm) Pins Flash (MB) PSRAM (MB) Antenna Development Board
ESP32-S2-MINI-2 (figure 4) ESP32-S2FH4
ESP32-S2FN4R2
15.4×20×2.4 65 4 0,2 PCB ESP32-S2-DevKitM-1
ESP32-S2-MINI-2U ESP32-S2FH4
ESP32-S2FN4R2
15.4×15.4×2.4 65 4 0,2 IPEX ESP32-S2-DevKitM-1
ESP32-S2-SOLO-2 (figure 5) ESP32-S2
ESP32-S2R2
18×25.5×3.1 41 4 0,2 PCB ESP32-S2-DevKitC-1
ESP32-S2-SOLO-2U ESP32-S2
ESP32-S2R2
18×19.2×3.2 41 4 0,2 IPEX ESP32-S2-DevKitC-1
ESP32-S2-MINI-1 ESP32-S2FH4
ESP32-S2FN4R2
15.4×20×2.4 65 4 0,2 PCB ESP32-S2-DevKitM-1
ESP32-S2-MINI-1U (figure 6) ESP32-S2FH4
ESP32-S2FN4R2
15.4×15.4×2.4 65 4 0,2 IPEX ESP32-S2-DevKitM-1
ESP32-S2-SOLO ESP32-S2
ESP32-S2R2
18×25.5×3.1 40 4,8,16 0,2 PCB ESP32-S2-DevKitC-1
ESP32-S2-SOLO-U ESP32-S2
ESP32-S2R2
18×19.2×3.2 40 4,8,16 0,2 IPEX ESP32-S2-DevKitC-1
 ESP32-S2-mini2
Figure 4: ESP32-S2-mini2
 ESP32-S2-solo2
Figure 5: ESP32-S2-solo2
 ESP32-S2-mini-1U
Figure 6: ESP32-S2-mini-1U
ESP32-S2 Development Kits

For convenience, used by users of all skill levels, Espressif produces entry-level development boards using the ESP32-S2 SOCs. Those boards integrate complete Wi-Fi functions. Most ESP32-S2 I/O pins are broken out to the pin headers on both sides for easy interfacing. Users can connect peripherals with jumper wires or mount the development kit on a breadboard. Many different companies offer ready-made boards with processors. The original Espressif best-known small development boards are:

 ESP32-S2-DevkitM
Figure 7: ESP32-S2-DevkitM
 ESP32-S2-DevkitC
Figure 8: ESP32-S2-DevkitC

ESP32-S3

ESP32-S3 General Information

The ESP32-S3[5][6] is an advanced version within Espressif S family, offering improved performance and expanded capabilities compared to its predecessors. ESP32-S3 is an MCU with a dual-core 32-bit Xtensa LX7 microprocessor, dual ULP coprocessors with Wifi 2.4 GHz and Bluetooth LE radio, and numerous useful peripherals. ESP32-S3 offers enhanced processing power, lower power consumption, and improved IoT and wireless connectivity application features. ESP32-S3 is designed for mobile systems, Industrial and Home Automation, Health Care devices, Touch and Proximity Sensing, wearable electronics, and Internet-of-Things (IoT) applications. In addition, ESP32-S3 includes support for vector instructions in the MCU, which provides acceleration for neural network computing and signal processing workloads. The ESP32-S3 is the first low-cost microcontroller with a built-in peripheral that can drive TTL displays, and it can come with enough PSRAM to buffer those large images. For now, the ESP32-S3 family includes the following chips in mass production:

 ESP32-S3
Figure 9: ESP32-S3
 ESP32-S3-PICO-1
Figure 10: ESP32-S3-PICO-1
ESP32-S3 Architecture Overview

Figure 11 shows a functional block diagram of the ESP32-S3 chip. ESP32-S3's main common features of the ESP32-S3 are:

Processors

Wireless connectivity

Memory: Internal memory:

Peripheral Input/Output:

Analog interfaces:

Low power management:

Security:

 ESP32-S3 Functional block diagram
Figure 11: ESP32-S3 Functional block diagram

ESP32-S3-PICO-1 has all the functions of ESP32-S3 but integrates all peripheral components, including a crystal oscillator, decoupling capacitors, SPI flash/PSRAM, and RF matching links, within a single package. Figure 12 shows a functional block diagram of the ESP32-S3-PICO-1 chip.

 ESP32-S3-PICO-1 Functional block diagram
Figure 12: ESP32-S3-PICO-1 Functional block diagram
ESP32-S3 Modules

The company also produces ready-made modules[7][8][9]for easier implementation in user systems. These modules combine ESP32-S2 microcontroller, antenna and additional components mounted on PCB with EM shield [10] (table 2):

Table 2: Espressif ESP32-S3 modules
ModuleChip EmbeddedDimensions (mm)PinsFlash (MB)PSRAM (MB)AntennaDevelopment Board
ESP32-S3-WROOM-1 (figure 13) ESP32-S3
ESP32-S3R2 \\ESP32-S3R8
18×25.5×3.1414,8,160,2,8PCB ESP32-S3-DevKitC-1
ESP32-S3-DevKitC-1
ESP32-S3-BOX-3
ESP32-S3-BOX
ESP32-S3-EYE
ESP32-S3-Korvo-1
ESP32-S3-Korvo-2
ESP32-S3-LCD-Ev-Board
ESP32-S3-WROOM-1U ESP32-S3
ESP32-S3R2
ESP32-S3R8
18×19.2×3.2414,8,160,2,8IPEX ESP32-S3-DevKitC-1
ESP32-S3-WROOM-2 (figure 14) ESP32-S3R8V 18×25.5×3.14116,328PCB ESP32-S3-DevKitC-1
ESP32-S3-MINI-1 (figure 15) ESP32-S3FN8
ESP32-S3FH4R2
15.4×15.4×2.4658 N/A PCBESP32-S3-DevKitM-1
ESP32-S3-MINI-1U ESP32-S3FN8
ESP32-S3FH4R2
15.4×15.4×2.4658 N/AIPEXESP32-SM-DevKitM-1
 ESP32-S3-Wroom-1  ESP32-S3-Wroom-1U
Figure 13: ESP32-S3-Wroom-1/1U
 ESP32-S3-Wroom-2
Figure 14: ESP32-S3-Wroom-2
 ESP32-S3-Wroom-1  ESP32-S3-Wroom-1U
Figure 15: ESP32-S3-Wroom-1/1U
ESP32-S3 Development Kits

To facilitate the use of ESP32-S3, Espressif and other companies produce different development kits to suit different needs and present different processor functions. The original Espressif best-known small development boards are:

For this book, we present only a few of the most popular, universal for various applications development boards:

 ESP32-S3-DevkitM
Figure 16: ESP32-S3-DevkitM
 ESP32-S3-DevkitC
Figure 17: ESP32-S3-DevkitC
 Waveshare ESP32-S3-PICO-1
Figure 18: Waveshare ESP32-S3-PICO-1
 M5Stamp-S3 with pin headers  M5Stamp-S3 with pin headers
Figure 19: M5Stamp-S3 with pin headers
ESP32-S2&S3 chip comparison

Table 3 provides a brief comparison of the most essential features of the ESP32-S2 & ESP32-S3 systems[13]

Table 3: ESP32-S2 & ESP32-S3 family brief comparison
FeatureESP32 SeriesESP32-S2 SeriesESP32-S3 Series
Launch year201620202020
CoreXtensa® dual-/single core 32-bit LX6Xtensa® single-core 32-bit LX7Xtensa® dual-core 32-bit LX7
Wi-Fi protocols802.11 b/g/n, 2.4 GHz802.11 b/g/n, 2.4 GHz802.11 b/g/n, 2.4 GHz
Bluetooth®Bluetooth v4.2 BR/EDR and Bluetooth Low Energy✖️Bluetooth 5.0
Typical frequency240 MHz (160 MHz for ESP32-S0WD)240 MHz240 MHz
SRAM520 KB320 KB512 KB
ROM448 KB for booting and core functions128 KB for booting and core functions384 KB for booting and core functions
Embedded flash2 MB, 4 MB, or none, depending on variants2 MB, 4 MB, or none, depending on variants8 MB or none, depending on variants
External flashUp to 16 MB device, address 11 MB + 248 KB each timeUp to 1 GB device, address 11.5 MB each timeUp to 1 GB device, address 32 MB each time
External RAMUp to 8 MB device, address 4 MB each timeUp to 1 GB device, address 11.5 MB each timeUp to 1 GB device, address 32 MB each time
Cache✔️ Two-way set associative✔️ Four-way set associative, independent instruction cache and data cache✔️ Four-way or eight-way set associative for instruction cache; four-way set associative for data cache, 32-bit data/instruction bus width
Peripherals
ADCTwo 12-bit, 18 channelsTwo 12-bit, 20 channelsTwo 12-bit SAR ADCs, 20 channels
DACTwo 8-bit channelsTwo 8-bit channels✖️
TimersFour 64-bit general-purpose timers, and three watchdog timersFour 64-bit general-purpose timers, and three watchdog timersFour 54-bit general-purpose timers, and three watchdog timers
Temperature sensor✖️11
Touch sensor101414
Hall sensor1✖️✖️
GPIO344345
SPI444
LCD interface111
UART32 13
I2C222
I2S2, can be configured to operate with 8/16/32/40/48-bit resolution as an input or output channel.1, can be configured to operate with 8/16/24/32/48/64-bit resolution as an input or output channel.2, can be configured to operate with 8/16/24/32-bit resolution as an input or output channel.
Camera interface111
DMADedicated DMA to UART, SPI, I2S, SDIO slave, SD/MMC host, EMAC, BT, and Wi-FiDedicated DMA to UART, SPI, AES, SHA, I2S, and ADC ControllerGeneral-purpose, 5 TX channels, 5 RX channels
RMT8 channels4 channels 1, can be configured to TX/RX channels8 channels 2, 4 TX channels, 4 RX channels
Pulse counter8 channels4 channels 14 channels 1
LED PWM16 channels8 channels 18 channels 1
MCPWM2, six PWM outputs✖️2, six PWM outputs
USB OTG✖️11
TWAI® controller (compatible with ISO 11898-1)111
SD/SDIO/MMC host controller1✖️1
SDIO slave controller1✖️✖️
Ethernet MAC1✖️✖️
ULPULP FSMPicoRV32 core with 8 KB SRAM, ULP FSMPicoRV32 core with 8 KB SRAM, ULP FSM
Debug Assist✖️✖️✖️
Security
Secure boot✔️✔️ Faster and safer, compared with ESP32✔️ Faster and safer, compared with ESP32
Flash encryption✔️✔️ Support for PSRAM encryption. Safer, compared with ESP32✔️ Support for PSRAM encryption. Safer, compared with ESP32
OTP1024-bit4096-bit4096-bit
AES✔️ AES-128, AES-192, AES-256 (FIPS PUB 197)✔️ AES-128, AES-192, AES-256 (FIPS PUB 197); DMA support✔️ AES-128, AES-256 (FIPS PUB 197); DMA support
HASHSHA-1, SHA-256, SHA-384, SHA-512 (FIPS PUB 180-4)SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256, SHA-512/t (FIPS PUB 180-4); DMA supportSHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256, SHA-512/t (FIPS PUB 180-4); DMA support
RSAUp to 4096 bitsUp to 4096 bitsUp to 4096 bits
RNG✔️✔️✔️
HMAC✖️✔️✔️
Digital signature✖️✔️✔️
XTS✖️✔️ XTS-AES-128, XTS-AES-256✔️ XTS-AES-128, XTS-AES-256
Other
Deep-sleep (ULP sensor-monitored pattern)100 μA (when ADC work with a duty cycle of 1%)22 μA (when touch sensors work with a duty cycle of 1%)TBD
SizeQFN48 5*5, 6*6, depending on variantsQFN56 7*7QFN56 7*7
  1. Note 1: Reduced chip area compared with ESP32
  2. Note 2: Reduced chip area compared with ESP32 and ESP32-S2
  3. Note 3: Die size: ESP32-S2 < ESP32-S3 < ESP32