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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

CubeMX bug regarding LPUART1 DMA (MX_Device.h)

I use the STM32L496ZG. When generating the files using STM32CubeMX it also generates MX_Device.h which contains several defines. When using LPUART1 with DMA it also generates defines like:#define MX_LPUART_RX_DMA_DMA_Handle #define MX_LPUART_RX_DMA_I...

Reneb by Associate III
  • 1044 Views
  • 3 replies
  • 0 kudos

STM32CubeIDE X Window System error - BadRequest

Running the STM32CubeIDE v1.17.0 on Ubuntu 22.04 - exits after the splash screen.I installed "en.st-stm32cubeide_1.17.0_23558_20241125_2245_amd64.sh.zip"I tried searching for this issue but got nothing. What am I doing wrong?Here the output:$ ~/st/st...

dmista by Associate
  • 431 Views
  • 0 replies
  • 0 kudos

Resolved! ADC not triggering ISR after each EOC

Hello st forum,I'm currently working with STM32G0B1VCI6, I'm trying to configure the ADC1 channel but it is not working properly. I need to convert 11 channels (10 external and 1 internal channel) and I'm configuring the driver in such a way it can c...

JDaniel1_0-1741809693267.png
JDaniel1 by Associate II
  • 364 Views
  • 2 replies
  • 1 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
  • 1019 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 II
  • 881 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 II
  • 513 Views
  • 4 replies
  • 1 kudos