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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 332 Views
  • 0 replies
  • 1 kudos

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

Possible CubeMX clock setup bugs (STM32H7)

1) When changing HPRE prescaler only CubeMX unexpectedly changes timer clock limits.I think those limits should depend on VOS voltage which, in turn, depends on SYSCLK, rather than on post-HPRE clock. As a result, lowering timers' clock lowers the ma...

0693W000008ydsdQAA.png 0693W000008ydsiQAA.png
TDJ by Lead
  • 720 Views
  • 3 replies
  • 0 kudos

Resolved! Problem with generating code for STM32G474RBT6.

Hi,I am running into some problems with generating new code for my MCU (STM32G474RBT6).I have installed STM32CubeIDE v1.6.0 and FW pack v1.4.0.I have created my entire pinout with a correct setup (my friend checked it and he is working with these MCU...

MartinSMG by Associate II
  • 2297 Views
  • 10 replies
  • 0 kudos

[BUG] CubeMX, STM32H723, EXTI/Input, LL drivers

STM32H723 has startup/default GPIOs configuration as "Analog mode". If i select EXTI at PE11 (and probably many other pins), CubeMX generate code which does not change pin mode from "analog" to "input" (and thus EXTI doesnt work). Tested on CubeMX v6...

BUG: STM32CubeIDE 1.6.1 code generator fails to generate SysTick_Handler () if used with RTOS and non-systick timer as timebase source

Using STM32CubeIDE 1.6.1 with a project based on Version 1.6.0 of the STM32H7 firmware package the code generator will not generate a void SysTick_Handler (void) { method as long as according to the recommendation a non-systick-timer is configured as...

MNagl.1 by Associate II
  • 525 Views
  • 0 replies
  • 0 kudos

Resolved! usb high speed phy not work

mcu: STM32H743IITxhardware: USB_HS1 + usb3300 physoftware: usb host mode with all classesAll code are generated by cubemx 6.1.1, and I trace the usb data on wire with usb data analyzer.if OTG's internal DMA disabled, full speed usb device works ok, b...

shark by Senior
  • 2010 Views
  • 5 replies
  • 0 kudos

Resolved! Does DFSDM limit SYSCLK frequency? (the problem)

I am trying to set up DFSDM clock for STM32H7A3VITx and external 10MHz Manchester-encoding modulator using CubeMX.Since Manchester requires DFSDM clock at least 6x higher than modulator clock, minimum clock frequency is 60MHz.The only two *active* cl...

0693W000008yKWdQAM.png
TDJ by Lead
  • 1476 Views
  • 4 replies
  • 0 kudos