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

Knowledge Base Articles

DMA is not working on STM32H7 devices

The problem is related to two things: memory layout on STM32H7 and internal data cache (D-Cache) of the Cortex-M7 core.  In summary these can be the possible issues: Memory placed in DTCM RAM for D1/D2 peripherals. Unfortunately this memory is used a...

698.png 700.png Laurids_PETERSEN_0-1690194613355.png 701.png

Debugging in external memory on STM32CubeIDE

Introduction This article describes how to debug in external memory on STM32CubeIDE based on the example provided in the following GitHub repository: STM32CubeH7/Projects/STM32H7B3I-EVAL/Applications/ExtMem_CodeExecution.Regarding hardware, we use th...

Pape_0-1722844618104.png code change.png Pape_2-1722845880991.png Pape_3-1722845895581.png

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
  • 307 Views
  • 4 comments
  • 3 kudos

ADC value affected by ETH PHY 50 MHz from RMII interface

Ethernet reference clock affecting ADC values in STM32 microcontrollers In various STM32 microcontroller applications, the Ethernet reference clock (ETH_REF_CLK) has been observed to introduce noise into ADC (analog-to-digital converter) measurements...

STea_0-1720793800459.png STea_1-1720793848676.png
STea by ST Employee
  • 96 Views
  • 1 comments
  • 2 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
  • 89 Views
  • 0 comments
  • 0 kudos

Ethernet not working on STM32H7x3

The Ethernet peripheral on STM32H7x3 is not sending, or receiving data correctly. Or, the IP stack is not able to establish connection to other devices. What could be the problem? In most cases, the problem is related to memory layout and Memory Prot...

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

Tips for using STM32 low-power modes

Introduction For those developing applications that use low power modes, trying to achieve the current consumption numbers listed in the datasheet and performing general debugging can be troublesome. The purpose of this article is to give an overall...

MCUSupportTD_0-1702918556927.png MCUSupportTD_1-1702918713976.png MCUSupportTD_0-1702918956534.png MCUSupportTD_1-1702919543374.png

How to recognize a genuine ST-LINK/V2 versus a cloned one

To answer the questions like "Is my ST-Link/V2 genuine? Where to find a genuine ST-Link/V2? Why my device isn't recognized?" and other related ones, please refer to the following: Where to find a genuine ST-Link/V2 ST-Link official in-circuit debugge...

667.jpg 668.jpg 669.jpg 670.jpg

FAQ: How to configure FIFO with the OCTOSPI interface

Maximum FIFO size with the OCTOSPI interface The FIFO is sized into the targeted product, typically either 32 or 64 bytes depending on the product. Refer to the reference manual to check the maximum size in the "FIFO and data management" section. Co...

KDJEM.1 by ST Employee
  • 125 Views
  • 0 comments
  • 2 kudos

How to measure the junction temperature of an STM32H7

The STM32H7 MCU family clock reaches up to 600MHz and thermal management matters due to power dissipation, see details in the AN5036 Guidelines for thermal management on STM32 applications. https://www.st.com/resource/en/application_note/an5036-guid...

BartoszBORYNA_1-1720168897764.png BartoszBORYNA_2-1720169006997.png BartoszBORYNA_0-1720169116141.png BartoszBORYNA_1-1720169175103.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
  • 1878 Views
  • 3 comments
  • 3 kudos