We’re kicking off a new video series! This time, we create a set of tutorials around getting started with the STM32 ARM microcontrollers. To begin, we go over the STM32 naming convention for its processors and introduce the Nucleo development boards. The STM32 series is based on the ARM Cortex architectures. Specifically, we’ll be looking at the STM32 Arm Cortex-M microcontrollers. To make life easier, we’ll be using STMicroelectronics’ official Nucleo development boards (the Nucleo-L476RG in particular). In this video, we install the STM32CubeIDE and write a simple C program that blinks an LED. We will be using ST’s Hardware Abstraction Layer (HAL) to make controlling pins easier and code more portable. Finally, we briefly look at how to use the built-in step-through debugger with STM32CubeIDE. Related Items 497-15881-ND – NUCLEO-L476RG 🤍🤍digikey.com/product-detail/en/stmicroelectronics/NUCLEO-L476RG/497-15881-ND/5347711 497-15980-ND – NUCLEO-F042K6 🤍🤍digikey.com/products/en/development-boards-kits-programmers/evaluation-boards-embedded-mcu-dsp/786?k=nucleo&k=&pkeyword=nucleo&sv=0&pv984=21331&sf=0&FV=ffe00312%2C1b3803ce&quantity=&ColumnSort=0&page=1&stock=1&pageSize=100 WRITTEN TUTORIAL If you would like to see the steps performed in this video in written form along with the code, please see the tutorial here: 🤍🤍digikey.com/en/maker/videos/shawn-hymel/getting-started-with-stm32-and-nucleo-part-1-introduction-to-stm32cubeide-and-blinky ADDITIONAL RESOURCES Related Projects 🤍🤍digikey.com/maker/search-results?&k=Getting%20Started%20with%20STM32%20and%20Nucleo Download STM32CubeIDE: 🤍🤍st.com/en/development-tools/stm32cubeide.html STM32 HAL documentation (click on family from graphic and then Resources tab) : 🤍🤍st.com/en/embedded-software/stm32cube-mcu-mpu-packages.html Maker.io - 🤍🤍digikey.com/en/maker Digi-Key’s Blog – TheCircuit 🤍🤍digikey.com/en/blog Connect with Digi-Key on Facebook 🤍🤍facebook.com/digikey.electronics/ And follow us on Twitter 🤍twitter.com/digikey
Hi dear. I’d love you to give the manner or advice so that I can understand STM32 because when I see a code HAL I panicked suddenly. Best regards 😢
No idea how I missed this course 3 yrs ago.... Thanks Shawn!
I learned C# at school....what language should I pick at start? C++?
I really enjoy and appreciate your videos Shawn. Would you consider making a video to explain the differences between ARM devices (M3, M5, etc.). Thank you.
Super Tutorial, Well presented and as an Old Duffer I particularly like the written version as well ! Thanks
Nice video. Thanks! 👍
hyZS2p1tW-g&t=3m00s 3:00 Look at that stock level.
Thank you so much for this tutorial
exceptional intro duction to this topic. I love you guys
hyZS2p1tW-g&t=10m20s 10:20 is the most important section that there is. I've struggle so much with libraries and not understanding where to find the right documentation. Thanks!
not working
Wow , you nailed it , great tutorial , I love the way you kept it brief and effective.
Definitely the best intro into stm32, which I have ever seen. Simple explanation, straight to the point. You are the man!
Can you do a video for the same board but using a 16X2 LCD with it?
great! thanks!
Thanks for the video, I have a question for you, i have a nucleo-f429zi, when i did al the steps in the video my nucleo board don't do anything, but when I program it in Keil Studio on line, yes it's functional, Do you know why i have that problem?
Thanks for your amazing video. However, I've encountered a problem right after I choose debug as stm32 application.
STMicroelectronics ST-LINK GDB server. Version 6.0.0
Copyright (c) 2021, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Shutting down...
Exit.
How can I fix this problem, thanks!
If anyone encounter the problem like I did, where it doesn't get switched to debug perspective ( at hyZS2p1tW-g&t=13m07s 13:07 ), solution is to get the stm32cubeprogramer from st site and do the full chip erase.
Any idea why I configure everything fitting to my Nucleo F429ZI board and the LED's still don't toggle? The code compiles and gets uploaded without any problems