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

Where to report bugs in the STM32CubeMX?

It seems the clock configuration is not generated correctly by the Cube.Used STM32CubeMX Version 5.2.1 for STM32G070RBT deviceThe root cause seems to be the RCC_CCIPR_TIM1SEL is not defined.As a consequence the RCC_PERIPHCLK_TIM1 is not available and...

Andi by Associate II
  • 666 Views
  • 3 replies
  • 0 kudos

Code Generation Bug in STM32CubeMX ? Unable to generate UART (one wire half-duplex mode) pin configuration, resulting in the inability to use UART.

MUC: STM32G031G8UxSTM32CubeMX version: 5.4.0Package version: STM32Cube FW_G0 V1.3.0Keil version: v5.28--------------------------------------------------------------------void MX_USART1_UART_Init(void){ huart1.Instance = USART1; huart1.Init.BaudRate =...

0690X00000Arfm7QAB.png 0690X00000ArfmWQAR.png

STM32F070RB USB MSC on internal Flash can not format

Hello,everybody Nice to meet you,My trouble is "STM32F070RB USB MSC on internal Flash can not format " ..I have try some idea in community but did not help,so I decided to ask for help,Here are my code on usbd_storage_if.c.Thank you so much !#define ...

0690X00000888T9QAI.png

Simple I2S app on STM32G0136-disco is failing

I have created a simple app using stm32cubemx and cubeide that waits for a GPIO signal to go low, then plays a canned stream of I2S data to the port. The function call to HAL_I2S_Transmit() is causing the system to reset. Specifically the statement...

Scott3 by Associate II
  • 2287 Views
  • 10 replies
  • 0 kudos

STM32CubeMX code generation causes garbled C source code Japanese comments in STM32CubeIDE. In the same way, the SW4STM32 does not display garbled characters. Please tell me how to avoid garbled characters in STM32CubeIDE.

My current development environment is as follows.STM32CubeMX v5.4.0, STM32CubeIDE 1.1.0, SW4STM32 1.17.0, Windows 10 1903.​STM32CubeIDE Font SettingSTM32CubeMX Encording SettingGarbled C source code Japanese comments after code generationThank you in...

0690X00000ArbdGQAR.png 0690X00000ArbdLQAR.png 0690X00000ArbdaQAB.png

Migrate IOC file from older MX to CubeIDE

I have an IOC file from an older CubeMX. Since I could not find the MX version number in either mxproject or ioc file, I cannot tell the exact version. It should be about one or two years old.Now I want to open it in MX 5.4 from CubeIDE 1.1.MX asks t...

fsch by Associate III
  • 431 Views
  • 0 replies
  • 0 kudos