Difference between revisions of "STM32StepByStep:STM32 step by step overview"

[quality revision] [quality revision]
m
m
 
STM32 Step by Step banner.png

STM32 step-by-step 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 5 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, analog...

Start now and quickly become a professional STM32 developer!

1 STM32 basic[edit]

Step by step basic MCU.png

STM32 microcontrollers basic

Find the academic and basic knowledge for microcontrollers.

2 STM32 step by step[edit]

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 STM32 step by step advance[edit]

StepbyStep Analog logo.png

Advance analog tutorial

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.

StepbyStep MC logo.png

Advance MotorControl tutorial

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


4 Go further[edit]

Label STM32CubeMCU Packages.png

STM32Cube_MCU_Package

Go further with STM32Cube MCU Package. Use examples, libraries, helps are available and embedded on STM32 MCU Package



product development.png

Development zone

Get help to start developing applications and share projects
tools.png

Software tools

For a first contact with the tools

STM32 Edu.png

Training zone

Improve your knowledge on STM32 ecosystem through online trainings, MOOC, ...



{{DISPLAYTITLE:Getting started with STM32}}[[File:STM32_Step_by_Step_banner.png|center]]
STM32 step-by-step 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.<br><br>

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.<br><br>

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

Start now and quickly become a professional STM32 developer!<br>

__NOTOC__
==STM32 basic==
{|class="st-table" style="margin: auto; text-align:center
|style="border-style: hidden; background-color: white;width:800px; text-align:center "| [[File:Step by step_basic MCU.png|100px|link=STM32StepByStep:STM32MCU_basics]]<br><br>'''[[STM32StepByStep:STM32MCU_basics | STM32 microcontrollers basic]]'''<br><br>Find the academic and basic knowledge for microcontrollers.<br>

|}<hr>

