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

Knowledge Base Articles

How to run a Dhrystone/DMIPS benchmark on an STM32

Introduction This article guides you on how to perform Dhrystone tests on an STM32L5 microcontroller. For this article, we use a NUCLEO-L552ZE-Q board, which has an STM32L552ZET6QU MCU that integrates an Arm® Cortex® M33 CPU. This code can be easily ...

Lionking_0-1722898420188.jpeg Lionking_1-1722898420198.png Lionking_2-1722898420209.png Lionking_3-1722898420221.png
Lionking by ST Employee
  • 324 Views
  • 0 comments
  • 0 kudos

How to conduct a STM32 self-schematic review PT. 2

What are the recommended steps to take when reviewing my custom STM32 schematic design?  In this two-part article we will cover several main areas of focus when conducting a self-review of a custom STM32 schematic and share some hardware debugging ti...

995.png 996.png 998.png 1000.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

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

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
  • 251 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
  • 159 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

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