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
  • 567 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
  • 7861 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...

Resolved! STM32 F7 (HAL) CAN BUS communication not working

Hello,I have read hall_CAN.c instructions and did everything that is stated there. In CubeIDE I have set Prescaler to 24 and both Quantas to 4 times. My Baud Rate is 250000 bit/s. I am using two same boards (Nucleo 746ZG) with CAN bus transciver MPC2...

KPovs.1 by Associate II
  • 5270 Views
  • 7 replies
  • 0 kudos

I2C1 in DMA mode not reading data continuously (STM32L431)

I am trying to read data from a sensor in the background(using DMA) using I2C. Below the I2C DMA settings on CubeMX. The problem is that it shows a frozen measurement on the debug window although in the blocking mode the measurement floats all the ti...

0693W00000WKU96QAH.png
Kolab by Senior
  • 1334 Views
  • 3 replies
  • 0 kudos

I am using CubiIDE with an STM32 and trying to put constant data in an own section at the end of the flash memory. But it does not work. The value is stored somewhere after the vectortable and at 0x8003000 as well.

So in my linker filer I put MEMORY { RAM (xrw) : ORIGIN = 0x20000000 , LENGTH = 4K ROM (rx) : ORIGIN = 0x8000000 , LENGTH = 12K DAT (r) : ORIGIN = 0x8000000+12K , LENGTH = 4K }   /* Sections */ SECTIONS { /* The sta...

Resolved! Does STM32CubeIDE offer a serial terminal? This functionality was available in the Atollic TrueSTUDIO product.

I'm really loving the high level of integration offered in the STM32CubeIDE application.Does STM32CubeIDE offer a serial terminal? This functionality was available in the Atollic TrueSTUDIO product.Maybe it's already in there (somewhere?) and I just ...

dale by Associate III
  • 22726 Views
  • 18 replies
  • 3 kudos

I can't find my currently codes in my project!!

Normally I work on vmc-single-slave vendron_intergration but the other day I opened a different project and that project was like a different branch of my project but I opened it from a different folder then today I opened my own project again and I ...

0693W00000WJq1WQAT.png
OSAĞL.1 by Associate II
  • 1034 Views
  • 4 replies
  • 0 kudos

SDRAM is configured with TIM6 as a tick source. While I am using GDB this interrupt continuously is interrupting the debug flow. How do we disable such interrupts in stm32cubeide ? This interrupt is continuously hogging gdb.

These stack gets called repetitively and does not let me debug.If I reduce the priority of the ticks then HAL_Delay does not work.I am in a fix here dont know what to do ?I have changed the tick priority also as shown in the figure.

0693W00000WKJ8WQAX.png 0693W00000WKJ87QAH.png 0693W00000WKJ8lQAH.png 0693W00000WKJ7xQAH.png
rohan_m by Senior
  • 1923 Views
  • 8 replies
  • 0 kudos

Resolved! Value of TICK_INT_PRIORITY (default value changed)

I have a question about the value of `TICK_INT_PRIORITY` in a project for the STM32G070CBT6. I am not using FreeRTOS (which I think makes a difference here), and all projects have been created with the (default) `Targeted Language`: `C`, `Targeted Bi...

LKett.1 by Associate II
  • 3093 Views
  • 3 replies
  • 0 kudos

Total ROM and RAM usage

Hi all, i have tried same project in two different IDEs( Keil and STM32CUBEIDE). i am confuse that why they both are telling different usgae for RAM and ROM.Keil map file says: Total RO Size (Code + RO Data)        21156 ( 20.66kB) Total RW Size (RW ...

0693W00000WKI1AQAX.png
sanju by Senior
  • 4766 Views
  • 1 replies
  • 0 kudos