STM32 MCUs
From FAQs to complete How-to articles, find useful articles on STM32 MCUs programming, troubleshooting, ecosystem, and product details.
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge base articles

How to use ADC with STM32CubeMX2

Summary This tutorial provides a step-by-step guide to enable and configure the analog-to-digital converter (ADC) peripheral using STM32CubeMX2. The example uses the NUCLEO-C562RE board and demonstrates the acquisition of two ADC channels simultaneou...

BMontanari_0-1770300899565.png BMontanari_1-1770300899568.png BMontanari_2-1770300899573.png BMontanari_3-1770300899576.png

How to use the MCO with STM32CubeMX2

Summary This article provides a step-by-step guide to configuring and verifying the master clock output (MCO) on an STM32 microcontroller. The workflow includes initial hardware configuration in STM32CubeMX2, project management using CMake, and proje...

BMontanari_0-1769541272670.png BMontanari_1-1769541272673.png BMontanari_2-1769541272676.png BMontanari_3-1769541272678.png

How to use FreeRTOS™ with STM32CubeMX2

Summary This article provides a step-by-step guide to developing FreeRTOS™ applications on STM32 microcontrollers using STM32CubeMX2 and Visual Studio Code. It covers configuring FreeRTOS™ within STM32CubeMX2, generating and building the project in V...

BMontanari_0-1770907837658.png BMontanari_1-1770907837661.png BMontanari_2-1770907837665.png BMontanari_3-1770907837668.png

How to use FDCAN and HSE with STM32CubeMX2

Summary This tutorial guides you through enabling and configuring the flexible data-rate controller area network (FDCAN) peripheral using STM32CubeMX2 on the NUCLEO-C562RE board. It includes: Setting up FDCAN for basic CAN communicationConfiguring cl...

BMontanari_0-1772672268492.png BMontanari_1-1772672268495.png BMontanari_2-1772672268498.png BMontanari_3-1772672268500.png

How to use RTC with STM32CubeMX2

Summary This article provides a step-by-step guide to configure the hardware real-time clock (RTC) with a basic calendar in STM32CubeMX2. The tutorial uses the NUCLEO-C562RE board. SummaryIntroductionPrerequisites1. Project setup1.1 Project creation...

BMontanari_0-1769630329893.png BMontanari_1-1769630329896.png BMontanari_2-1769630329899.png BMontanari_3-1769630329902.png

How to generate code for IAR from STM32CubeMX2

Summary This article provides a step-by-step guide on generating STM32 project code for IAR Embedded Workbench using the STM32CubeMX2 tool. It covers creating and configuring the project within STM32CubeMX2. This includes selecting the IAR toolchain,...

BMontanari_0-1771527298938.png BMontanari_1-1771527298942.png BMontanari_2-1771527298945.png BMontanari_3-1771527298948.png

How to change the color theme in STM32CubeMX2

Introduction To customize the interface for projects, use the options provided by STM32CubeMX2 to personalize the appearance of files. To change the default settings and apply a personal touch, follow the procedure below. Changing the color theme in...

BMontanari_0-1769615870047.png BMontanari_2-1769615870072.png BMontanari_5-1769616117482.png BMontanari_3-1769615870076.png

How to use DMA in normal mode with STM32CubeMX2

Summary This guide describes how to enable and configure DMA in memory-to-memory mode using STM32CubeMX2. The example uses the NUCLEO-C562RE board. SummaryIntroductionPrerequisites1. Project setup1.1 Project creation1.2 Enabling DMA1.3 Code generatio...

BMontanari_0-1769703285600.png BMontanari_1-1769703285603.png BMontanari_2-1769703285606.png BMontanari_3-1769703285608.png

How to use I2C with STM32CubeMX2

Summary This tutorial provides a clear guide on how to enable and configure the inter-integrated circuit (I2C) peripheral using STM32CubeMX2. The demonstration uses the NUCLEO-C562RE board. The following I2C features are covered: Simple I2C communica...

