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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1237 Views
  • 0 replies
  • 2 kudos

Toolchain Folder Location Ambiguity

When creating a new CMake-based project in STM32CubeMX, the "Toolchain Folder Location" field is auto-populated with the project folder path upon entering a project name. This behaviour is misleading because the field is intended (at least by its des...

AdamHamilton_0-1767963469139.png AdamHamilton_0-1767962234433.png

Pinout view - Wastefull use of GUI area

Split from IDE Version 2.0.0 - why remove MX ? as this has nothing to do with that topicPinout view is bad also.In center of window useless hole with ST logo. Wastefull use of GUI area. 80% of area is gray hole in center or white hole at the borders....

vybor by Associate III
  • 215 Views
  • 4 replies
  • 4 kudos

Resolved! Secure checkbox of LTDC_L2 is not selectable in STM32CubeMX

I'm trying to use dual layers in LTDC of STM32N657X0HxQ controller. In the STM32CubeMX, I tried to set the Secure bit of RISUP for LTDC_L2 in RIF setting view, but the box is in gray color and is not selectable as follows.When I generate code with th...

스크린샷 2026-02-04 154448.png
JaeLee by Associate II
  • 176 Views
  • 2 replies
  • 0 kudos

Line endings - bug in CubeMX, all versions

Code generated by CubeMX use Windows line-endings, which generate huge problems under other operating systems (repository, editors, etc.). You have to strip CR-LFs after every code generation.Somebody should use standard method of platform-independen...

trzeci by Associate III
  • 5339 Views
  • 20 replies
  • 15 kudos

CubeMX don’t work

STM32CubeMX standalone hangs on File → New Project (infinite loading, no error message). The problem is fully reproducible.I have tried:– reinstalling CubeMX– different CubeMX versions– Java reinstall– offline mode– clearing STM32CubeMX cache/AppData...

nikodemw by Associate
  • 179 Views
  • 1 replies
  • 0 kudos

Resolved! ETH communication error due to cube mx version

In the version of cube mx 6.4.0 you can set parameters and advanced parameters, but in the version of cube mx 6.16.1 you can only select the chip in the platform setting in the LWIP in middleware. I configured the firmware by installing the KSZ8863RL...

LeeJaewon by Associate III
  • 431 Views
  • 6 replies
  • 1 kudos