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! 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
  • 841 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
  • 1744 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
  • 991 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
  • 6054 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
  • 1331 Views
  • 5 replies
  • 4 kudos

Potential overflow in HAL_Delay

I *think* that the check on line 7 below is to make sure that wait doesn't overflow when adding uwTickFreq. This isn't guaranteed to work unless uwTickFreq is 1.  __weak void HAL_Delay(uint32_t Delay) { uint32_t tickstart = HAL_GetTick(); uint32_...

abellia by Associate
  • 458 Views
  • 2 replies
  • 3 kudos