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

Knowledge Base Articles

New release of Secure Manager 1.2.0 for STM32H5 - overview

The Secure Manager for STM32H573 version 1.2.0 has recently been released.  It’s available on our Secure Manager webpage. We wanted to inform you about the importance of this new release, and to refresh how it could improve your security concerns. Up...

ThierryCrespo_0-1726495408330.png ThierryCrespo_1-1726496946852.png

How to debug a HardFault on an Arm Cortex®-M STM32

Introduction For a firmware developer targeting and STM32 MCU based on a Cortex® M, they need to keep an eye on memory access, hardware availability, clock, and power to avoid running into issues that can be hard to follow and determine their root c...

STea_0-1715262749764.jpeg STea_1-1715262749770.jpeg STea_5-1715262749776.jpeg hardfault regs.PNG
STea by ST Employee
  • 20545 Views
  • 2 comments
  • 14 kudos

How to program and debug the STM32 using the Arduino IDE

Summary This article covers how to program and debug your STM32 device with the Arduino IDE. In this knowledge article, we explore the following main points: How to install the STM32 MCUs in the Arduino IDEHow to program a simple blink LED based on ...

BMontanari_0-1700165815072.png BMontanari_13-1700166272699.png BMontanari_14-1700166292284.png BMontanari_15-1700166325305.png

Injecting and handling ECC errors in STM32H7 RAM

Summary This article provides a step-by-step method to test the ECC single and double errors in the STM32H7 series. Find attached to the article a ECC RAM project for testing purposes.  Introduction In STM32H7 microcontrollers, RAM ECC (Error Correc...

CMYL_0-1730289954134.png CMYL_1-1730290944180.png CMYL_2-1730291031740.png CMYL_3-1730291031742.png
CMYL by ST Employee
  • 955 Views
  • 0 comments
  • 4 kudos

How to share an API between a bootloader and an application

Summary This article provides a step-by-step guide on how to configure your STM32 to have a super simple bootloader and application. Additionally, a third region in memory where a shared set of functions between the two other codes can reside. The b...

BMontanari_0-1730153357515.png BMontanari_1-1730153357520.png BMontanari_2-1730153357523.png BMontanari_3-1730153357527.png

How to use function pointers in STM32CubeIDE

Summary This article provides a step-by-step guide and example regarding how a function pointer is implemented and used. The basic usage and a simple example application are provided using the NUCLEO-G071RB board but can be easily tailored to any ot...

BMontanari_0-1730142065473.png BMontanari_1-1730142065475.png

How to use SNTP over LwIP and RTC with an STM32

Summary This article demonstrates how to implement an SNTP client using the LwIP stack in a callback-based application. The demonstration code is built using the NUCLEO-H723ZG development board but can be easily tailored to a different STM32. All im...

BMontanari_0-1730159840046.png BMontanari_1-1730159840048.png BMontanari_2-1730159840055.png BMontanari_3-1730159840056.png

How to select suitable endpoints for your STM32 USB application

Introduction The article provides a comprehensive guide on selecting suitable endpoints for USB applications using STM32 microcontrollers. This involves understanding the types of data transfers required by the application and determining suitable en...

FBL_0-1729619247624.png FBL_1-1729624203582.png
FBL by ST Employee
  • 1458 Views
  • 0 comments
  • 1 kudos

How to calculate and generate post-build CRC

How to calculate and generate post-build CRC? 1.  Cyclic Redundancy Check Cyclic Redundancy Check (CRC) is an error detection method for digital data based on binary division.CRC algorithm generates a fixed checksum code length.  2. How to calculate ...

1541.png 1542.png 1543.png 1544.png
LauraCx by ST Employee
  • 11744 Views
  • 3 comments
  • 1 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...