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

STM32CubeIDE 2.1.1 released

We are pleased to announce that the minor version 2.1.1 of STM32CubeIDE is available. What is new in 2.1.1: This release covers the topics listed below: SEGGER J-Link GDB server updated to 9.24 to fix an issue with the Live Expression view during the...

Aimen1 by ST Employee
  • 1087 Views
  • 0 replies
  • 1 kudos

STM32CubeCLT 1.21.0 released

We are pleased to announce that STM32CubeCLT 1.21.0 release is available. What is new in 1.21.0: Maintenance of the previous version: Updated in accordance with STM32CubeIDE v2.1.0Update of Clang/LLVM toolchainUpdate of GCC to GCC 14Update of STM32Cu...

Aimen1 by ST Employee
  • 472 Views
  • 0 replies
  • 0 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...

Target unknown error 19

Target unknown error 19Error in initializing ST-LINK device.Reason: Unknown. Please check power and cabling to target.  how to clear the above error, please reply immediately in urgent base to clear the above error

Resolved! Hard Fault Exception by build with optimisation

Hello,I've a project which are build with the STM32CubeIDEA Version 1.16.0. I use the tool chain 11.3.rel1. After build with optimisation -O0 the application works without problems. It is implemented with bare metal and with using of the LL version 1...

bm2 by Associate III
  • 4062 Views
  • 8 replies
  • 2 kudos

fatal error coming

we are facing following errors during compilation:1. fatal error: cmsis_os2.h: No such file or directory OSWrappers.cpp /STM32U5G9J-DK2/Application/User/TouchGFX/target/generated line 22 C/C++ Problem2.Description Resource Path Location Typefatal err...

aiswarya by Associate
  • 2160 Views
  • 1 replies
  • 1 kudos

Resolved! HAL_ADC_ConvCpltCallback only called once

I have a custom board with an STM32WB55CEU6 that I'm programming using the STM32CubeIDE.  I'm struggling with getting the ADC to work in DMA mode.  I can connect via SWD and the while loop runs fine but HAL_ADC_ConvCpltCallback is only triggered once...

nollstead by Associate III
  • 12358 Views
  • 7 replies
  • 4 kudos

Resolved! How to set the FRXTH bit in STM32F407vgt6

Hello Everyone, I am now looking for something like the LL_SPI_SetRxFIFOThreshold() function that I can use with the STM32F407vgt6 is there a good way?  What we want to do is, as an example, using the LL_SPI_SetRxFIFOThreshold() function, we want to ...

Resolved! Code analysis not working

I am trying to enable a warning/error  for magic numbers in code analysis. But after I build the project I get no warnnings/errors regarding the magic numbers even tough I  have a lot of magic numbers troughout  the project. How do i enable code anay...

manto1_0-1724759472998.png
manto.1 by Senior
  • 2958 Views
  • 5 replies
  • 1 kudos

error on recipe when adding cubeide src files to layer

Hello @Erwan SZYMANSKI , how are you ,I hope you doing well.I have a problem with my spi communication configuration. I created my slave and master projects with cubeide and add those files to my own layer and write a recipe file for that.Here is how...

nesnes by Associate III
  • 1572 Views
  • 1 replies
  • 0 kudos

Resolved! HAL_UARTEx_ReceiveToIdle_DMA() isn't working as expected

Hi Everyone, I'm using Nucleo-f429 board and using HAL UART API's on it. I have observed that on using HAL_UARTEx_ReceiveToIdle_DMA()  for a receiving data of length 800. I found that Buffer getting filled / Interrupt is called once its size reached ...

Praneeth by Associate II
  • 3564 Views
  • 7 replies
  • 2 kudos