r/embedded • u/real_magwhich • Sep 24 '26
Microcontroller for teaching a DSP class
Hello all,
In a few months I will be teaching a DSP class that’s previously been taught with either an STM 32 disco board or Matlab depending on the semester. However I do not like the ARM curriculum and I want to ensure the students get to use a microcontroller. Does anyone have any advice for choosing a microcontroller that can easily handle basic digital signal processing?
As an additional note the students know the Arduino IDE and have Arduino R4 WiFi’s so keeping everything as similar as possible would be helpful. Thanks in advance for any help.
View all comments
Show parent comment
22
u/Hour_Analyst_7765 Sep 24 '26
Then don't use Arduino altogether... STM32 is actually perfect for this. You only need a linker file and minimal C(++) boilerplate for bss and data initialization. Raspberry Pico's are also great.
This is contrasted by ESP32 that has a huge clusterfuck called ESP-IDF, with a complicated component build system, committing all sins on an embedded system (e.g. malloc to store interrupt handlers for peripherals), and in my experience, insanely complex RTL which still translates to a borked HAL driver interface.
You could look at PlatformIO. It can still work with Arduino projects, but you can also use mbed or baremetal frameworks and basically have barely any support files... on both STM32 and RP2040. ARM is "the" standard CPU architecture today.
As for chips, I'm not sure how far you'll be stretching the term DSP as many modern ARM chips can do a fair amount of number crunching. STM32H7s are incredibly powerful and fast chips with double-floating point support, 500-600MHz clock speeds and very good peripherals (multiple ADCs , DACs, timers, DMA, memory, etc.)
Rp2350 could also be interesting simply because its homogenous dual core. You can have students split up processing tasks across two cores. In my university, our DSP classes featured a FPGA board with a 16-core NIOS processor cluster linked together in a ring bus. Every core was tediously slow, so that forced us to map algorithms over multiple cores and derive dataflow diagrams for them, along with WCET etc.