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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 1010 Views
  • 0 replies
  • 1 kudos

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

CubeMX fails to load IOC file after enabling RAMCFG

There's a bug in latest STM32CubeMX v6.16.1. When enabling RAMCFG for Appli on STM32N6 MCU, the IOC file becomes unloadable.I attached the demonstration IOC file. I created new project for STM32N6570-DK board, enabled RAMCFG peripheral for Appli, che...

MikkLeini_0-1769065922714.png

Resolved! How to configure Downsize of DCMIPP pipe1 with STM32CubeMX

I'm using STM32N6570-DK board and developing an image processing application.When I tried to use STM32CubeMX to generate the project, I was able to set DCMIPP Pipe1 just like the attached screen capture.I would like to downsize the source image data ...

스크린샷 2026-01-20 103147.png
JaeLee by Associate II
  • 149 Views
  • 3 replies
  • 0 kudos

STM32H7S7L8 usb HS and FS IRQ

Hello, I'm working with the STM32H7S7L8-DK and i want to use both USB HS and FS in device mode  but it seems in cube mx that i'm unable to enable both IRQ If i enable the HS one the FS one isn't generated and same fort the other way Is it a bug  and ...

Hamady by Associate III
  • 349 Views
  • 8 replies
  • 1 kudos

Resolved! Unable to make LwIP work with FreeRTOS using CMSIS_V2

Hello!I have encountered a problem - I am unable to create a project for STM32F769I-DISCO board with both FreeRTOS using CMSIS_V2 interface and LwIP with NO_SYS parameter set to "OS Used".In old project that was setup with STM32CubeMX V6.14.0 using S...

FreeRTOS with CMSIS_V2 selected.png LWIP forces OS Not Used setting.png CubeMX 6.16.1.png
_AdamNtrx by Associate III
  • 281 Views
  • 7 replies
  • 2 kudos

Toolchain Folder Location Ambiguity

When creating a new CMake-based project in STM32CubeMX, the "Toolchain Folder Location" field is auto-populated with the project folder path upon entering a project name. This behaviour is misleading because the field is intended (at least by its des...

AdamHamilton_0-1767963469139.png AdamHamilton_0-1767962234433.png

SmartCard mode Parity is not initialized

When choosing SmartCard mode for USART, parameter Parity is automatically set to Even. However generated code in usart.c, does not has:hsmartcard1.Init.Parity = SMARTCARD_PARITY_EVEN;Only when I manually reselect that in GUI, the parity will be set i...

eSelix by Associate
  • 124 Views
  • 1 replies
  • 0 kudos

cubeMX:access to example selector

When I open the official example using the example selector, CubeMX cannot display the graphical configuration of that example. I would like to know if it is possible to display the graphical configuration of the example in CubeMX. Thank you very muc...

stm64 by Associate II
  • 388 Views
  • 16 replies
  • 5 kudos