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
  • 127 Views
  • 2 replies
  • 4 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
  • 475 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
  • 19921 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

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
  • 218 Views
  • 1 replies
  • 0 kudos

Invalid SRAM6 Warning for U5A5ZJT6Q

Operating System: Windows 10STM32CubeMX version: 6.10.0STM32CubeU5 Firmware Package V1.4.0 / 20-October-2023When I attempt to validate my X-CUBE-AI model on target, I receive the following pop-up:Exploring STM32CubeMX.log shows the following warning:...

EdgyAI_0-1701470114151.png
EdgyAI by Associate II
  • 1894 Views
  • 3 replies
  • 0 kudos