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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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 II
  • 257 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
  • 16901 Views
  • 10 replies
  • 5 kudos

FDCAN configuration in STM32N6 Nucleo

Hi! I'm working on setting up FDCAN communication using the STM32N6570X0-Q Nucleo Board. However, when I try to modify the bit timing parameters—such as the Nominal Prescaler, Nominal Time Seg1, or Seg2—the baud rate doesn't seem to change regardless...

guillerminaborrazas_0-1754334467731.png

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

STM32CubeMX 6.15.0, STM32H523CET6, TouchGFX

When the TouchGFX Graphics Application is selected, the supplementary TouchGFX code is generated; however, the TouchGFX library itself is not included in the project. I tried all available code generators, but none of them added the library.

STM32H7S78-DR code can't be generated in CubeMX

Hello everybody,I am trying to generate a project for the STM32H7S78 using the latest version of STM32CubeMX. However, when I click on "Generate Code", the process stops at "Copying library files" and does not proceed any further.I usually work with ...

Thinker by Associate
  • 57 Views
  • 1 replies
  • 0 kudos