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

Knowledge Base Articles

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
  • 604 Views
  • 0 comments
  • 1 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
  • 1228 Views
  • 0 comments
  • 1 kudos

ADC interleaved mode (2/2): Hands-On STM32CubeIDE project

This series of articles will provide you with: Tips&tricks on how to implement ADC interleaved mode to double equivalent sampling rateADC interleave mode details from practical point of viewInfo on DMA data transfer using ADC Common Data Register Par...

1509.png 1510.png 1511.png 1512.png
LauraCx by ST Employee
  • 5858 Views
  • 2 comments
  • 3 kudos

How to connect two quad-SPI memories using only one OCTOSPI

There are two possible solutions for connecting two quad-SPI memories using only one OCTOSPI interface. Solution 1: Use a dedicated bit in the OCTOSPI_CR register for external memory selection: MSEL bit for STM32H5, STM32U5, and STM32L5 series or FS...

KDJEM1_0-1719503650093.png KDJEM1_0-1721138414681.png
KDJEM.1 by ST Employee
  • 563 Views
  • 2 comments
  • 4 kudos

How to obtain and use the STM32 96-bit UID

Introduction Some STM32 MCUs embed two unique identifiers: a unique 96-bit unique identifier and device ID. This article shows how to both obtain these values in your code, and describe some possible use cases for them. 1. 96-bit unique ID This 96-b...

MCUSupportTD_0-1703015576603.png MCUSupportTD_1-1703018522618.png

How to connect to the STM32 CAN Bootloader interface

The bootloader inside STM32 families uses the protocol described in AN3154. It is supported by the STM32F1, F2, F4, F7, L4 series. The purpose of this article is to give a guide on how to connect to a STM32 CAN bootloader Target, to erase and program...

10.jpg 11.png 12.png 13.png

Downloading STM32Cube packages from GitHub correctly

You will receive one or more compilation errors if you download any given STM32Cube package by using the GitHub Download ZIP option.  This is because our repository is created using the git submodule command. So, if the GitHub Download ZIP option is...

STTwo-32 by ST Employee
  • 1671 Views
  • 1 comments
  • 1 kudos

How to change STM32CubeIDE to dark theme

If you want a customized interface to work on your projects, you can try the alternatives offered by the STM32CubeIDE to personalize the appearance of your files. To change the default settings to give it a personal touch, follow the steps below. Cre...

273.png 274.png 275.png 276.png

Overall FAQs for QUADSPI/OCTOSPI/HSPI/XSPI

Introduction The purpose of this article is to provide some external memories tips and tricks, frequently asked questions, and a list for useful link resources.  1. Overall FAQs for QUADSPI/OCTOSPI/HSPI/XSPI  1.1. How to check whether a device is sup...

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

IWDG early wakeup interrupt in Stop modes for STM32U5

Introduction  The IWDG (Independent Watchdog) offers the possibility to exit from stop modes in STM32U5. The wakeup from stop with interrupt is supported in Stop 0, Stop 1, Stop 2, and Stop 3 modes for STM32U535/545/59x/5Ax/5Fx/5Gx as described in t...

IWDG in lp modes.PNG PA5 GPIO output.PNG IWDG config.PNG LL config.PNG
Sarra.S by ST Employee
  • 379 Views
  • 0 comments
  • 1 kudos

How to use the input capture feature

Introduction  Input capture is one of the advanced timer features available on the STM32 microcontrollers. This article guides you through the theoretical aspects of input capture, provide a practical example, and discuss troubleshooting common issu...

clock configuration.png input capture mode.png TIM2 configuration.png TIM2 interrupt.png
Sarra.S by ST Employee
  • 9443 Views
  • 6 comments
  • 4 kudos

Unable to connect to STM32H7 devices

After re-programming STM32H7 device, I can’t connect to the device. Connect under reset doesn’t help. Why?There are two possible root causes, that can cause this issue. First one is more probable and is related to power supply misconfiguration. And s...

68.png