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

STM32F7 - Unable to Select I2S Mode for SAI1 in CubeMX

Hi: My goal is to perform full-duplex I2S using the STM32F722RET6 part. To achieve this using the pins available on the package it looks like I need to use SAI2 (sub-block B) as the master/TX and SAI1 (sub-block A) as a slave/RX synchronized to SIA2....

2026-04-22_11-27-27.jpg
Extra by Associate II
  • 196 Views
  • 7 replies
  • 1 kudos

[STM32H563] [STM32CubeMx] Unable to enable PTP

Hello,For one of my project, my goal is to use PTP to synchronise multiple STM32H563 to one host.However, when configuring the ETH Device, I can only enable RMII, as the "RMII_PTP_SYNCHRO" is greyed out.I've read the pop up that tells me to enable TI...

AMouton by Associate II
  • 287 Views
  • 5 replies
  • 3 kudos

CubeMX don't generate rightly for cube IDE. Linux.

I tried multiple times to generate code on Arch Linux with CubeMX version 6.17.0 and Import in CubeIDE version 2.1.1. I made a video with process. And I don't know why this not working. I tried last and previos version of packages for STM32F0. And I ...

Снимок экрана_20260502_233536.png Снимок экрана_20260502_233701.png
MrKimler by Associate
  • 179 Views
  • 1 replies
  • 1 kudos

CubeMX GPIO Init doesn't respect pin context

So I have a series of PIN configured as Application and/or Boot only but, for some reason, the CubeMX generates the code on both main.h in Appli and Booti.e.I have PC0 set as Application only context but I found it in the Boot as well 

nico23_0-1778062692783.png nico23_1-1778062748292.png
nico23 by Senior III
  • 70 Views
  • 3 replies
  • 1 kudos

STM32CubeMX with MMT: strange LD file generation

STM32CubeMX v6.17.0While configuring an STM32CubeMX project for an STM32H753 Ethernet project on a NUCLEO-H753ZI, I observed some strange behavior.After enabling memory management, including the checkboxes- Apply Application Regions Settings to Perip...

FluxPower42_0-1776966556255.png FluxPower42_1-1776966780534.png FluxPower42_2-1776966817509.png FluxPower42_3-1776966845387.png

Resolved! STM32C092GCU6: FDCAN interrupt handler name mismatch

Hello,   I may have found a bug related to the STM32C092GCU6 MCU and the FDCAN peripheral.   I created a new project and experienced issues with FDCAN reception: no RX messages were received, and the callback HAL_FDCAN_RxFifo0Callback() was never tri...

Vric by Associate
  • 79 Views
  • 3 replies
  • 0 kudos