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

CubeMX ST ARM Clang linker not compatible

Hi everyone,I’m using the new Arm Toolchain for Embedded with CMake. I generated a project template from STM32CubeMX using the following settings:Toolchain/IDE: CMakeDefault compiler/linker: Arm-ClangCompilation works fine, but when linking starts, I...

gf1 by Associate II
  • 246 Views
  • 4 replies
  • 0 kudos

Resolved! USBX Mutex does not work - CubeMX code generator BUG

Hello, I'm trying to implement a USBX host... and the code generates a lot of runtime errors.  I assume everything is setup properly from CubeMX, but the code always fails.  1- I see that the mutex was created from the debug session: (ux_system_mutex...

mattcrc_3-1741165785810.png mattcrc_0-1741162907896.png mattcrc_1-1741163003693.png mattcrc_2-1741163342925.png
matt-crc by Senior III
  • 907 Views
  • 7 replies
  • 4 kudos

FDCAN configuration in STM32N6 Nucleo

Hi! I'm working on setting up FDCAN communication using the STM32N6570X0-Q Nucleo Board. However, when I try to modify the bit timing parameters—such as the Nominal Prescaler, Nominal Time Seg1, or Seg2—the baud rate doesn't seem to change regardless...

guillerminaborrazas_0-1754334467731.png

Resolved! How to setup hfmpi2c1 using STM32F446

I have enable the hfmpi2c1 in STM32CubeMX tools, but I can find the FMPI2C_HandleTypeDef is undefined in the source code. Do we have a demo code to show how to setup and use hfmpi2c1. It's very confuse that the F446 only have one Fast Plus Mode IIC i...

Lding2025_0-1758166731293.png Lding2025_1-1758166779567.png Lding2025_2-1758166817354.png