Short name | RP2040 | ESP32 | ESP32-S2 | STM32 F1 | STM32 G4 | STM32F103C8T6 | ESP8266 | Teensy 4.1 |
---|
Website | raspberrypi.org/... | espressif.com/... | espressif.com/... | www.st.com/... | www.st.com/... | www.st.com/... | espressif.com/... | pjrc.com/... |
---|
Release date | Jan. 21st 2021 | 2016 | 2019 | 2007 | 2019 | 2007 Jun 01 | 2014 | 2020 May 11 |
---|
Product details | | | | | | | | |
---|
CPU | Arm Cortex-M0+ Dual-core @133MHz | Tensilica Xtensa LX6
32 bit Dual-Core @ 160 / 240Mhz | Tensilica Xtensa LX7
32 bit Single-Core @ 240Mhz | ARM Cortex-M3 @ 24 / 36 / 48 / 72 MHz | ARM Cortex-M4F @ 170 MHz FPU, DSP instructions | 32-bit ARM Cortex M3 72MHz max | Tensilica 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. |
---|
Coprocessor | | ULP | ULP (RISC-V) | | | | | |
---|
RAM | 264 KB | 520 KB | 320 KB | 4 KB - 96 KB | 32 KB - 128 KB | 20 kb | 50 KB less than | 1.024 KB RAM (512K tightly coupled) |
---|
ROM (Flash) | | 448 KB | 128 KB | 16 KB - 1024 KB | 128 KB - 512 KB | 64 Kb or 128 Kb | 0 use external SPI flash | 7.936 KB Flash |
---|
UART | 2 | 3 | 2 | | | 3 USARTs (ISO 7816 interface, LIN, IrDA capability, modem control | 2 | 8 UARTS |
---|
SPI | Yes 2 (OSPI) | Yes 4 | Yes 4 (OSPI) | | | Yes 2 | Yes 2 | Yes 2 |
---|
Wi-Fi | No | Yes 802.11b/g/n | Yes 802.11b/g/n | | | No | Yes 802.11b/g/n (max 65Mbps) | No |
---|
Bluetooth® | No | Yes 4.2 BR/EDR + BLE | No | | | No | No | No |
---|
USB Host | Yes | No | Yes | | | No | No | Yes 2 usb ports (1 as USB host, 5 pin header with power management) |
---|
Ethernet (LAN, RJ45) | No | Yes 10/100Mbps | No | | | No | No | Yes Ethernet 10/100 Mbit (6 pin on board header). Teensy 4.1 contains an Ethernet controller and Ethernet PHY chip. |
---|
RTC Memory | | 16 KB | 16 KB | | | No | | 16 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 SRAM | | 8 MB up to | 128 MB up to | | | | | 16 MB up to PSRAM (QSPI Memory Expansion, ready to solder 1 or 2 chips such as IPS6404LSQ or ESP PSRAM64H on board) |
---|
External Flash | | 16 MB up to | 1 GB up to | | | | 16 MB up to | 8 MB up to (QSPI Memory Expansion, board ready to solder additional 8MB Flash chip such as 25Q128JVSQ) |
---|
ESP-MESH | No | Yes | Yes | | | No | Yes | No |
---|
CAN | | Yes v2.0 | | | | Yes | No | Yes 3 |
---|
GPIO | 30 | 34 | 43 | | | 80 (up to) | 17 (up to) | 55 input/output signal pins (42 are accessible when used with a solderless breadboard) |
---|
Hall effect sensor | No | Yes | No | | | No | No | No |
---|
Temperature sensor | No | Yes | Yes | | | Yes | No | Yes A built in temperature sensor allows reading the temperature inside the MCU chip |
---|
Touch sensors | | 10 | 14 | | | No | No | No |
---|
I²C | Yes | Yes up to 2 | Yes up to 2 | | | Yes up to 2 | Yes up to 1 | Yes 3 |
---|
I2S | 1 | 2 | 1 | | | 1 | 2 | 2 (I2S/TDM) |
---|
ADC | Yes x4 12-bit | Yes 12 bit SAR ADC up to 18 channels | Yes 12 bit SAR ADC up to 20 channels | | | Yes 2 x 12-bit, 1 μs A/D converters (up to 16 channels) | Yes 10 bit | Yes 18 pins total (12 bit, 2 Converters, 4 comparators) |
---|
DAC | No | Yes 8 bit up to 2 channels | Yes 8 bit up to 2 channels | | | Yes | No | No |
---|
PWM | Yes up to 16 | Yes up to 8 | Yes 8 | | | Yes 37 | Yes 4 | Yes 31 pins/outputs (3x PWM 32 bit, 32x PWM 16 bit) |
---|
SDMMC | No | Yes | No | | | No | No | Yes 1 SDIO (4 bit) native Micro SD Card |
---|
RMT (remote control) | No | Yes | Yes | | | No | No | No |
---|
LCD Interface | No | No | Yes | | | No | No | No not dedicated |
---|
Camera Interface | No | No | Yes | | | No | No | No not dedicated |
---|
Deep sleep consumption | 18 µA (Dormant) 39 µA (Sleep) | 10 µA, Yes | 5 µA | | | 1 Yes | 20 µA, Yes | |
---|
Security | | | | | | | | |
---|
Secure flash | | 1024-bit OTP secure boot | 4096-bit OTP secure boot | | | | | |
---|
Cryptography support | | AES, SHA-2, RSA, ECC, RNG | AES-128/192/256, SHA-2, RSA, RNG, HMAC, Digital Signature | | | | | Symmetric ciphers and one-way hash can be computed by hardware, but
currently no library support exists to utilize this hardware. |
---|
Dimensions | | | | | | | | |
---|
Height | 7 mm | 6 mm | 7 mm | | | | 5 mm | 0.16 in (4.07 mm) (no extra PSRAM or Flash included) |
---|
Width | 7 mm | 6 mm | 7 mm | | | | 5 mm | 0.7 in (17.81 mm) |
---|
Weight | | | | | | | | |
---|
User reviews and comments