==STM32 step by step==
{||class="st-table"  style="border-style: hidden"
|-
|[[File:Step by step_1_logo.png|80px|left|link=STM32StepByStep:Step1 Tools installation]]<div class="toccolours mw-collapsible mw-collapsed"><br>

'''[[STM32StepByStep:Step1 Tools installation | Step 1:  Tools installation and first test]]'''<br>Install the main tools to program STM32 and run a first example:<br><br>
<div class="mw-collapsible-content">

1. [[STM32StepByStep:Step1 Tools installation #Install STM32CubeMX | Install STM32CubeMX]]<br>

2. [[STM32StepByStep:Step1 Tools installation #Install STM32CubeIDE | Install STM32CubeIDE ]]<br>

3. [[STM32StepByStep:Step1 Tools installation #Install STM32CubeProg | Install STM32CubeProg]]<br>

4. [[STM32StepByStep:Step1 Tools installation #Download STM32CubeL4 Firmware package | Download STM32CubeL4 Firmware package]]<br>

5. [[STM32StepByStep:Step1 Tools installation #Launch STM32CubeIDE in debug mode and run my first program | Launch STM32CubeIDE in debug mode and run my first program]]<br>
</div>
</div>

|-
|style="border-style: hidden"|[[File:Step by step_2_logo.png|80px|left|link=STM32StepByStep:Step2 Blink LED]]<br>
<div class="toccolours mw-collapsible mw-collapsed">

'''[[STM32StepByStep:Step2 Blink LED| Step 2: Blinking LED with STM32CubeMX and HAL]]'''<br>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:<div class="mw-collapsible-content">

1. [[STM32StepByStep:Step2 Blink LED#Create New Project using STM32CubeMX | Create New Project using STM32CubeMX]]<br>

2. [[STM32StepByStep:Step2 Blink LED#Pinout Configuration | Pinout Configuration]]<br>

3. [[STM32StepByStep:Step2 Blink LED#Clock Configuration | Clock Configuration]]<br>

4. [[STM32StepByStep:Step2 Blink LED#GPIO Configuration | GPIO Configuration]]<br>

5. [[STM32StepByStep:Step2 Blink LED#Configure project and generate source Code | Configure project and generate source Code]]<br>

6. [[STM32StepByStep:Step2 Blink LED#Edit main.c to Toggle the LED | Edit main.c to Toggle the LED]]<br>

7. [[STM32StepByStep:Step2 Blink LED#Build the Project | Build the Project]]<br>

8. [[STM32StepByStep:Step2 Blink LED#Debug the Project | Debug the Project]]<br>
</div>
</div>

|-
|[[File:Step by step_3_logo.png|80px|left|link=STM32StepByStep:Step3 Introduction to the UART]]<br>
<div class="toccolours mw-collapsible mw-collapsed">

'''[[STM32StepByStep:Step3 Introduction to the UART| Step 3: UART and new board introduction]]'''<br>Learn how to get trace on UART and go further with a new board.<br><br>
<div class="mw-collapsible-content">

1.[[STM32StepByStep:Step3 Introduction to the UART#Introduction to the UART I/F on NUCLEO-L476RG | Introduction to the UART I/F on NUCLEO-L476RG]]<br>

2.[[STM32StepByStep:Step3 Introduction to the UART#Introduction to the UART I/F on B-L475E-IOT01A (IoT Node) | Introduction to the UART I/F on B-L475E-IOT01A (IoT Node)]]<br>
</div>
</div>

|-
|style="border-style: hidden"|[[File:Step by step_4_logo.png|80px|left|link=STM32StepByStep:Step4 Sensors usage]]<br>
<div class="toccolours mw-collapsible mw-collapsed">

'''[[STM32StepByStep:Step4 Sensors usage| Step 4: Sensors usage with B-L475E-IOT01A]]'''<br>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.<div class="mw-collapsible-content">

1.[[STM32StepByStep:Step4 Sensors usage#Sensors usage with B-L475E-IOT01A | Sensors usage with B-L475E-IOT01A]]<br>

1.1[[STM32StepByStep:Step4 Sensors usage#Hardware description | Hardware description]]<br>

1.2[[STM32StepByStep:Step4 Sensors usage#Example: Get temperature values using the HTS221 sensor and display them on a terminal | Example: Get temperature values using the HTS221 sensor and display them on a terminal]]<br>

2.[[STM32StepByStep:Step4 Sensors usage#Appendix: Porting an AC6 example to STM32CubeIDE | Appendix: Porting an AC6 example to STM32CubeIDE]]<br>

2.1[[STM32StepByStep:Step4 Sensors usage#Hardware description | Hardware description]]<br>

2.2[[STM32StepByStep:Step4 Sensors usage#Example: Get temperature values using the HTS221 sensor and display them on terminal (Porting from AC6 to STM32CubeIDE) | Example: Get temperature values using the HTS221 sensor and display them on terminal (Porting from AC6 to STM32CubeIDE)]]<br>
</div>
</div>

|-
|style="border-style: hidden"|[[File:Step by step_5_logo.png|80px|left|link=STM32StepByStep:Step5 Build an IOT system]]<br>
<div class="toccolours mw-collapsible mw-collapsed">

'''[[STM32StepByStep:Step5 Build an IOT system| Step 5: Build an IOT system]]'''<br>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.<br>
<div class="mw-collapsible-content">

1.[[STM32StepByStep:Step5 Build an IOT system#Import and convert the HeartRate project from the STM32Cube package | Import and convert the HeartRate project from the STM32Cube package]]<br>

2.[[STM32StepByStep:Step5 Build an IOT system#Build and execute the HeartRate Project | Build and execute the HeartRate Project]]<br>

3.[[STM32StepByStep:Step5 Build an IOT system#Install the Android application on a mobile device | Install the Android application on a mobile]]<br>

4.[[STM32StepByStep:Step5 Build an IOT system#Connect to the IoT node | Connect to the IoT node]]<br>
</div>
</div>

|}
<hr>

==STM32 step by step advance==
{|class="st-table" style="margin: auto;"
| style="border-style: hidden; width:360px; text-align:center; vertical-align:top "|  [[File:StepbyStep Analog logo.png|100px|link=STM32StepByStep:STM32_Advance_Analog]]<br><br>[[STM32StepByStep:STM32_Advance_Analog |Advance analog  tutorial]]<br><br>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.<br><br>


| style="border-style: hidden; width:360px; text-align:center; vertical-align:top "|  [[File:StepbyStep MC logo.png|100px|link=STM32StepByStep:STM32_Advance_MotorControl]]<br><br>[[STM32StepByStep:STM32_Advance_MotorControl |Advance MotorControl tutorial]]<br><br>In this tutorial, learn how to install and use '''''ST Motor Profiler''''' / '''''STM32 Motor Control SDK''''' and increase your skills by running an engine.<br><br>

|}<hr>


==Go further==
{|class="st-table" style="margin: auto; text-align:center

|style="border-style: hidden; background-color: white;width:360px; text-align:center "| [[File:Label_STM32CubeMCU Packages.png|300px|link=Getting_started_with_STM32Cube_MCU_Package]]<br><br>'''[[Getting_started_with_STM32Cube_MCU_Package | STM32Cube_MCU_Package]]'''<br><br>Go further with STM32Cube MCU Package. Use examples, libraries, helps are available and embedded on STM32 MCU Package<br><br>

|}<br><br>


{|class="contenttable" style="margin: auto; text-align:center"
|style="border-color: white; background-color: white;width:360px; text-align:center "|  [[File:product_development.png|100px|link=Development_zone]]<br><br>'''[[Development zone]]'''<br><br>Get help to start developing applications and share projects<br>


|style="border-color: white; background-color: white;width:360px; text-align:center "|  [[File:tools.png|100px|link=Software tools overview]]<br><br>'''[[Software tools overview | Software tools]]'''<br><br>For a first contact with the tools<br><br>


|style="border-color: white; background-color: white;width:350px; text-align:center "|  [[File:STM32_Edu.png|100px|link=Training zone]]<br><br>'''[[Training zone]]'''<br><br> Improve your knowledge on STM32 ecosystem through online trainings, MOOC, ...<br>

|} <hr>

<br clear=all/>

{{PublicationRequestId | 19282| 2021-03-09 | ?}}<noinclude>

[[Category:MainMenuTab2|00]]</noinclude>
Line 1: Line 1:
  +
{{DISPLAYTITLE:Getting started with STM32}}
 
[[File:STM32_Step_by_Step_banner.png|center]]
 
[[File:STM32_Step_by_Step_banner.png|center]]
 
STM32 step-by-step 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.<br><br>
 
STM32 step-by-step 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.<br><br>