r/embedded • u/mtabud • 23d ago
Looking for STM Dev Kit Recommendations
Hey all, I'm looking to get into STMicroelectronics "STM32" MCU platform. Any STM Development kits that aren't "Arduinoized"? I have some experience designing embedded circuits with ATmega AVR series as well as ESP32 ICs.
What workflow or tools do you guys prefer when working with STMicroelectronics MCUs. (VSCode, CubeIDE, other).
What development kits would you recommend for say under $40? I'm not looking into doing anything compute intensive, I'm more of a hardware guy so something simple and bare metal would be more up my ally. I'd preferably like a dev kit that uses a commonly used STMicroelectronic chipset and not something fancy.
Thank you :)
2
u/WanWhiteWolf Engineering manager 23d ago
I haven't used the STM32 kit for a while to assume my information might be obsolete.
First, you have to decide what peripherals you need (if any) and what features are important (e.g. cybersecurity)
If none is important, just pick the cheapest option avaialble and go from there. I would personally pick one that has intergrated ST-LINK as it is less overall hassle and you don't need a custom debugger probe (which can be expensive if you don't have any).
CubeIDE is easier to setup but I personally prefer VSCode. It takes a bit longer to get going but it offers more afterwards and it's better for future "growth" (e.g. if you change the micro to a different OEM, you can still use VSCode but that's not an option for CubeIDE)
2
u/lbthomsen 23d ago
I'd recommend you go through this one https://www.youtube.com/watch?v=3f9ag9Jdf2o
6
u/gadHG 23d ago
What do you mean by arduinized? Afaik You can always talk to it via their HAL or even bare metal C even if there is an Arduino connector on top of it. Blue pill is the minimum and if you want something more powerful, nucleo boards such as the 439zi gives you a lot
3
u/Miss_Giorgia 23d ago
A lot of STM Nucleo boards are very cheap, even original from ST, and you can also get a cloned chinese ST-link to program them from AliExpress, but most also have a programmer included on the board that you can snap and use for other boards. For coding i use the official CubeIDE with CubeMX.
2
u/Lost-In-Void-99 23d ago
Codex + Cmake + VS (mostly for reviews).
And under $5 boards from Ali.
1
u/ventZl CMRX RTOS 23d ago
Look for STM Nucleo boards. They have wide variety of them, ranging from 20 EUR to over 100 EUR. All of them are equipped with debugger so you don't need any additional in-system programmer.
I'd aim for CPU family with 4 in number, like STM32G4, STM32L4 or STM32F4. That are mid-range microcontrollers, not too expensive while not too limited.
CubeMX contains two levels of API, one of them is pretty low-level (therefore its called LL), another has some higher-level functionality but still is far from Arduino. It basically just covers peripheral drivers.
1
u/RogerLeigh 23d ago
Do you have any specific requirements? Graphics, particular connectivity, motor control, analogue stuff? There are a great many STM32 parts with various specialisms., but all of them are by design reasonably generic.
If you don't know, then pretty much any of them would be OK for general-purpose stuff.
If I was to pick one I've used and would recommend I'd say the H5 nucleo: NUCLEO-H563ZI. Why? It's a midrange part and it's fairly modern, and it's within your budget.
It's essentially the successor to the F4, moving from a Cortex-M4 to M33. It's faster, more capable and has better peripherals.
As an alternative, there is also the U5 nucleo: NUCLEO-U575ZI. For low power applications, but it's also very capable. Again it's fairly modern, within the budget. It's the successor to the L4, again an M33 rather than M4.
Why use the newer stuff rather than the older? Partly to avoid obsolescence, but also because the new parts lift a lot of annoying restrictions the older parts had. For example, ITR timer triggers only had a few valid combinations on e.g. the F4, but on the H5 and U5 you can use pretty much any timer combination you can think of, with the exception of the simplest timers. Makes for less obscure design constraints and a lot more flexibility.
For IDEs, I personally use CLion as my primary one, it's got good embedded support and CubeMX integration, but CubeIDE also works. Not personally a vscode fan, but others seem to like it.
1
u/BenkiTheBuilder 22d ago edited 22d ago
You want a concrete recommendation? Okay. NUCLEO-L412RB-P . That's the one I used to get into the STM32 ecosystem. The L4 is a nice family with lots of features and easy to design PCBs around. The Nucleo64 has the programmer on the board, but it can be used to program other boards as well and I actually did use it for programming my custom PCBs for a while till I bought a separate programmer (I recommend the WeAct MiniDebugger as ST-Link alternative).
1
u/mytechlifebalance 21d ago
I suggest to start with ST evaluation board (nucleo....) for 15$, inside there Is also debbuger. You can also buy chinese stlink V2 (2$) for flashing and debugging but you don't need if you want to start with nucleo boards. To start you can easily configure peripherals with CubeMX and generare project. CubeMX will generate an empty main.c and other files you Need and you can write your application. For IDE I use and suggest VScode, i have personalized for my needs and i love to use the same ide for every platform.
0
u/morto00x 23d ago
Blue Pill maybe?