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

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

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
  • 34 Views
  • 1 replies
  • 0 kudos

I2C rise and falltime setting

We have a board with a stm32u5. were VDDIO are connected to 1.8 V and  the I2C bus have pullup to 3.0 V. Some I2C devices uses 3.0 V logic levels and som 1.8 V. Between which voltage levels shall i measure the rise and falltime that i enter in cubemx...

Sebastian33_0-1764232564330.png

CubeMX no longer generates BLE Notification functions

Hello Community,I have been working on a BLE project with one service and three characteristics, two of which have server notification properties, and I have noticed the following issue in CubeMX 6.15 (server side, custom template).The function Custo...

LucaP by Associate III
  • 241 Views
  • 6 replies
  • 1 kudos