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

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
  • 1031 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
  • 2332 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
  • 9850 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
  • 694 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
  • 2934 Views
  • 4 replies
  • 0 kudos