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

FAQ: Troubleshooting a USB core soft reset stuck on an STM32

1. Issue description USB_CoreReset() the USB_OTG_GESTCTL_CSRST bit is never reset and hence a timeout occurs.Here is the call stack:   The CSRST bit in the GRSTCTL register is not cleared, resulting in a timeout. do { count++; if (count...

FBL_2-1747820756193.png 2-fixed.png FBL_0-1748439955183.png
FBL by ST Employee
  • 40 Views
  • 0 comments
  • 0 kudos

How to configure the linked list mode in STM32CubeMX

Introduction This article provides a step-by-step guide on configuring the GPDMA linked list in STM32CubeMX. It does not cover the legacy standard DMA approach, which is described in the article "How to configure the GPDMA." 1. Software prerequisite...

Icache config.png GPDMA config(all channels).png GPDMA config(ch0).png linked_list_Queue_Config.png
Sarra.S by ST Employee
  • 3037 Views
  • 3 comments
  • 2 kudos

Jump to bootloader from application on STM32H7 devices

In STM32H7, the base address of system memory is different from the entry point of the bootloader.  Thus, in order to jump to the bootloader, address "0x1FF09800" should be used instead of "0x1FFF0000".  Below, you find a sample code permitting the j...

Empty check mechanism on STM32

1) GPIOs are not in High impedance after reset2) User code is not executed after programming empty deviceOn most STM32s GPIO after reset are configured in high impedance except for Debug pins. Some STM32s implement so called empty check mechanism, wh...

127.png

How to use FreeRTOS™ with STM32N6

Summary This article helps you set up a project for the STM32N6 microcontroller using the X-CUBE-FREERTOS middleware.  Introduction This article focuses on how to use the X-CUBE-FREERTOS software package with the STM32N6. The step-by-step example sh...

BMontanari_0-1747921642972.png BMontanari_1-1747921642974.png BMontanari_2-1747921642976.png BMontanari_3-1747921642985.png

Guide to USB development resources on STM32

Introduction This article gives you the key information you need to dive into USB development on STM32. It mentions various resources, including training (MOOCs), articles, and application notes, that can help understand USB theory and hardware imple...

Gyessine by ST Employee
  • 781 Views
  • 1 comments
  • 5 kudos