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

Stop-2 mode Reducing Current Consumption

Hi there, I am currently working on power optimization for my application. My code runs at 80MHz HSI, so in order to implement sleep mode I am dynamically changing the clock to 2MHz. After system changes to 2MHz, I am disabling the systick using the ...

Abhiram_12_0-1745555322566.png Abhiram_12_1-1745555369114.png Abhiram_12_2-1745555422436.png

Resolved! unable to erase flash stm32h7b0

hi. i want to write a variable into stm32h7b0vbt6 flash memory and all of the hal source and header files are added to project. so i have used FLASH_EraseInitTypeDef to erase flash first.but when i call that, the program not build and shows this erro...

code.png errors.png

Program "-E" not found in PATH-STM32cubeIDE

您好,我遇到了一个非常棘手的问题。(STM32cubeIDE)当我打开朋友给的项目时,我在点击打开项目时遇到了以下问题。你能帮我解决吗? Translation: "Hello, I have encountered a very tricky problem. (STM32cubeIDE) When I opened the project given by my friend, I encountered the following problem when I clicked to ope...

zhangJJ_0-1745497822776.png
zhangJJ by Associate
  • 178 Views
  • 1 replies
  • 0 kudos

Newbie, question about opening cube

Edit by ST Moderator: This post has been translated from Chinese to comply with the ST Community Terms and Conditions (§10.2). Why is it that after turning off the computer after downloading and using it, and turning it on again, the cube won't open ...

Resolved! HAL_ADCEx_Calibration_Start

Just a question: I'm using the following code snippet: void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { if (htim == mod_timer){ pwm_timer->Instance->CCR4 = sinetab[loop_cnt++]*global_adc1/4096.; //setzt neuen PWM-Wert aus Tabelle ...

ide Version v.1.18.1 external loader issue

hi,stm32h723zgt6 + W125Q128 + v2 stlink was working fine with  V.1.17.0. i had external loader issue with  V.1.18.0 version update and i was reported as well as in the past month .I knew downgrading ide version to  V.1.17.0 is the solution but my PC ...

MMARI.1 by Senior II
  • 323 Views
  • 0 replies
  • 0 kudos

How do I update the CMSIS used by a project?

I've created a project for an STM32G031 device, but the code does not build cleanly with -Wsign-conversion due to some "nasty" stuff in the CMSIS core_cm0plus.h file:../Drivers/CMSIS/Include/core_cm0plus.h: In function '__NVIC_SetVector': ../Drivers/...

CTapp.1 by Senior III
  • 449 Views
  • 2 replies
  • 0 kudos

Resolved! Measure the speed rotation by using TIM in encoder mode

hello, I ask for the following clarification: I am using a two-channel encoder, A and B, and I want to estimate the rotation speed of the encoder shaft as precisely as possible. I started setting the TIM2 in encoder mode.My encoder generates 1200 pul...

SMusc.1 by Associate III
  • 1391 Views
  • 14 replies
  • 1 kudos