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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1237 Views
  • 0 replies
  • 2 kudos

Cube MX, Cube Programmer, and Cube IDE won't download

I'm trying to download Cube MX, Cube Programmer, and Cube IDE. I registered and activated the license, but it won't download. I've tried using different browsers (Chrome, Firefox, Edge) without extensions. I accept the License Agreement, but nothing ...

Mike10 by Associate
  • 138 Views
  • 1 replies
  • 0 kudos

Resolved! XCube FreeRTOS STM32N6

Im trying to setup FreeRTOS with the new STM32N6.According to https://github.com/STMicroelectronics/x-cube-freertos, the new Nucleo board for the STM32N6 is mentioned as supported.But in the CubeIDE, when trying to enable the FreeRTOS middleware, it ...

milanvdm by Associate II
  • 5707 Views
  • 4 replies
  • 0 kudos

Resolved! VREFBUF configuring based on GPIO state with CubeMx

I am using a G474RE nucleo board and i have 2 separate interface boards which i ca connect to it. One board requires a VREFBUS of 2.5V and the other  2.90 . Currently i modify the .IOC file and select the appropriate VREFBUS, compile the code. So cur...

g474re_vrefbuf_2900mv.jpg
DNYAR.1 by Associate II
  • 324 Views
  • 5 replies
  • 0 kudos

Resolved! configuring the CAN of STM32H723 using STM32CubeMX

  I don't use this Tx Buffers Nbr. Instead, I use this Tx Fifo Queue Elmts Nbr for sending. The difference between the two is just that one is manually sent and the other is sent by hardware, right? Why does the software give me a pink prompt for Tx ...

屏幕截图 2026-03-24 114646.png
zzzaizz by Associate III
  • 403 Views
  • 7 replies
  • 1 kudos

STM32CubeMX 6.17.0 breaks FreeRTOS

I upgraded to 6.17 this morning an have already had to roll back due to a bug in how it now generates fiels for FreeRTOS.Under the FreeRTOS (Include parameters) options I have this vTaskDelayUntil set to Enabled.  This now changes the define name in ...

Simon by Associate II
  • 467 Views
  • 6 replies
  • 1 kudos

STM32CubeMX unable to generate STM32CubeIDE project.

Hello, I got following problem.STM32CubeMX is unable to properly generate .project file for STM32CubeIDE. After clicking "GENERATE CODE", MX is copying library files, generating .h and .c files, but no .project file. Following nullpointer exception c...

Kopytko by Associate
  • 433 Views
  • 4 replies
  • 1 kudos

Resolved! Unable to generate FreeRTOS code after migration

Hi ST,I have a STM32H7 project with FW_H7_v1.12.1 and MX v6.16.1, everything is good so far.But after migration to FW_H7_v1.13.0, I can't generate FreeRTOS code any longer.All FreeRTOS-related code are deleted and MX stay loading icon when I click FR...