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.

Security for IoT toolbox.png

Getting started with SFI

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

3.5. External memory tools

StepbyStep EXtMem logo.png

Getting started with External memory Manager and External memory loader

In this tutorial, learn how to use External memory tools. dedicated to STM32H7RS.

3.6. Connectivity

3.6.1. Bluetooth® Low Energy

StepbyStep BLE logo.png

Getting started with STM32WB1M Discovery Kit Out Of Box Demonstration

In this tutorial, learn how to use the STM32WB1M Discovery Kit Out Of Box Demonstration.

StepbyStep BLE logo.png

Getting started with STM32WBA55 Discovery Kit Out Of Box Demonstration

In this tutorial, learn how to use the STM32WBA55 Discovery Kit Out Of Box Demonstration.

StepbyStep BLE logo.png

Getting started with Nucleo-WBA55CG Out Of Box_Demonstration

In this tutorial, learn how to use the Nucleo-WBA55CG Out Of Box Demonstration.