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

Problem with memcpy

Hello,I am having a problem with simple line of code. If I run code bellow, the result seems off.//Main job of this code is to tranform hex into float uint32_t hex = 0x3fc51eb8; float f; memcpy(&f, &hex, 4);If i go into Live Expressions i g...

GHrib.1 by Associate III
  • 1674 Views
  • 2 replies
  • 0 kudos

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
  • 986 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
  • 2155 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
  • 9158 Views
  • 4 replies
  • 0 kudos