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
  • 145 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
  • 3346 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...

formula for pwm generation

hi im using stm32g474vet6 mcu, i want generate centrealigned mode pwm of 5khzhow to generate 5khz pwm in centre aligned mode, how to calculate the ARR value for 5khz, since my timer1 clk is 170mhz im not doing any prescalar.can some share the formula...

Resolved! Cube IDE latest update Bug

There is a bug in the new cube ide version in the lwip vonfiguration for the STM32F7 LWIP_RAM_HEAP_POINTER (RAM Heap Pointer) 0x30004000There is no such RAM location in the STM32F7. the correct value should be zero but better u guys check it. by the ...

msalem88 by Associate II
  • 1776 Views
  • 7 replies
  • 2 kudos

Code generation error with NUCLEO-F103RB

I am working on the blink led project on the Nucleo - F103RB, I facing error during the code generation process, the code isn't generating. Might be something with macbook, that i need to install any extra packages or something.Can someone plzz help ...

divraj by Associate
  • 405 Views
  • 1 replies
  • 0 kudos

Resolved! gcc int comparison undefined behavior

I found a different behavior, with or without optimization, that I can't explain me.In the code snippet  below, the value b is 0 if you compile without optimization and 1 with optimization enabled (-O1) (gcc ver 12.3.rev1).The only apparent differenc...

Resolved! Cannot build X-CUBE-SPN2 in CubeIDE

Hi All,  I am trying to import the X-CUBE-SPN2 in CubeIDE, I have followed all the correct steps and am importing the project through the filesystem. However, when I try to build the project I constantly keep getting an error stating that: An interna...

Cash by Associate II
  • 1127 Views
  • 2 replies
  • 0 kudos

How to use available examples in general

 In the above examples the .ioc file is missing. Usually when am unable to open the ioc file, I'll try to open the same ioc file in cube mx and generate the code for stm32 cube ide or I'll update the version of cube ide to migrate to the newer versio...

Screenshot 2025-01-17 184904.png

Target disconnected error

Hi.I have recently encountered a problem that I'm not capable of solving in for a few hours now.I'm using STM32F042K6T6 as a uC and, when I try to debug my projet, it shows me the following errors:Failed to execute MI command:target remote localhost:...

ItzNicolo by Associate II
  • 3542 Views
  • 4 replies
  • 1 kudos