Getting started with STM32: STM32 step-by-step

STM32 Step by Step banner.png

The Getting started with STM32 step-by-step guide is designed for anyone interested in getting started on building projects with the STM32 microcontroller and its powerful ecosystem of development boards and software programming tools.

Whether you are an experienced embedded programmer or an enthusiastic beginner, learn in five tutorials from the basics of the STM32 ecosystem installation to advanced software development with sensors, UART messages, and Bluetooth communication.

If you want to extend your knowledge, try advanced steps on various topics such as, motor control and analog.

Start now and quickly become a professional STM32 developer!

1 STM32 basic

Step by step basic MCU.png

STM32 microcontrollers basic

Find the academic and basic knowledge for microcontrollers.

2 STM32 step-by-step

Step by step 1 logo.png
Step by step 2 logo.png

Step 2: Blinking LED with STM32CubeMX and HAL
Learn how to use STM32CubeMX tool to configure the pins, start the peripherals, build and generate your starting projects with initialization C code using HAL.

Step by step 3 logo.png

Step by step 4 logo.png

Step by step 5 logo.png

Step 5: Build an IOT system
This tutorial shows how to program and use the Bluetooth interface to perform data communication between the STM32L4 Discovery kit IoT node (B-L475E-IOT01A) and an Android application running on a mobile.



3 Go further with STM32

3.1 Analog

StepbyStep Analog logo.png

Getting started with analog

In this tutorial, learn how to capture, filter, and record sound with a STM32F769I-DISCO board. Go further and apply the cross correlation algorithm in order to estimate the direction of the sound.

3.2 Motor Control

StepbyStep MC logo.png

Getting started with Motor Control

In this tutorial, learn how to install and use ST Motor Profiler/STM32 Motor Control SDK and increase your skills by running an engine.

3.3 USB-Power Delivery

StepbyStep USBPD logo.png

Getting started with USB-Power Delivery Sink

In this tutorial, learn how to create a USB-PD Sink device with the NUCLEO-G071RB board and the X-NUCLEO-SNK1M1 or X-NUCLEO-USBPDM1 shield.

StepbyStep USBPD logo.png

Getting started with USB-Power Delivery Source

In this tutorial, learn how to create a USB-PD Source device with the NUCLEO-G0B1RE board and the X-NUCLEO-SRC1M1 shield.

StepbyStep USBPD logo.png

Getting started with USB Type-C® only Source

In this tutorial, learn how to create an USB legacy 3A@5V Type C Source application with the NUCLEO-F446RE board that does not include any UCPD peripheral and the X-NUCLEO-SRC1M1 shield.

StepbyStep USBPD logo.png

Getting started with USB-Power Delivery Dual Role

In this tutorial learn how to create a USB-PD Dual Role application with the NUCLEO-G071RB board and the X-NUCLEO-DRP1M1 shield by using STM32CubeIDE software

3.4 Security

Safety & security.png

Getting started with STM32H5 and security

A set of practical examples is proposed to get an overview and to understand the STM32H5 security solutions.

80px

Getting started with SFI

In these tutorials, learn how to use SFI with multiple cards.