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

STM32CubeIDE 1.18.1 released

We are pleased to announce that the minor release 1.18.1 of STM32CubeIDE is available. What is new in 1.18.1: This minor release will not bring any major updates to the STM32CubeIDE 1.18.1. It will be aligned with the STM32CubeMX 6.14.1. Main fixed i...

STM32CubeIDE 1.18.0 released

We are pleased to announce that the release 1.18.0 of STM32CubeIDE is available. What is new in 1.18.0: Microcontrollers, microprocessors, and board lists aligned with STM32CubeMX 6.14.0: Added the support for STM32WBA6xxx microcontrollers in the STM...

STM32G070: UART speed of 115200 is not possible with PC when running SYSCLK clock at 64MHZ - however is when run at 59.0MHZ

8MHZ HSE crystal. HSE selected and PLLCLK selected.64MHZ / 115200 / 16 = 34.7222Assuming the CPU picked 34 as the divisor then the baud rate is 117647.1 2% too highBut setting to 59MHz I was able to successfully communicated at 921,60059MHZ / 921600 ...

0693W000003BZ39QAG.png

how can I time my code?

I am using cubeIDE and I'd like to know how I can time my code, to see how long individual sections take to run and troubleshoot timing issues. How can I do this?

deep_rune by Associate III
  • 1162 Views
  • 5 replies
  • 1 kudos

STM32CubeIDE C++ Generation and Language Mapping

Hello Everyone,I am having some trouble getting the STM32CubeIDE to work with C++ on my STM32F4 Project.I have converted my project to a C++ project and Renamed source files withing the IDE.This works ok and compiles fine. with g++ being used to comp...

0693W000003BeD4QAK.png 0693W000003BeEHQA0.png
TCash.1 by Associate III
  • 879 Views
  • 1 replies
  • 0 kudos

Resolved! How to obtain the dwarf2 file to simulate with proteus isis

Hi all, I'm trying to simulate a project for an STM32F103C6 in proteus ISIS but for debug purposes labcenter's people says that I need the .elf file and the dwarf2 file (both of them in the same folder), then I' found that GCC generates the dwarf 2 f...

VRami.1 by Associate III
  • 3070 Views
  • 3 replies
  • 1 kudos

Resolved! I cannot use the HAL functions for ADC?

Hey there,I tried to modify an existing project by using the ADC to measure a current. My problem is when I try to include the header stm32l4xx_hal_adc.h and use the functions like HAL_ADC_Start(); i will get the error undefined "reference to...". I...

0693W000003BaB4QAK.jpg
SStad.1 by Associate II
  • 4559 Views
  • 24 replies
  • 0 kudos

Using a TIM2 for µs measurement in thread in combination with FreeRTOS leads to HardFault_Handler being called.

I'm working with the Nucleo-G474RE Board. With the STM32CubeIDE I set up FreeRTOS and assign TIM6 as Timebase Source (as recomended by the IDE). I create a basic Thread to test a basic scoped timer I want to use for timing measurement. The ScopedTime...

0693W000003BaODQA0.png 0693W000003BaeBQAS.png
JHöfl.1 by Associate III
  • 565 Views
  • 1 replies
  • 0 kudos