Hi, first time poster so I hope I’m not infringing on any of this forum’s rules or conventions, but if I am please let me know.
I noticed that many Mutable product use STM32 microcontrollers. I have not conducted an extensive survey, but every other embedded DIY project I’ve looked at also uses that chip family.
My question is: are SMT32 the de-facto standard MCU of choice in the embedded audio DIY community, and if yes why? Incidentally, and regardless of the answer, why does Mutable Instruments favor this family of MCUs?
First of all: why not DSPs?
- DSPs require proprietary, often expensive, development tools running on Windows.
- DSPs often require external memory chips.
- DSPs often come in large packages.
- The code written for DSPs is not portable and is often write only. The development cycle (prototype in a higher level language, then port to assembly, then it’s over) is not my preferred way of working because I like revising ideas, and running the code on my development machine to experiment with it rather than on the embedded target. Think of it: VCV Rack wouldn’t have been possible if Rings ran DSP code.
Why ARM MCUs?
There are open source development tools like openOCD and gcc. The fact that ARM is the most popular platform for smartphones and IoT devices means that there is a large community, including employees from large companies, maintaining and improving gcc for the ARM target, and that the generated code and the optimizations are good.
At the time I got into it in 2012, there were two choices: STM32F and NXP LPC (I’m not even sure Freescale Kinetis was available, but if it was it wasn’t very visible). STM32 had better support from the open source tools, and more importantly the embedded systems class at my alma mater used them. I could get access to their course material, so that’s what I went with.
In a nutshell, it could be summarized by the fact that I come from a software development background using UNIX command line tools, and that I wanted to keep a similar workflow when developing my modules. If I had come from an embedded systems or more generally EE background, I wouldn’t have shied away from a proprietary IDE running on Windows and might have gone for something else.
Another large DIY project, MIDIBox, was mostly STM32F at the time; and with the popularity of Mutable Instruments and the availability of the schematics, code and makefiles, I suspect this might have influenced many aspiring developers to get into this platform in the following years.
Thanks a lot that’s a very comprehensive answer. MIDIBox is indeed one of the other projects I noticed to use the STM32 family. I’m not sure that I completely understand and/or agree with every point you made about DSPs but apart from that I think you analysis is very clear and definitely lucid so I appreciate it.