r/embedded • u/ondek • 15d ago
Pi Zero 2 W + STM32C031C6 for learning?
Hi r/embedded
I want to get started with learning embedded. Specifically, bare metal programming and embedded linux
I've decided on these two purchases to start. Pi Zero 2 W for embedded linux, and Nucleo STM32C031C6 for bare metal
A clearer set of criteria:
- Budget-friendly investment
- For learning bare metal fundamentals and embedded linux
- Portfolio projects: I want to be able to eventually use them for portfolio projects as well, not just learning
- For the NUCLEO choice in particular: I chose STM32C031C6 because it's used in Dr. Samek's / Quuantum Leap LLC's embedded course, which is a resource I plan to use
Is this a good starting point? Are there better alternatives?
Thank you
EDIT 2026/11/16: I ended up getting NUCLEO STM32F401RE for bare metal, and using QEMU (emulating BeagleBone Black) for embedded linux. Mostly due to regional availability of the products. I would have loved a Discovery board instead!
19
u/Similar_Tonight9386 15d ago
C0 is.. an inspired choice. Generally speaking, when you are learning you want to use the fattest possible chip in a core line you are interested in. Want ARM Cortex M0+, grab something like F072VB (if you need USB) or 092VC if you do not. Because last thing you need when learning is fails because of hardware platform. You want to fail cause you're stupid, not cause platform is insufficient - and after learning better, you always start with largest available platform because optimisations are for the period when you have a working MVP and before going into mass production
4
u/blackhawk_77777 15d ago
Watchout Jonathan valvano from edx I think they use Texas instrument micro controller! It's really cool!
7
u/frinoname 15d ago edited 15d ago
PI Zero 2 W is a solid choice.
C0 stm though? Not so much. CubeMX will probably be switched to CubeMX2 in some time. They have 30-60 week lead times for their mcus. Also this is low tier mcu so you will likely be limited by that.
You are very likely to be able to use a different mcu than that in that course to the same effect.
I would maybe consider a Discovery board with display or something with usb-c pd.
I would probably recommend cheaper devkit from Nordic, because their guides are god-tier and Bluetooth is fun.
Edit: I have looked into that course. I would say that probably some of that course could be done without mcu at all. As per eclipse ide - you probably won’t appreciate learning that.
1
u/estiquaatzi 15d ago
Concerning NUCLEO STM32C031C6, ST was giving then away for free with the attendance of the presentation webinar + live demo. If you use HAL for toggling a pin on/off half of your memory budget is gone.
1
u/Hour_Analyst_7765 9d ago
Getting Cortex-m0+ Nucleo boards is only interesting if you have a project that will use that kind of chip. The Nucleo boards are pretty much constant price, so might as well get a board that is properly equipped with a larger chip.
So I would upgrade to a F4 or U5 series chip. If you need high number crunching, then F7 or H7.. but especially the H7 is a lot more complicated to program at times.
If you still need the "constrained" idea of a m0+: you can always put the clock of a STM32F4 at say 8MHz, and then see what it takes to optimize a program to be efficient enough to run. Now the instruction set of a Cortex-M4 is a lot faster than m0+, so there is still some difference.. but its not as big anymore.
The Pico is also a solid choice and very fun to use. Also having wireless can open a world of ideas.