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

Using timers to trigger ADC conversions periodically

Introduction Some applications require periodic sampling of analog signals using an ADC (Analog to Digital Converter) for digital signal processing. The objective of this article is to explain how to configure an STM32 timer to trigger ADC conversion...

1923.jpg 1926.png 1929.png 1931.png

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

How to use STM32U5 with FreeRTOS™ in tickless mode

Introduction In this article, we cover the needed steps to use the FreeRTOS™ in tickless mode, specifically entering in STOP2 low-power mode with the STM32U5. In this example, we use the X-CUBE-FREERTOS™ pack with the LPUART and EXTI as the wake up ...

minor changes.jfif used by freeRTOS.png debounce filter.png baud rate.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
mƎALLEm by ST Employee
  • 8594 Views
  • 4 comments
  • 9 kudos

Using the ITM console for printf redirects and LWIP debug messages

Introduction This article provides a step-by-step guide on how to use the Instrumentation Trace Macrocell (ITM) console to redirect print statements and LWIP debug messages in STM32CubeIDE. These tools are valuable for debugging and optimizing your ...

STea_0-1727452498018.png STea_4-1728490607717.png 1 edited.png STea_0-1728319052260.png
STea by ST Employee
  • 12274 Views
  • 2 comments
  • 4 kudos

STM32 and FreeRTOS+ CLI library

Introduction In this guide, we explore how to integrate and use the FreeRTOS+ command-line interface (CLI) library to enhance your embedded applications. Designed for ease of use and flexibility, the FreeRTOS+ CLI allows developers to create robust c...

managesoftwarepacks.png freertos.png selectComponents.png softwareselector.png

How to open a STM32CubeIDE X-CUBE project

Introduction ST provides several X-CUBE source packages for STM32 on st.com with STM32CubeIDE project files. To open the projects in STM32CubeIDE, there are several ways. Note: some X-CUBE packages are also provided in STM32CubeMX as installable "pac...

search on st.com.png STM32CubeIDE_File_Import_menu2.png STM32CubeIDE_Import_widget2.png STM32CubeIDE_import_project2.png

CAN (bxCAN) bit time configuration on STM32 MCUs

Introduction Timing aspects are crucial in a CAN bus system design. The designer of the CAN bus system must study it carefully to prevent any communication issues on the CAN network.This article does not cover the CAN protocol description and its fra...

Figure 1_updated.png RCC_CAN_clock.png CAN_BTR_PRP.png mALLEm_0-1744729390319.png
mƎALLEm by ST Employee
  • 10683 Views
  • 2 comments
  • 1 kudos