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
  • 542 Views
  • 5 replies
  • 6 kudos

Clock setting saving issue

Hi,I have configured WB55 project in CubeMX but each time I reopen it, clock config isuue is displayed. When I change SMPS clock source to HSE error dissapears and I can generate project. But onviously it is not saved since next time I open it, error...

DavH42_0-1763714793579.png DavH42_1-1763714810292.png DavH42_2-1763714820907.png
DavH42 by Visitor
  • 13 Views
  • 1 replies
  • 0 kudos

TIM2 Interrupt deleted when setting EXTI[9:5] interrupt

Hi all,I am using a nucleo board F412ZG with the Middelware FreeRTOS. I use only one task for now, but I will use others in future.By the way, I set TIM2 as the timer system for FreeTOS:Now I am trying to enable pin PC8 as an external interrupt in or...

Fin95_0-1763709845906.png Fin95_1-1763709938606.png Fin95_2-1763709987678.png Fin95_3-1763710041206.png
Fin95 by Associate II
  • 47 Views
  • 3 replies
  • 2 kudos

Resolved! STM32CubeIDE doesn't save clock configuration

Hi, I'm facing a problem with the Clock Configuration tab with the latest version of the STM32CubeIDE. In fact, every time I open the ioc file, there is an error with the SMPS Clock Mux on the STM32WB board I'm using. I correct and generate code and ...

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
  • 2059 Views
  • 14 replies
  • 5 kudos

CubeMx issue: fixed FDCAN Tx buffer allocation = 32

Split from this thread. Yes, but No!CubeMX V6.16 now allows only exactly 32 TX Buffers ((TX Buffer Nbr + TX Fifo Queue Elmts Nbr) == 32).But less then 32 TX Buffer is allows by the Hardware, and some times, required if You want to maximize the RX Buf...

MHoll.2 by Senior III
  • 59 Views
  • 1 replies
  • 0 kudos

Resolved! VREFBUF greyed out in STM32CubeMx 6.14.1

I am using STM32CubeMX in version 6.14.1 with STM32U585OIY6QTR selected.Trying to Setup VREFBUF Mode I can not set anything since it is greyed out.VREF should be supported by this MCU.   

dbahr by Associate II
  • 314 Views
  • 2 replies
  • 0 kudos