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
  • 43 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
  • 2692 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...

ADC dma without loseing samples

Hi ,i am using adc dma multibuffer mode and first buff =1000 seconf buff =1000after getting completed call back i am switching the buffer and starting multidma_buffer again but in this case i am lossing some data when i processing completed call back...

kchin.2 by Associate II
  • 1409 Views
  • 4 replies
  • 0 kudos

Impossible to rename main.c into main.cpp in sample code?

Hi,I'm using the sample HID_Standalone (USB_Host) for the board NUCLEO-H723ZG. I tried to rename the file main.c into main.cpp to force compilation with g++ instead of gcc. This worked fine with an Hello World I studied before.Unfortunately, a really...

Resolved! Using HAL_FLASH_Program to write a word on a NUCLEO-C031C6

Good Day, Is it possible to write a Word using HAL_FLASH_Program? If I use the TypeProgram =  FLASH_TYPEPROGRAM_DOUBLEWORD in the function (shown below) it will write to flash. If I use FLASH_TYPEPROGRAM_WORD it will not write to flash and I receive ...

SJC by Associate
  • 2066 Views
  • 2 replies
  • 1 kudos

how to disable watchdog on STM32G071KBU3

Hi,I need to disable windowed watchdog before jump from application to my custom Bootloader.From LL enable routine and from rm0444, I read that bit WDGA (Activation bit) of WWDG_CR register, can only be set.The reset of this bit is only possible afte...

DAUSILI by Associate III
  • 2775 Views
  • 4 replies
  • 1 kudos

STM32H735G-DK digital signal processing

I am using STM32H735G-DK for signal processing. I input a 10KHZ sine wave with an amplitude of 1V from a signal generator. Using STM32H735G-DK with a sampling rate of 48000HZ, I square the sine wave and output it to an oscilloscope. However, there is...

kuxiang by Associate II
  • 1190 Views
  • 1 replies
  • 0 kudos

GCC Optimizations result in application not running

Any time I set any optimization level for GCC my application will not longer start.  I can set G++ optimization to anything and it still works fine as long as GCC optimization is set to -O0.  This project uses TouchGFX and FreeRTOS.While in debugger ...

PFlor2_0-1690213152264.png
PFlor.2 by Senior II
  • 1969 Views
  • 4 replies
  • 1 kudos

Resolved! Flash memory as ram

I want to use some part of flash memory as ram but i am getting below errorC:/ST/STM32CubeIDE_1.13.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.0.202305231506/tools/bin/../lib/gcc/arm-none-eabi...

kchin.2 by Associate II
  • 1763 Views
  • 3 replies
  • 0 kudos

Resolved! tick problem after jump to custom Bootloader

Hi,I have a problem after jump from application to my custom Bootloader.This the micro code: STM32G071KBU3.I correctly jump from application to Bootloader, but after the jump I don't get anymore interrupt from tick.I add an information: if I run dire...

DAUSILI by Associate III
  • 2546 Views
  • 6 replies
  • 1 kudos

Resolved! Tried connecting to Github, now all source files are gone . . .

HelloI attempted to link my STM32 project with GitHub, following the guideHow to use Github with STM32cubeIDE in 2023 - Shady ElectronicsI managed to complete all the steps, but for some reason, I couldn't push my project to the repository.Initially,...

DLid1_0-1691321956219.png DLid1_1-1691322009797.png DLid1_2-1691322114499.png DLid1_3-1691322182475.png
DLid.1 by Associate II
  • 2071 Views
  • 3 replies
  • 2 kudos