BMontanari_0-1770148913303.png BMontanari_1-1770148913307.png BMontanari_2-1770148913309.png BMontanari_3-1770148913312.png

How to use SPI with STM32CubeMX2

Summary This tutorial provides a concise guide on how to enable and configure the serial peripheral interface (SPI) using STM32CubeMX2. The demonstration uses the NUCLEO-C562RE board. The following SPI features are covered: Simple SPI communication ...

BMontanari_0-1770141081468.png BMontanari_1-1770141081472.png BMontanari_2-1770141081475.png BMontanari_3-1770141081479.png

How to use TIM with STM32CubeMX2

Summary This tutorial provides a concise guide on how to enable and configure the general-purpose timer (TIM) peripheral using STM32CubeMX2. The demonstration uses the NUCLEO-C562RE board. The following TIM features are covered: Basic timer configura...

BMontanari_0-1769798930057.png BMontanari_1-1769798930059.png BMontanari_2-1769798930062.png BMontanari_3-1769798930063.png

How to set NVIC priority with STM32CubeMX2

Summary SummaryIntroductionPrerequisites1. Project setup1.1 Project creation1.2 EXTI configuration1.3 How to enable custom callbacks2. Generate code3. Configuring the project in Visual Studio Code4. Code5. ValidationConclusionRelated links This artic...

BMontanari_17-1771003226376.png BMontanari_18-1771003226380.png BMontanari_19-1771003226382.png BMontanari_20-1771003226385.png

How to generate code for VS Code from STM32CubeMX2

Summary This article provides a comprehensive guide on how to generate STM32 project code from STM32CubeMX2 specifically tailored for Visual Studio Code development. It covers creating and configuring the project in STM32CubeMX2, generating code comp...

BMontanari_0-1771525749821.png BMontanari_1-1771525749825.png BMontanari_2-1771525749828.png BMontanari_3-1771525749830.png

How to use UART with STM32CubeMX2

Summary This article provides a concise guide on how to enable and configure the universal asynchronous receiver transmitter (UART) using STM32CubeMX2. The tutorial demonstrates the process with the NUCLEO-C562RE board, and covers the following UART ...

BMontanari_0-1769790160893.png BMontanari_1-1769790160896.png BMontanari_2-1769790160899.png BMontanari_3-1769790160901.png

How to use the EXTI with STM32CubeMX2

Summary This article provides a step-by-step guide to configure the EXTI (external interrupt) function for a GPIO in STM32CubeMX2. The tutorial uses the NUCLEO-C562RE board. SummaryIntroductionPrerequisites1. Project setup1.1 Project creation1.2 GPIO...

BMontanari_0-1769710290017.png BMontanari_1-1769710290019.png BMontanari_2-1769710290021.png BMontanari_3-1769710290024.png

How to use clock configuration in STM32CubeMX2 for STM32C5

Summary This article explains how to understand and configure the STM32C5 clock system in STM32CubeMX2 by directly relating the graphical STM32C5 Clock view to the formal description in RM0522. It shows how the Reset and Clock Control (RCC) manages b...

BMontanari_6-1769534786689.png BMontanari_7-1769534786693.png BMontanari_0-1769535312594.png BMontanari_9-1769534786712.png

How to get started with STM32C5 microcontrollers

Introduction to the STM32C5 ecosystem The STM32Cube ecosystem accelerates development and enables users to fully benefit from STM32C5 microcontroller features and architecture. STM32Cube support for STM32C5 microcontrollers consists of a complete so...

Overall FAQs for PSSI

Introduction This article provides answers to frequently asked questions regarding Parallel Synchronous Slave Interface (PSSI) and includes a list of useful resource links.  1. Frequently asked questions about PSSI 1.1 Can PSSI transmit or receive d...

KDJEM.1 by ST Employee
  • 268 Views
  • 0 comments
  • 1 kudos