Getting started with STM32 : STM32 step by step

Revision as of 18:10, 20 April 2020 by Registered User
Under construction.png Page under construction

STM32 step-by-step is a learning program, part of the STM32 Education initiative, 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 5 tutorials from the basics of the STM32 ecosystem installation to advanced software development with sensors, UART messages and Bluetooth communication.

Start now and quickly become a professional STM32 developer!

1. Step 1: Pre-requisites

Clock.png 45min
Install the main tools to program STM32 and run a first example:
1. Install STM32CubeMX
2. Install STM32CubeIDE
3. Install STM32CubeProg
4. Download STM32CubeL4 Firmware package
5. Launch STM32CubeIDE in debug mode and run my first program
File:PDF file.png Download pdf

2. Step 2: Blink LED example on the NUCLEO-L476RG board using STM32CubeMX and HAL

Clock.png 30min
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:
1. Create New Project using STM32CubeMX
2. Pinout Configuration
3. Clock Configuration
4. GPIO Configuration
5. Configure project and generate source Code
6. Edit main.c to Toggle the LED
7. Build the Project
8. Debug the Project
File:PDF file.png Download pdf

3. Step 3: UART and new board introduction

Clock.png 12min
With this module, you will:

1. Introduction to the UART I/F Introduction on NUCLEO-L476RG
2. Introduction of L475 IoT Node Discovery Board
3. Introduction to the UART I/F Introduction on L475 IoT Node Discovery Board
File:PDF file.png Download pdf

4. Step 4: Sensors usage with B-L475E-IOT01A

Clock.png xxmin
The purpose of this tutorial is to explain how to get measurements using sensors available in the STM32L4 Discovery kit: a step-by-step configuration for a temperature sensor of B-L475E-IOT01A will be described.
Use of sensors on B-L475E-IOT01A
1. Hardware description
2. Example: get temperature values using HTS221 sensor and display them in a terminal

Appendix: Porting SW4STM32 example to TrueSTUDIO
1. Overview of the selected example and hardware
2. Firmware execution steps: focus on porting the example to TrueSTUDIO
File:PDF file.png Download pdf

5. Step 5: Build an IOT system

Clock.png xxmin
This tutorial shows how to program and use the Bluetooth interface to perform data communication in between the STM32L4 Discovery kit IoT node (B-L475E-IOT01A) and an Android application running on a mobile.
1. STM32 programming
2. Installing the Android application on a mobile
File:PDF file.png Download pdf

[[CategorySTM32 step by step]]