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

STM32CubeCLT 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeCLT is available. What is new in 1.19.0: Support for ST Arm Clang toolchainMaintenance of the previous versionUpdated in accordance with STM32CubeIDE v1.19.0 Main fixed issues in 1.19.0: ...

Resolved! [Resolved] STM32CubeIDE project creation issue

Updated post to reflect permanent fix Dear STM32CubeIDE user, Further to the recent STM32CubeIDE project creation issue, we would like to inform you that a solution is now available for you. This permanent fix applies to all STM32CubeIDE versions. I...

STM32CubeIDE 1.19.0 released

We are pleased to announce that the release 1.19.0 of STM32CubeIDE is available. What is new in 1.19.0: Microcontroller, microprocessor, and board lists aligned with STM32CubeMX v6.15.0:Added the support for STM32MP21xx microprocessors to the STM32MP...

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

Debugger wont launch

I've been using the STM32CubeIDE on a Ubuntu system to develop code for our STM32 based device. Up until today everything was working just fine. But today I made some changes to my code, and when I went to launch the debugger to try it out, I get n...

DTovey by Associate II
  • 5691 Views
  • 12 replies
  • 3 kudos

STM32CubeIde COMPILER

Dear Sir,A project written for STM32U585 reaches the size 900 k bytes.Trying to lower the size , I am tryin to use properties.MCU GCC C compiler -> OptimizationTrying to set Optimization level to optimize most  to -Q3 the property of Optimization lev...

CUBE IDE C code sharing

Good morning,I apologize if this question is a bit dumb, I'm still learning embedded programming.I'd like to know if its possible to share code between projects in STM CUBE IDE.The idea is to have like a "folder" with one (or many) .h and .c files. T...

BRapo.1 by Associate II
  • 1376 Views
  • 2 replies
  • 1 kudos

Middlewares deletion bug in CubeIDE 1.13.1

When reconfiguring a project using emDos and StemWin, the StemWin selection shows up under Middlewares/st, etc.When disabling emDos in the ioc file, the section for emDos is deleted, but so is the StemWin. Removing the OS also removes the entire Midd...

Resolved! how to erase a single page of flash memory

hello guys i need help with stm32f103 and stmcube idei want to erase a pege of flash memory during runtime of programme ,in my case i want to erase page no 63 i have found this following code in hal_flash_ex.c but i dont know how to use it or modify ...

ahmash by Associate II
  • 9177 Views
  • 2 replies
  • 0 kudos

STM32U575(Nucleo-U575ZI-Q) SAI Transmit/Receive

When we use STM32U575 communicate with codec(ES8374) on SAI(I2S Bus). In SAI(I2S Bus),  STM32U575 is master and codec is slave. In STM32CubeMX, STM32U575 use SAI1a to Transmit with mode : Master with Master Clock OUT and use SAI1b to Receive with mod...

01.PNG 02.PNG 03.PNG 04.PNG

Resolved! Synchronization between PWM signal and ADC

Hello! I'm trying to synchronize a PWM signal with an ADC (by TRIGGER OUT EVENT). There are 2 issues: 1. The frequency of the PWM signal is 200 Khz and the frequency of the ADC is 12 Mhz. According to the calculation of 14 cycles (12.5 cycles + sampl...