STM32CubeMX (MCUs)

Ask questions on STM32CubeMX. Discuss code generation and configuration challenges, among other topics.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32CubeMX 6.16.0 released

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 619 Views
  • 5 replies
  • 6 kudos

Missing USER_VECT_TAB_ADDRESS leads to debug issue

I see it's been a while but I ran into this today. Apparently system_stm32g4xx.c that is automatically generated by STM32MX no longer sets SCB->VTOR unless you define USER_VECT_TAB_ADDRESS in that file. When programming that doesn't cause an issue bu...

BobbyBeta by Associate III
  • 271 Views
  • 2 replies
  • 0 kudos

CubeMX and setting analog watchdog

When I try to select which channel gets a watchdog, it only gives me one option on the pull down. Instead, if I want to change the channel, I have to unselect all the ADC channels and make sure that the watchdog intended channel is the first one sele...

AndrewC_0-1754488831788.png
Andrew C by Associate III
  • 267 Views
  • 3 replies
  • 0 kudos

Resolved! STMCubeMX replace the app_freertos.c. How to avoid

I'm developing an app on the demo board STM32U5A9J-DKI've created the project from TouchGFX 4.25.0 project STM32U5A9J-DK FreeRTOSIt perfectly works, compile and debug with both TouchGFX and CubeIDE 1.18.1I then opened the .ioc file of the project wit...

nico23 by Senior III
  • 505 Views
  • 3 replies
  • 1 kudos

Resolved! How to configure STM32CubeMX to support C++ development?

When I use CubeMX, the default language of my genereted code is C. I would like to develop in C++, as I can do in STM32CubeIDE. (I want to use VSCode to program)Is there any option to do this? I've tried just change the main.c to main.cpp, but it did...

Ade J.3 by Associate II
  • 20184 Views
  • 10 replies
  • 6 kudos

MX shows Clock Configuration error after updating

I just upgraded STM32CubeIDE from 1.17 to 1.19 which in turn upgraded MX from 6.13 to 6.15Prior to updating, in MX Clock Configuration I could clock the SPI system on the STM32H533 at the same rate as the CPU clock (250 MHz with no error). Now, to av...

Losing GPIO settings

In my project for an STM32H7S3, I have a number of GPIO settings.However, every time I open the file, one particular pin has its settings reverted to the defaults.Also, if I save the IOC file without making any changes at all, I can see in the diff t...

SteveMelnikoff_0-1752583991010.png