this post was submitted on 11 Jun 2024
9 points (100.0% liked)

MICROCONTROLLERS

791 readers
1 users here now

Everything microcontrollers: projects, questions, new releases, etc.

dragontamer's Beginner Guides:

Beginner Series I: What is a Microcontroller?

Beginner Series II: The "Generic" Microcontroller

Beginner Sidenote: Microchip's Signal Chain Design Guide

Beginner Series III: Skills and Complexity Tiers

Beginner Series IV: Deep Dive into Microchip's AVR EA

founded 1 year ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] cerement 5 points 4 months ago

“It comes with a read-only bootloader that can either mount as a USB mass storage device (firmware updates can just be copypasted to the "storage device")”

doing basic keyboard PCBs, the included bootloader makes it REALLY simple to work with (no worries about having to manage an ISP/SPI interface on top of everything else)

[–] TCB13@lemmy.world 2 points 4 months ago (1 children)

I really like Espressif:

ESP8266 ESP32 ESP32-S2 ESP32-S3 ESP32-C3 ESP32-C6
Announcement Date 2014, August 2016, September 2019, September 2020, December 2020, November 2021, April
Main processor Tensilica L106 32-bit (up to 160MHz) Tensilica Xtensa 32-bit LX6 (up to 240MHz) (optionally dual core) Tensilica Xtensa 32-bit LX7 (up to 240MHz) Tensilica Xtensa 32-bit LX7 dual core (up to 240MHz) RISC-V 32-bit (up to 160MHz) RISC-V 32-bit (up to 160MHz)
SRAM 160KB 520KB 320KB 512KB 400KB 400KB
ROM 0 448KB 128KB 384KB 384KB 384KB
JTAG X ?
Cache 32 KB instruction 64KB 8/16KB (configurable) ? 16KB ?
WiFi Wi-Fi 4 (only up to 72.2Mbps) Wi-Fi 4 Wi-Fi 4 Wi-Fi 4 Wi-Fi 4 Wi-Fi 6
Bluetooth X BLE 4.2 (upgrade to 5.0, with limitations) X BLE 5.0 BLE 5.0 BLE 5.0
Ethernet X X ? X ?
RTC memory 768B 16KB 16KB 16KB 8KB ?
PMU ? ?
ULP coprocessor X ULP-RISC-V ? X ?
Cryptographic Accelerator X SHA, RSA, AES, RNG SHA, RSA, AES, RNG, HMAC, Digital Signature SHA, RSA, AES, RNG, HMAC, Digital Signature SHA, RSA, AES, RNG, HMAC, Digital Signature SHA, RSA, AES, RNG, HMAC, Digital Signature
Secure boot X
Flash encryption X XTS-AES-128/256 XTS-AES-128 XTS-AES-128
SPI 2 4 4 ? 3 ?
I2C 1 2 2 ? 1 ?
I2S 1 2 1 ? 1 ?
UART 2 (one TX only) 3 2 ? 2 ?
SDIO Host 0 1 0 2 0 0
SDIO Slave 0 1 0 0 0 0
GPIO 17 34 43 44 22 22
LED PWM 5 16 8 ? 6 ?
MCPWM 0 6 0 2 0 0
Pulse counter 0 8 4 ? 0 X
GDMA* 0 0 0 ? 6 ?
USB X X USB OTG 1.1 ? Serial/JTAG ?
TWAI** 0 1 1 ?
[–] h3ndrik@feddit.de 2 points 4 months ago* (last edited 4 months ago)

~~The chips after the esp8266 are also very nice 😊~~

Edit: Don't mind. I was on mobile and only saw the first column.

The ESPs are really nice. Affordable, nice peripherals and plenty of them. Wifi and Bluetooth are a dream come true for IoT stuff. And they come with crazy amounts of RAM. Like 520kB is plenty. And with the PSRAM we can also fit in seconds of webradio buffer, images and whatever. Also the newer ones also have USB so you can just mount them on the PC and drag and drop Python programs.

I have at least a dozen of them.