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

We are pleased to announce that STM32CubeCLT 1.20.0 release is available. What is new in 1.20.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.0.0Update of Clang toolchain version 19.1.6Update of GCC 13.3.rel1Update ...

Aimen1 by ST Employee
  • 462 Views
  • 0 replies
  • 0 kudos

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
  • 6351 Views
  • 0 replies
  • 4 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...

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
  • 1624 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 III
  • 10252 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...

Resolved! Issue with multichannel ADC readings in stm32f334r8

Hi,I am working on interleaved buck converter for which I have to sense muiltiple voltage signals from current sensor,so I am using ADC1 of stm32f334r8. The problem what I am faceing is that if I vary the voltage on PA0 pin which is ADC1_IN1, the adc...

vasudev by Associate II
  • 1010 Views
  • 1 replies
  • 1 kudos