Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Starting with STM32 - Programming Tutorial for Beginners - Step by Step

Robert Feranec via YouTube

Overview

Learn STM32 programming from scratch in this comprehensive tutorial for beginners. Start by creating a new project in STM32 CubeIDE, then explore STM32 chip configuration, including GPIO pins and clock settings. Understand the project tree structure and essential files before diving into GPIO control and delay functions. Upgrade your ST-LINK and familiarize yourself with the STLINK STM32 debugger/programmer. Build and run your code, then advance to more complex topics such as interrupt handling and UART communication with a PC. Follow along step-by-step to gain practical experience in STM32 microcontroller programming.

Syllabus

What is this video about
Starting a new project in STM32 CubeIDE
STM32 chip configuration - GPIO pins ioc file
Clock configuration
Project tree and files explained
Controlling a GPIO in STM32
Delay function - HAL_Delay
ST-LINK upgrade
STLINK STM32 debugger / programmer
Building and running your code
STM32 interrupt code example + explanation
STM32 UART to PC example + explanation

Taught by

Robert Feranec

Reviews

4.0 rating, based on 1 Class Central review

Start your review of Starting with STM32 - Programming Tutorial for Beginners - Step by Step

  • Profile image for Abduliah Kenawy
    Abduliah Kenawy
    An excellent and very simplified course, as I benefited from this course and it simplifies the explanation very much, so that the method of writing the code was very smooth and enjoyable, and there were no complications in writing the codes. And whoever benefits from this course, I will apply all the codes to create projects that consist of mini models and industrial projects. It serves the community and increases productivity in all different fields. I am very, very happy that I have completed this course and that I have come away with all this benefit that I did not expect to obtain. I advise everyone to enter this course in order to obtain what they want from learning embedded systems and applying them on the ground.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.