STM32 MCUs
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

How to enable FreeRTOS™ Run Time and Stack Usage view

In this article, we explore the FreeRTOS™ debugging viewers using STM32CubeIDE and how to enable "Min Free Stack" and "Run Time usage" in each task. Introduction To enhance the analysis and validation of the application running on FreeRTOS™, STM32C...

BMontanari_0-1704993362634.png BMontanari_1-1704993362640.png BMontanari_2-1704993362643.png BMontanari_3-1704993362644.png

Using VS Code for FreeRTOS™ application debugging

Introduction  In this article, we explore how to set up and debug a FreeRTOS™ project for the STM32H753 microcontroller using visual studio code (VS Code). We cover the necessary extensions, step-by-step project creation, and debugging processes, inc...

Extensions.png Tasks creation.png vTaskDelay.png Project generation.png
Sarra.S by ST Employee
  • 40 Views
  • 0 comments
  • 0 kudos

Helpful tips on Using VS Code with STM32

Summary This article highlights some tips on using VS Code with STM32. In this article, we cover the following: Performing a clean build of your project and deleting the cacheAdding source files, directories, and include files to your VS Code project...

B_Subramanian_0-1733431777905.png B_Subramanian_1-1733431777909.png cmakelists.png B_Subramanian_3-1733431777914.png

How to create a custom build setup in STM32CubeIDE

This article covers how to create a custom build setup to allow users to customize, modify, and add specific build settings for each file, folder, or project. Introduction Creating a custom build in STM32CubeIDE can be a powerful tool for developers...

BMontanari_0-1705600232962.png BMontanari_1-1705600232966.png BMontanari_2-1705600232967.png BMontanari_3-1705600232968.png

How to wake up the STM32U5 from STOP2 using LPUART

How to wake up the STM32U5 from STOP2 using LPUART?This article will show you how wake up the STM32U5 MCU from Stop 2 Low Power mode using the LPUART1 supplied by LSE or HSI Clock Source. By the end of this article, you will know the needed steps to ...

566.jpg 567.png 569.png 571.png

How to calibrate the STM32's real-time clock (RTC)

Summary This article provides a step-by-step guide on how to calibrate the precision of a real-time clock (RTC). The examples in this guide are provided using the NUCLEO-U575ZI-Q board, but can be tailored to any other STM32. Introduction The real-t...

BMontanari_1-1732041172104.png BMontanari_2-1732041172109.png BMontanari_3-1732041172111.png BMontanari_4-1732041172112.png

Porting and using X-CUBE-EEPROM with any STM32

Summary  X-CUBE-EEPROM is an EEPROM emulation software package that works on a variety of STM32 MCUs. Upon downloading the package, there are premade examples that work with STMicroelectronics development kits. However, it is not obvious how you can...

Laurids_PETERSEN_0-1687869279217.png 2 porting.png Laurids_PETERSEN_1-1687869424399.png 4 flash interface.png

STM32 FDCAN running at 8 Mb/s on NUCLEO boards

Introduction Many customers requested to have FDCAN communicating at 8 Mb/s. We provide a GitHub hotspot that contains a simple project on several STM32 part numbers. The project allows for FDCAN to reach a bit rate of 8 Mb/s in the data phase. The ...

Laurids_PETERSEN_0-1728997194171.png SofLit_0-1728659214427.png SofLit_1-1728659326925.png SofLit_3-1728659591872.png
SofLit by ST Employee
  • 1031 Views
  • 2 comments
  • 5 kudos

How to use VS Code with STM32 microcontrollers

Summary This article is an introduction to STM32 MCU development through the VS Code IDE. In this article, we cover the following: Setting up your VS Code environment to interface with STM32 MCUsCreating a new project through the embedded CubeMX plat...

B_Subramanian_0-1731514123729.png B_Subramanian_1-1731514123731.png cogwheel.png B_Subramanian_3-1731514123733.png

How to integrate CMSIS-DSP libraries on a STM32 project

Introduction Since CMSIS V 5.8.0, the CMSIS-DSP libraries are supplied as an individual package. The advantage is to decouple the release cycles of DSP from the CMSIS-Core stuff. As a side-effect, the DSP libraries structure was changed and the step...

KDJEM1_3-1716913675458.png KDJEM1_0-1716913201570.png KDJEM1_1-1716913286505.png KDJEM1_5-1716913808851.png
KDJEM.1 by ST Employee
  • 9148 Views
  • 8 comments
  • 5 kudos

STM32H5: How to interconnect RCC clocks to timers

Introduction RCC clocks can be internally connected to timers. The points addressed here are the following: Finding which clock is connected to which timer.Finding how the clock is connected to a timer.Implementing this connection in STM32CubeMX. Thi...

2024-11-29 14_58_57bis-STM32H523_33xx, STM32H562_63xx, and STM32H573xx Arm_Sup_®__Sup_-based 32-bit MCU.png 2024-12-10 14_32_28bis-STM32H523_33xx, STM32H562_63xx, and STM32H573xx Arm_Sup_®__Sup_-based 32-bit MCU.png 2024-12-10 14_32_28Ter-STM32H523_33xx, STM32H562_63xx, and STM32H573xx Arm_Sup_®__Sup_-based 32-bit MCU.png 2024-12-10 14_32_28quarte-STM32H523_33xx, STM32H562_63xx, and STM32H573xx Arm_Sup_®__Sup_-based 32-bit MCU.png

Why NRST pin as GPIO mode is holding the MCU under reset

Introduction The NRST pin can be configured in GPIO mode and this is handy for small packages such as STM32C011 8-pin package. In this article, we explain the constraints and potential workaround of using NRST pin in GPIO mode. STM32C011D6Yx 8pin pa...

STea_1-1733827858859.png STea_0-1733847673174.png STea_2-1733828435310.png
STea by ST Employee
  • 178 Views
  • 0 comments
  • 1 kudos