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

About TouchGFX frame buffer problem

Hello, I'm using TouchGFX on an STM32L452RET6 with an SPI screen. The screen has integrated GRAM, so I selected the partial buffer option in STM32CubeMX. STM32CubeMX generated the partial buffer code as expected, but it also generated code for a full...

PixPin_2025-11-05_13-41-38.png PixPin_2025-11-05_13-43-10.png
TomBrown by Associate
  • 111 Views
  • 2 replies
  • 0 kudos

How to configure HSEM in STM32CubeMX

The HSEM option is not found in "System Core" in STM32CubeMX (version 6.15), and the configuration option for HSEM interrupt is only found in NVIC. How to configure HSEM in STM32CubeMX. When I selected the LL library environment, the generated source...

Snipaste_2025-11-07_15-12-55.png
liuxw by Visitor
  • 114 Views
  • 2 replies
  • 0 kudos

Resolved! How to generate LL code use STMCubeIDE? like I2C example

Dear AllI am new to STM32CubeIDE and imported an example project I2C_OneBoard_AdcCommunication_DMAAndIT_Init, it work well, but when I try to do same with my own project, the generated code like MX_I2C2_Init(void) is totally different with the exampl...

Ping1 by Associate II
  • 87 Views
  • 1 replies
  • 1 kudos

OSC_IN and OSC_EN wrong initialization order

Hi!I have a board with an external oscillator. The oscillator would not start, and I spent a few hours debugging the issue only to find out the automatically generated code initialized the clock and the OSC_EN pin in the wrong order!relevant ioc line...

cyber_v1 by Associate II
  • 73 Views
  • 1 replies
  • 1 kudos

Resolved! Trouble using alternate function on STM32C092

Hi,  i'm missing something in the configuration of alternate function on STM32C092. I can't get working alternare function on shared pin, interested physical pin are  PIN 1, 15, 20.  Example1: PIN15 only the function on PA8 are working properly, neit...

Sanderthunder_0-1762329932926.png Sanderthunder_1-1762330470607.png Sanderthunder_3-1762331610233.png Sanderthunder_2-1762330978487.png