STM32CubeIDE (MCUs)

Ask questions on STM32CubeIDE. Discuss how to build, debug, configure, and optimize your project as well as how to use our software tools.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeIDE 2.0 release - early heads-up!

Starting from the release in November 2025, STM32CubeIDE and STM32CubeMX will be available exclusively in their standalone versions. STM32CubeMX will no longer be integrated inside STM32CubeIDE. Instead, the two tools will be interoperable in the sam...

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

FreeRTOS + SystemClock Behavior

Hello,I am using STM32L4A6VGTxP with CubeIDE and want to create a system with FreeRTOS.However, I am having the following problem when running the system under FreeRTOS while changing the SystemClock.Is there a solution?Configuration・Custom boards us...

ma-hara by Associate II
  • 2037 Views
  • 4 replies
  • 0 kudos

Resolved! Erase a group of sectors before programming

Hello,is it possible to add a command in the startup tab of the debug configuration, to erase a group of selected sectors, before programming?For example I want to erase sectors [16..63], but not sectors [0..15].I have only found the "monitor flash m...

CTabo.1 by Senior
  • 2755 Views
  • 8 replies
  • 2 kudos

Store variable in EEPROM STM32L011

I am experiencing an issue when I try to store arrays of data in EEPROM. My intention is to define these arrays in code and have the compiler store them in EEPROM memory space.I am using an STM32L011E4 device which has 512 bytes of EEPROM at memory l...

SHDK2000 by Associate II
  • 1777 Views
  • 4 replies
  • 0 kudos

STM32H7 DMA_MDATAALIGN_BYTE Error - CubeMX problem

Reference:STM32H7MCU package 1.11.1CubeIDE 1.13.1This is not a new problem but perhaps a new perspective.  I answered regarding this in a previous post but wanted to bring up anew because of the change in tack.The problem is this: After setting up an...

STM32CubeIDE hangs when printf to SWV ITM Data Console

Evaluation board: STM32L476G-EVALA simple program created using FreeRTOS and Configuration: SYS > Debug: Trace Async Sw.FreeRTOS running a single task. The task prints out a line every 1 ms.The single task has the following loop: for (int32_t i = 0;;...

Garland_0-1689861432320.png Garland_2-1689861548861.png Garland_3-1689861671103.png
Garland by Associate
  • 2146 Views
  • 4 replies
  • 0 kudos

Resolved! STM32f4291-DISC1 ADC

I'm using ADC1 in stm32f429-DISC1 board but the PA2 pin that I'm using for one of my channels is not giving the correct values compared with other pins of different channels.PA0 gives 900 as peak value whereas PA2 giving 150 for the same signal.

harry123 by Senior II
  • 763 Views
  • 1 replies
  • 1 kudos

Resolved! Help explain why this #include isn't working

Hi Folks,I'm trying to build a LVGL project and I'm running into a problem that I can't resolve. I get 25 errors all saying the same thing - "stm32f7xx.h" - no such file or directory.Here are my include settings::Here's the first of the 25 errors:C:/...

error_msg.JPG

Resolved! ADC PWM synchronization 500 kHz

I’m working  STM32H735G-DK, I tried to synchronize the ADC with timmer1, I want to synchronize it at 500 kHz but the maximum that I get is 250 kHz.  This are the images for clock configuration, ADC1 and Tim1, a GPIO is set in 1 when get into on the H...

WhatsApp Image 2023-10-10 at 12.17.45.jpeg WhatsApp Image 2023-10-10 at 12.17.31 (1).jpeg WhatsApp Image 2023-10-10 at 12.17.31.jpeg WhatsApp Image 2023-10-10 at 12.17.30 (2).jpeg
gocafe1 by Associate
  • 1041 Views
  • 1 replies
  • 0 kudos