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

Resolved! Different FreeRTOS in latest CubeMX?

Hi,I just updated CubeIDE/CubeMX, and after creating a new project, I began configuring the microcontroller. However, when I tried to install FreeRTOS, it didn’t seem to be available. In the older version of CubeMX, there was a FreeRTOS option under ...

Ricko_2-1741046826671.png Ricko_0-1741046681156.png Ricko_0-1741049461926.png
Ricko by Senior III
  • 1453 Views
  • 5 replies
  • 4 kudos

Resolved! USB HS clocks not started from CubeMX 6.13 onwards

I am using the STM32F723 with custom, self-powered PCB interfaced to a host using USB HS. Everything worked fine with with CubeMX 6.12, but after upgrading to more recent versions, I noticed that the following functions are no longer generated within...

LucaP by Associate III
  • 1072 Views
  • 7 replies
  • 2 kudos

STM32CubeMxLauncher.exe Cannot Find CubeMX

I'm using the latest versions of Keil uVision and STM32CubeMX but when I try to run the CubeMX from the Run-Time Environment screen of Keil, I'm facing with "Error instantiating RTE components" and "Error #545" errors.I think, Keil cannot run the Cub...

resim_2025-03-11_130616326.png resim_2025-03-11_130742922.png

CubeMx does not configure FileX properly - Bugs

There are 3 bugs reported here:Bug 1:In the FileX parameters GUI, under SRAM Disk Driver: The range for the "SRAM Disk Size" is wrong.  The Address space allows for 256MBytes, not 256KBytes.Workaround - After CubeMX regenerates the code, I have to ch...

mattcrc_0-1741464093433.png mattcrc_2-1741464364746.png mattcrc_3-1741464726324.png mattcrc_4-1741464889996.png
matt-crc by Senior III
  • 642 Views
  • 4 replies
  • 1 kudos

Resolved! I2C speed problems

Hi everyone,I’m currently working on an I2C communication setup using the Nucleo-H753ZI DK but the cubeMx document is for the STM32H743BIT (the MCU for my custom board) and aiming to run it in Fast Mode (400 kHz). However, when configuring the I2C cl...

JonConesa_0-1741626901002.png JonConesa_1-1741627197068.png JonConesa_2-1741627277291.png JonConesa_3-1741627293171.png
JonConesa by Associate III
  • 3235 Views
  • 22 replies
  • 16 kudos

CUBEIDE Bug in RTC Generation

Hello,In CubeIDE I try to generate RTC code which has decimal parameters. However in code generation I realized that it converted to hex value by itself.You can check screen shots in the attachment. 

CubeMx MAJOR BUG in UsbX configuration....

I'm using ThreadX on a STM32H743 MCU.  I'm trying to setup a USB Host_only on the USB_HS device, and a USB Device_only device on USB_FS.  The peripheral configuration is okIn the AzRtos settings, it defines 2 seperate byte_pools for each device (one ...

mattcrc_0-1741644603541.png mattcrc_1-1741644669213.png mattcrc_2-1741644863409.png mattcrc_3-1741645010754.png
matt-crc by Senior III
  • 651 Views
  • 1 replies
  • 0 kudos