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
  • 485 Views
  • 5 replies
  • 6 kudos

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
  • 2561 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
  • 498 Views
  • 0 replies
  • 0 kudos

PLL Clock configuration for STM32H750 in STM32CubeMx V5.40

I want to configure the maximum clock rate for the timers of 240MHz so I need to use the PLL block. However the CubeMx clock configuration tool doesn't seem to work. It keeps resetting my PLL settings to /32, x129, /2. When I change these settings it...

IGeor by Associate II
  • 1609 Views
  • 4 replies
  • 0 kudos

STM32F413VG, I am not able to work SPI over DMA or Interrupt. I can do it in a polling way which is not an option for my case.

I have followed many of tutorials on the web.I have problems using SPI via DMA and IT. There is no data flow. But it works using polling.In addition to this, UART also is not functional over DMA.My CubeMX version is 5.4.0.I have watched tutorials bel...

Automatic way to bring related pins "close" together?

Sometimes related pins get automatically mapped in different physical locations on the chip. When possible given alternate pin map choices, I would like related pins near each other for PCB routing purposes. It takes a long time to search all the pin...