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

Resolved! How to setup hfmpi2c1 using STM32F446

I have enable the hfmpi2c1 in STM32CubeMX tools, but I can find the FMPI2C_HandleTypeDef is undefined in the source code. Do we have a demo code to show how to setup and use hfmpi2c1. It's very confuse that the F446 only have one Fast Plus Mode IIC i...

Lding2025_0-1758166731293.png Lding2025_1-1758166779567.png Lding2025_2-1758166817354.png

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
  • 732 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 III
  • 545 Views
  • 1 replies
  • 1 kudos

STM32CubeMX(6.15.0) bug for NUCLEO-H563

Hello.In CubeMX, there is a Bug with a wrong Clock of USART2 and a wrong BRR-ValueI've used CubeMX to configure the Clock, based on the Nucleon-H563.For the USART2, i want to use the stable crystal oszillator (25MHz) from the Board (not the HSI-Clock...

Heinz_Baumer_0-1762249055656.png Heinz_Baumer_1-1762249082004.png
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.