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.0 released

We are pleased to announce that STM32CubeIDE 2.0.0 release is available. STM32CubeIDE is now independent from STM32CubeMX. With this release, device configuration, previously handled within STM32CubeIDE via STM32CubeMX, is now exclusively available t...

Aimen1 by ST Employee
  • 2149 Views
  • 0 replies
  • 3 kudos

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...

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
  • 2084 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
  • 2496 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
  • 908 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
  • 1222 Views
  • 1 replies
  • 0 kudos

Resolved! RTC calibration oputput on STM32H7x with LL driver - Bug report

Hello,I tried to enable in the CubeMX section PB2 as calibration output, but it was not working.The fix is to add a couple of lines after the RTC init:... /** Enable Calibration */ LL_RTC_CAL_SetOutputFreq(RTC, LL_RTC_CALIB_OUTPUT_512HZ); //<-...

MD by Associate II
  • 1408 Views
  • 3 replies
  • 0 kudos