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
  • 1756 Views
  • 0 replies
  • 2 kudos

Resolved! Re: CubeMX 6.11 USB CDC Code Generation Bug

@Mahmoud Ben Romdhane I am still seeing this on ST Cube MX 6.16.1 when generating for the STM32F723E-DISCO target. This is using the latest STM32F7 package, 1.17.4. Attached is my IOC file if that's helpful.I know its a trivial fix but wanted to repo...

Resolved! The CubeMX didn't generated some .h files

The CubeMX suddenly can't generate some .h files such as stm32f103xb.h, core_cm3.h, stm32f1xx_hal_rcc.h ..., I tried to use legacy CubeMX to generate but still the same.How to fix it?Left picture is what it should look like ,and the right one is the ...

Snipaste_2026-03-25_21-30-36.png Snipaste_2026-03-25_21-30-54.png
AL1S by Associate II
  • 617 Views
  • 7 replies
  • 1 kudos

Resolved! USBX blocking ISR

Hi,during porting the USBX as host stack to an stm32h7 I was getting an error indication,that a semaphore was used during interrupt context (OTG_HS_IRQHandler).For my opinion, it is wrong to call the generated code out of the ISR without decoupling t...

MHerr.8 by Associate
  • 2672 Views
  • 7 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
  • 233 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
  • 6268 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
  • 541 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
  • 673 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 III
  • 724 Views
  • 6 replies
  • 1 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.