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

Resolved! CubeMX v6.12 generate wrong makefile project

I use CubeMX + VSCode + arm-gcc + makefile to compile embedded programs. CubeMX v6.12 create wrong stm32fxxx_flash.ld file. Some words like "RAM" is lacked. And CubeMX v6.11 and CubeMX v6.10 is right.

Soraka by Associate
  • 2095 Views
  • 5 replies
  • 1 kudos

Resolved! Generate demo code for custom hardware

Hello,what is the best way to run some of the demos provided by CubeMx on a custom HW?Probably like this: Generate demo code for an evaluation board. Then merge the generated initialization code for the custom board into the demo code folder?Or can C...

regjoe by Senior II
  • 3704 Views
  • 10 replies
  • 4 kudos

STM32CubeMX Generation error with Eclipse under MacOS

Hello everyone,I am now using a MacBook Pro with M4Pro chip, running STM32CubeMX 6.13.0 with MacOS Sequoia 15.2 (24C101) Darwin 24.2.0When SIP (System Integrity Protection) is on, an error of Eclipse occurred each time trying to generate code in STM3...

sirin by Associate II
  • 2015 Views
  • 1 replies
  • 0 kudos

STM32H747 freezes waiting for VOSRDY

I'm trying to boot the M7 core on a STM32H747 with a 480MHz clock rate. I have the project and clock settings configured in STM32CubeMX.  When ran, the program freezes while waiting for the VOSRDY flag to be set, which never happens.The code appears ...

TDK by Super User
  • 9176 Views
  • 11 replies
  • 1 kudos

Resolved! STM32CubeIDE generates bad DMA init code for UCPD on G0B1

I'm using STM32CubeIDE to configure UCPD1 on STM32G0B1KET6N.  My firmware package is FW_G0 V1.6.2I enable DMA: UCPD1_RX = DMA2 Channel 1, UCPD1_TX = DMA2 Channel 2The generated code in MX_UCPD1_Init can't compile because the DMA init code is bad.  Th...

GrahamAU by Associate II
  • 2671 Views
  • 5 replies
  • 4 kudos