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

Problemes Cube MX and FreeRTOS on STM32U5

English belowPlusieurs problèmes avec X-CUBE-FREERTOS.1.2.0 , 1.3.1 , 1.4.0 et suivant (MDK-ARM) :1) Si je ne met pas TOTAL_HEAP_SIZE à au moins le double que nécessaire, les dernières taches déclarées dans CubeMx ne sont pas exécutée . Aucune alerte...

Markko67 by Associate II
  • 140 Views
  • 2 replies
  • 1 kudos

Resolved! Cannot enable SMPS STM32U385RGT6Q

The new version of CubeMx (6.15.0) nags me about enabling SMPS mode, and I would like to, but the tool seemingly does not have the capability to do so.Under PWR->Low Power there's a checkbox for "Power Savings Mode" which other forum posts led me to ...

JVan .3 by Associate II
  • 534 Views
  • 6 replies
  • 2 kudos

Resolved! FDCAN Tx Buffer allocation

Hello,I am trying to understand the memory allocation for the FDCAN, I am using a nucleo H723ZG.With the latest CubeIDE 1.18.1 I seem to be able to configure 32 TX Buffers and 32 TX FIFOs:However the message RAM mapping in AN5348 - Rev 5 shows that t...

MD_0-1751616475999.png MD_1-1751616622574.png
MD by Associate II
  • 459 Views
  • 4 replies
  • 0 kudos

Nucleo-H563ZI HardFault at vRestoreContextOfFirstTask

I created default project with FreeRTOS in STM32CubeMx for the board Nucleo-H563ZI. Nothing more added.Hard Fault is invoked at vRestoreContexOfFirstTask.I was looking for the solution in Copilot and Perplexity but without success. Only I can say it'...

Jan27 by Associate II
  • 137 Views
  • 2 replies
  • 0 kudos

Resolved! CDC ECM on STM32U385RG

I would like to use USBX to make a CDC ECM USB device, but in STM32CubeMX, there is no option for CDC ECM or RNDIS in the USBX device class menu: The STM32U545RE on the other hand has options for CDC ECM and RNDIS:  Does STM32U385 support CDC ECM a...

wmcgsandc_0-1756417297150.png wmcgsandc_1-1756417504807.png

Resolved! RTC system doesn't work with LSI clock source

When "Activating clock source" is ticked in RTC module, my MCU doesn't start up if I reset it from RST button. But as soon as I switch the RCC clock source to LSE external 32.768khz crystal and change RTC Clock Mux to LSE, it works without a hitch. I...