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

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

Resolved! Cannot enable SMPS STM32U385RGT6Q

The new version of CubeMx (6.15.0) nags me about enabling SMPS mode, and I would like to, but the tool seemingly does not have the capability to do so.Under PWR->Low Power there's a checkbox for "Power Savings Mode" which other forum posts led me to ...

JVan .3 by Associate II
  • 472 Views
  • 5 replies
  • 2 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
  • 211 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
  • 772 Views
  • 4 replies
  • 0 kudos

Resolved! Bugs in the Memory Management Tool of STM32CubeMX v6.15.0

Hi,I am using the following environment and found two bugs.OS : Ubuntu 20.04 LTSSTM32CubeMX : 6.15.0Toolchain / IDE : CMakeBoard : NUCLEO-H563ZIBug 1 : After reconfiguring the memory address and size with Memory Management Tool following code generat...

Fumihiko by Associate II
  • 894 Views
  • 2 replies
  • 2 kudos