
ESP32 vs ESP32-S3 vs ESP32-C3 vs ESP32-C6 for New Designs
Compare ESP32, ESP32-S3, ESP32-C3 and ESP32-C6 on CPU, radios, memory, USB and peripherals, with a decision table for picking one for a new design.
Tag
445 posts

Compare ESP32, ESP32-S3, ESP32-C3 and ESP32-C6 on CPU, radios, memory, USB and peripherals, with a decision table for picking one for a new design.

Install ESP-IDF v5.4 on Linux or macOS, source export.sh, build the hello_world example with idf.py and flash it to an ESP32 board over USB.

Use lspci -k on Linux 6.12 to see the kernel driver in use and the modules that could drive each PCI device, and read the same answer from sysfs and modalias.

Install Zephyr 4.1 and its SDK with west on Linux or macOS, build the blinky sample for a Nucleo board, flash it, and learn what each command does.

Read and decode PCI configuration space on Linux 6.12 with lspci and setpci from pciutils 3.13, from vendor IDs and BARs to capability lists and link status.

Lower or raise a process's nice value with nice and setpriority on Linux 6.12 and glibc 2.40, handle the -1 return trap, and know when root is required.

Read CPU time, peak memory, page faults and context switches for your own process with getrusage on Linux with glibc 2.40, and know which fields are filled.

Use lsusb -t on Linux 6.12 to see the USB topology, the speed of each port and the kernel driver bound to every interface, plus the sysfs files behind it.

How a USB device is organized into configurations, interfaces and endpoints, and how Linux 6.12 shows that tree in sysfs and hands each interface to a driver.

Read the oldest FreeRTOS queue item without removing it using xQueuePeek, and pair it with xQueueOverwrite to share a latest-value status between tasks.

Find and remove leftover System V and POSIX IPC objects with ipcs and ipcrm: read the tables, spot orphans by nattch, delete by id or key and clean /dev/shm.

Replace a busy main loop with __WFI so a Cortex-M sleeps until the next interrupt, and close the lost-wakeup race with a PRIMASK guard.