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
  • 1578 Views
  • 0 replies
  • 2 kudos

How to configure PDF viewer for STM32 cubeMX v6.16.1

I have just installed STM32 cubeMX v6.16.1 on my Windows 10 machine have the following issue:In the Pinout&Configuration step we can hover mouse over items in the left tree view and eventually we can click on links to Related Documents. However those...

mlisowsk by Associate II
  • 890 Views
  • 11 replies
  • 7 kudos

Resolved! Changing MCU device in CubeMX for an existing project

I am developing a product using the NUCLEO-N657X0-Q dev board and have generated the configuration setup from CubeMX and developed the code in the CubeIDE. When I need to layout my own circuit board I will want to use the STM32N657A0 variant which h...

digilog by Associate II
  • 346 Views
  • 1 replies
  • 0 kudos

Resolved! CubeMX incorrectly generating code for STM32U0 MCO2

I'm trying to generate code using CubeMX for the Nucleo-U031R8 demo board to output a clock signal to the MCO2 pin. But the generated MX_GPIO_Init function makes the following assignment:GPIO_InitStruct.Alternate = GPIO_AF0_TRACE;Naturally, the compi...

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
  • 272 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
  • 227 Views
  • 2 replies
  • 0 kudos