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

Cannot set ITMENA

I'm attempting to follow https://community.st.com/t5/stm32-mcus/using-the-itm-console-for-printf-redirects-and-lwip-debug/tac-p/850072/highlight/true#M1661 but this always fails. This is on an STM32F303K8T. My reference manual saysand offers an examp...

avidroneg_0-1769105638276.png

Resolved! X-CUBE-ISP not found in STM32CubeMX

I'm using STM32CubeMX for STM32N657x0HxQ controller. I would like to use ST ISP Library to handle MB1854 camera module. But I could not find the X-CUBE-ISP in STM32CubeMX Pinout & Configuration page, which is as follows. So I tried to import x-cube-i...

스크린샷 2026-01-21 131702.png 스크린샷 2026-01-21 131949.png
JaeLee by Associate II
  • 139 Views
  • 3 replies
  • 0 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
  • 146 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
  • 340 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
  • 274 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