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
  • 461 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
  • 6283 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...

Using STM32CubeIDE in order to program SPI1 on STM32U585AII6Q with SW NSS. The relevant pins are not initialized and PinOut seems weird.

Trying to configure SPI1 with SW NSS on STM32U585AII6Q with STM32CubeIDE.While generating the code, the relevant 4 pins are not initialized.The PinOut looks like that. This grey shade seems suspicious to me.Below, MX_SPI1_Init() and MX_GPIO_Init()sta...

0693W00000YAucvQAD.png
bmn by Associate II
  • 1156 Views
  • 1 replies
  • 0 kudos

Resolved! Nucleo-STM32f030 ADC setup Issues This code only works when I'm debugging step by step. Otherwise, it always sends ADEN low again, which should not happen!!

This code only works when I'm debugging step by step. Otherwise, it always sends ADEN low again, which should not happen!! (Correct sequence: ADEN goes high then ADRDY goes high and both stay high...) (Note both ADEN and ADRDY are low before line 54 ...

0693W00000YAXrPQAX.png 0693W00000YAXsWQAX.png
OSell.1 by Associate II
  • 2559 Views
  • 7 replies
  • 1 kudos

Resolved! What can cause HAL_ADCEx_Calibration_Start() to fail?

Here is the code snippet. HAL_Delay(5000); if (HAL_ADCEx_Calibration_Start(&hadc1,ADC_SINGLE_ENDED) != HAL_OK) { print_debug_str("Did not calibrate right!"); } else { char buf[32]; sprintf(buf,"Calibration Factor: %lu\r\n",ADC1->CA...

KiptonM by Lead
  • 10774 Views
  • 4 replies
  • 0 kudos

Resolved! I try to use pmd-eclipse plug-in (static analysis tool). Plug-in is installed and I added -vm corresponding option in stm32cubeide.ini to define correct jdk version but it still not works

The error message says that this plug in needs jdk 17 : jdk 17 is installed and I have added the option -vm with corresponding path to javaw.exe. Error Message is still present after CubeIDE restart.

DWeya.1 by Associate
  • 790 Views
  • 1 replies
  • 0 kudos

Resolved! How would you go about adding the version and 8 characters of the git hash to the hexfile name so we can also access it in the program?

Say we have a STM32 project called Foo. When it is compiled, it generates an intel hex file called Foo.hex that we can use to upgrade the file in the field. That is easy. What we would like to do as add the version say 10.1 or 10_1 and the last 8 di...

KiptonM by Lead
  • 3361 Views
  • 4 replies
  • 0 kudos