|
|
|
Ask HN: Best way to learn STM32 and embedded for beginner
|
|
10 points
by skoopsy
456 days ago
|
|
My google foo is producing garbage - Most tutorials don't go past blinky. Most suggest CubeIDE, others have suggested ChibiOS. I followed some tutorials on stmbase to get a blinky going on a ST Nucleo, but it used a HAL library and it feels like cheating. I'm really looking for a good book/site that walks through a bunch of tutorials/learning to go from blinking an LED on a STM32 right the way up to me being able to design and build my own Smart watch based on a Cortex M33 or M55. QSPI flash, I2C sensors, bluetooth, power management, some DSP. What would be the best suggested way to do this? |
|
To add further confusion, consider rust. The flashing and debugging is easier, but the library ecosystem is a bit of a mess. On the plus side for learning, you will get comfortable with data sheets!
Btw, regarding HAL vs register-level programming... I think if you end up not using a HAL, you will end up writing a subset of one naturally as you create practical abstractions. Your call!
Note: There are general 3 types of manuals you will encounter for STM32:
Don't get too overwhelmed with all the STM32 varieties. The family tree is sprawling, but peripherals are usually heavily conserved. With many exceptions to keep things interesting... A lot of the maker-oriented material points towards older ones; I would skip those, as working with the relatively newer ones tends to be a bit easier. (i.e. no reason to use an F3, F4, F0 etc on a new project)