RP2040 vs STM32 vs ESP32 vs ESP8266

Products > High-Tech
2021-03-21 18:54:34

Compare Raspberry Pi RP2040 vs STM32 F1 series vs STM32 G4 series vs STM32F103C8T6 vs Espressif ESP8266 vs Espressif ESP32 vs Espressif ESP32-S2

You might also be interested by:

RP2040ESP32ESP32-S2STM32 F1STM32 G4STM32F103C8T6ESP8266Teensy 4.1
Release date2021-01-21201620192007201920142020 May 11
Product details
CPUArm Cortex-M0+ Dual-core @133MHzTensilica Xtensa LX6
32 bit Dual-Core @ 160 / 240Mhz
Tensilica Xtensa LX7
32 bit Single-Core @ 240Mhz
ARM Cortex-M3 @ 24 / 36 / 48 / 72 MHzARM Cortex-M4F @ 170 MHz FPU, DSP instructions32-bit ARM Cortex M3 72MHz maxTensilica LX106
32 bit @ 80 MHz (up to 160 MHz)
NXP IMXRT1062DVJ6A ARM Cortex-M7 at 600 MHz with FPU (32 bit float and 64 bit double precision), DSP instructions.
CoprocessorULPULP (RISC-V)
RAM264 KB520 KB320 KB4 KB - 96 KB32 KB - 128 KB20 kb160 KB (36 KB available to user)1.024 KB RAM (512K tightly coupled)
ROM (Flash)448 KB128 KB16 KB - 1024 KB128 KB - 512 KB7.936 KB Flash
UART2323 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control28 UARTS
SPIYes 2 (OSPI)Yes 4Yes 4 (OSPI)Yes 2Yes 2Yes 2
Wi-FiNoYes 802.11b/g/nYes 802.11b/g/nYes 802.11b/g/n (max 65Mbps)No
Bluetooth®NoYes 4.2 BR/EDR + BLENoNoNo
USB HostYesNoYesNoYes 2 usb ports (1 as USB host, 5 pin header with power management)
Ethernet (LAN, RJ45)NoYes 10/100MbpsNoNoYes Ethernet 10/100 Mbit (6 pin on board header). Teensy 4.1 contains an Ethernet controller and Ethernet PHY chip.
RTC Memory16 KB16 KB16 bytes of memory are located within the RTC. If a coin cell is connected to VBAT, contents of this memory is preserved while power is off. This memory is accessed as 32 bit registers LPGPR0-LPGPR3.
External SPIRAM16 MB up to128 MB up to16 MB up to16 MB up to PSRAM (QSPI Memory Expansion, ready to solder 1 or 2 chips such as IPS6404LSQ or ESP PSRAM64H on board)
External Flash1 GB up to8 MB up to (QSPI Memory Expansion, board ready to solder additional 8MB Flash chip such as 25Q128JVSQ)
CANYes v2.0Yes 3
GPIO3032 (up to)4317 (up to)55 input/output signal pins (42 are accessible when used with a solderless breadboard)
Hall effect sensorNoYesNoNoNo
Temperature sensorNoYesYesNoYes A built in temperature sensor allows reading the temperature inside the MCU chip
Touch sensors1014NoNo
I²CYesYes up to 2Yes up to 2Yes up to 2Yes up to 1Yes 3
I2S12122 (I2S/TDM)
ADCYes x4 12-bitYes 12 bit SAR ADC up to 18 channelsYes 12 bit SAR ADC up to 20 channelsYes 2 x 12-bit, 1 μs A/D converters (up to 16 channels)Yes 10 bitYes 18 pins total (12 bit, 2 Converters, 4 comparators)
DACNoYes 8 bit up to 2 channelsYes 8 bit up to 2 channelsNoNoNo
PWMYes up to 16Yes up to 8Yes 8Yes 37NoYes 31 pins/outputs (3x PWM 32 bit, 32x PWM 16 bit)
SDMMCNoYesNoNoYes 1 SDIO (4 bit) native Micro SD Card
RMT (remote control)NoYesYesNoNo
LCD InterfaceNoNoYesNoNo not dedicated
Camera InterfaceNoNoYesNoNo not dedicated
Deep sleep consumption18 µA (Dormant) 39 µA (Sleep)10 µA5 µA20 µA
Secure flash1024-bit OTP secure boot4096-bit OTP secure boot
Cryptography supportAES, SHA-2, RSA, ECC, RNGAES-128/192/256, SHA-2, RSA, RNG, HMAC, Digital SignatureSymmetric ciphers and one-way hash can be computed by hardware, but currently no library support exists to utilize this hardware.
Height7 mm6 mm7 mm5 mm0.16 in (4.07 mm) (no extra PSRAM or Flash included)
Width7 mm6 mm7 mm5 mm0.7 in (17.81 mm)
  • 2021-01-04 12:52:30
    2021-03-21 18:54:34
  • High-Tech
  • Compare Raspberry Pi RP2040 vs STM32 F1 series vs STM32 G4 series vs STM32F103C8T6 vs Espressif ESP8266 vs Espressif ESP32 vs Espressif ESP32-S2
  • https://en.wikipedia.org/wiki/STM32 https://www.raspberrypi.org/documentation/pico/getting-started/
  • Public
  • Creative Commons License CC-BY-SA 3.0 / GNU FDL
    Manage backups


  • voted for this Comparison (Like)
    Posted 2022-07-27 14:44:42 by dahit-12
  • voted for this Comparison (Like)
    Posted 2022-02-07 17:50:52 by groveh1
  • voted for this Comparison (Like)
    Great table, thanks!
    Posted 2021-01-27 18:50:10 by gregware
  • voted for this Comparison (Like)
    Posted 2021-01-04 13:10:01 by Alexis

Leave a comment

Register Sign in