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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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 Visitor
  • 16 Views
  • 1 replies
  • 0 kudos

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 Associate III
  • 13 Views
  • 0 replies
  • 0 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

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
  • 153 Views
  • 4 replies
  • 1 kudos

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

STM32CubeMX new new strategic directions

Hi,  When will the announcement in the link below come into effect?  ​​Will there be a version of STM32CubeMX that will generate a project including the LwIP, FreeRTOS, and Filex libraries for    the  STM32H5?  https://community.st.com/t5/developer-n...

Asantos by Senior
  • 64 Views
  • 0 replies
  • 0 kudos

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
  • 629 Views
  • 4 replies
  • 0 kudos