Compare Sizes

ESPs vs STM32s


Short name
RP2040ESP32ESP32-S2ESP32-C3STM32 F1STM32 G4STM32F103C8T6
Release dateJan. 21st 2021 201620192020200720192007 Jun 01
Product details
CPUArm Cortex-M0+ Dual-core @133MHzTensilica Xtensa LX6
32 bit Dual-Core @ 160 / 240Mhz
Tensilica Xtensa LX7
32 bit Single-Core @ 240Mhz
RISC-V 32-bit Single-Core @ 160 MHzARM Cortex-M3 @ 24 / 36 / 48 / 72 MHzARM Cortex-M4F @ 170 MHz FPU, DSP instructions32-bit ARM Cortex M3 72MHz max
CoprocessorULPULP (RISC-V)
RAM264 KB520 KB320 KB400 KB4 KB - 96 KB32 KB - 128 KB20 kb
ROM (Flash)448 KB128 KB384 KB16 KB - 1024 KB128 KB - 512 KB64 Kb or 128 Kb
UART23223 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control
SPIYes 2 (OSPI)Yes 4Yes 4 (OSPI)Yes 3Yes 2
Wi-FiNoYes 802.11b/g/nYes 802.11b/g/nYes 802.11b/g/nNo
Bluetooth®NoYes 4.2 BR/EDR + BLENoYes 5.0 + BLENo
USB HostYesNoYesNoNo
Ethernet (LAN, RJ45)NoYes 10/100MbpsNoNoNo
RTC Memory16 KB16 KB8 KBNo
External SRAM8 MB up to128 MB up to
External Flash16 MB up to1 GB up to
CANYes v2.0Yes
GPIO30344322 (up to)80 (up to)
Hall effect sensorNoYesNoNoNo
Temperature sensorNoYesYesYesYes
Touch sensors1014No
I²CYesYes up to 2Yes up to 2Yes up to 1Yes up to 2
ADCYes x4 12-bitYes 12 bit SAR ADC up to 18 channelsYes 12 bit SAR ADC up to 20 channelsYes 2 × 12-bit SAR ADCs, up to 6 channelsYes 2 x 12-bit, 1 μs A/D converters (up to 16 channels)
DACNoYes 8 bit up to 2 channelsYes 8 bit up to 2 channelsYes
PWMYes up to 16Yes up to 8Yes 8Yes up to 6Yes 37
RMT (remote control)NoYesYesNo
LCD InterfaceNoNoYesNoNo
Camera InterfaceNoNoYesNoNo
Deep sleep consumption18 µA (Dormant) 39 µA (Sleep)10 µA, Yes5 µA1 Yes
Secure flash1024-bit OTP secure boot4096-bit OTP secure boot4096-bit OTP
Cryptography supportAES, SHA-2, RSA, ECC, RNGAES-128/192/256, SHA-2, RSA, RNG, HMAC, Digital SignatureAES-128/256, RSA Accelerator, SHA Accelerator, Random Number Generator (RNG), HMAC
Height7 mm6 mm7 mm5 mm
Width7 mm6 mm7 mm5 mm
1 more
Nov. 9th 2022 9:30:08 AM
Jan. 26th 2021 1:13:25 PM
View changes
Manage backups

User reviews and comments

No comments yet. Be the first to leave your review.