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

Knowledge Base Articles

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
  • 2609 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

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
mƎALLEm by ST Employee
  • 2651 Views
  • 2 comments
  • 6 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
  • 896 Views
  • 0 comments
  • 1 kudos

Troubleshooting bxCAN issues in Loop back mode on STM32 MCUs

Introduction As many know, CAN test mode is used for debug or test. One of the test modes is the CAN Loop back mode which is mainly used when only one CAN node is available, and the user needs to test the CAN functionality with no need to establish ...

SofLit_0-1733738092058.png SofLit_0-1733739357109.png
mƎALLEm by ST Employee
  • 1401 Views
  • 0 comments
  • 1 kudos

Injecting and handling ECC errors in STM32H7 flash memory

Summary This article provides practical steps showing how to inject and check single and double ECC errors in STM32H7 flash memory. Find attached to the article a ECC Flash project for testing purposes.  Introduction In the STM32H7 microcontrollers, ...

Laurids_PETERSEN_0-1730282566039.png Laurids_PETERSEN_4-1730283300046.png Laurids_PETERSEN_5-1730283318504.png Laurids_PETERSEN_6-1730283506754.png

Understanding VCONN in STM32 and TCPP USB Type-C® port protection

Introduction VCONN is a dedicated power supply pin in the USB Type-C® connector. It provides power to the cables electronics, such as e-markers (EMC), long cables with data repeaters, and VCONN-powered USB devices. It ensures proper power supply ...

FBL_0-1733410931461.png
FBL by ST Employee
  • 1980 Views
  • 0 comments
  • 1 kudos