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

Resolved! .ioc file specification and data import

CubeMX and STM32CubeIDE will generate a .ioc file associated with the configuration of the MCU to be programmed. For a modest project with few connections, adding the GPIO and their labels is normal, but when there are 130+ signals this become a tedi...

Resolved! TouchGFX and X-CUBE-AI co-existence

Hi,I have a project with TouchGFX based on STM32N6570-DK.In STM32CubeMX, once I tried to add X-CUBE-AI, I got stuck, and the error is appeared as shown below.What does it mean?Once I removed the TouchGFX Graphic Application, the X-CUBE-AI can be enab...

ERROR_0-1756988586023.png
ERROR by Senior
  • 508 Views
  • 2 replies
  • 0 kudos

Resolved! STM32C092FCP6 SPI, SCK Pin remapping by CubeMX

Hello,when doing code generation by CubeMX, it seems, that there's no Pin-remapping done in certain cases, at STM32C092FCP6.In my case, I chose SPI2 in master full-duplex mode. SPI2_CLK is on PB8 at Pin1. A remapping from PB7 to PB8 has to be done by...

Screenshot 2025-09-04 155052.png
CBa by Associate
  • 295 Views
  • 1 replies
  • 1 kudos

Resolved! STM32CubeIDE PA3 Alternate Function Bug

Hi, There is a blatant bug in the STM32CubeIDE that has costed me a board iteration on a professional product. It says that pin PA3 is positive comparator input. When it isn't. Look here This is what the datasheet says.  

danielbathtub_0-1756991198601.png danielbathtub_1-1756991295544.png

STM32G0 minimum ADC frequency

I'm configuring an STM32G031, using the STM32CubeMX perspective in STM32CubeIDE.  I want to optimise for low power consumption.  My device uses the ADC and I see the ADC has a minimum acceptable frequency, 140kHz according to the data sheet (data she...

GrahamAU by Associate II
  • 965 Views
  • 4 replies
  • 0 kudos