SocialCompare
Link
Raspberry Pi RP2040Espressif ESP32Espressif ESP32-S2STM32 F1 seriesSTM32 G4 seriesSTM32F103C8T6Espressif ESP8266Teensy 4.1
Short nameRP2040ESP32ESP32-S2STM32 F1STM32 G4STM32F103C8T6ESP8266Teensy 4.1
Websiteraspberrypi.org/...espressif.com/...espressif.com/...www.st.com/...www.st.com/...www.st.com/...espressif.com/...pjrc.com/...
Release dateJan. 21st 2021 20162019200720192007 Jun 0120142020 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 kb50 KB less than1.024 KB RAM (512K tightly coupled)
ROM (Flash)448 KB128 KB16 KB - 1024 KB128 KB - 512 KB64 Kb or 128 Kb0 use external SPI flash7.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/nNoYes 802.11b/g/n (max 65Mbps)No
Bluetooth®NoYes 4.2 BR/EDR + BLENoNoNoNo
USB HostYesNoYesNoNoYes 2 usb ports (1 as USB host, 5 pin header with power management)
Ethernet (LAN, RJ45)NoYes 10/100MbpsNoNoNoYes Ethernet 10/100 Mbit (6 pin on board header). Teensy 4.1 contains an Ethernet controller and Ethernet PHY chip.
RTC Memory16 KB16 KBNo16 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 SRAM8 MB up to128 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 Flash16 MB up to1 GB up to16 MB up to8 MB up to (QSPI Memory Expansion, board ready to solder additional 8MB Flash chip such as 25Q128JVSQ)
ESP-MESHNoYesYesNoYesNo
CANYes v2.0YesNoYes 3
GPIO30344380 (up to)17 (up to)55 input/output signal pins (42 are accessible when used with a solderless breadboard)
Hall effect sensorNoYesNoNoNoNo
Temperature sensorNoYesYesYesNoYes A built in temperature sensor allows reading the temperature inside the MCU chip
Touch sensors1014NoNoNo
I²CYesYes up to 2Yes up to 2Yes up to 2Yes up to 1Yes 3
I2S121122 (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 channelsYesNoNo
PWMYes up to 16Yes up to 8Yes 8Yes 37Yes 4Yes 31 pins/outputs (3x PWM 32 bit, 32x PWM 16 bit)
SDMMCNoYesNoNoNoYes 1 SDIO (4 bit) native Micro SD Card
RMT (remote control)NoYesYesNoNoNo
LCD InterfaceNoNoYesNoNoNo not dedicated
Camera InterfaceNoNoYesNoNoNo not dedicated
Deep sleep consumption18 µA (Dormant) 39 µA (Sleep)10 µA, Yes5 µA1 Yes20 µA, Yes
Security
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.
Dimensions
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)
Weight