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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 391 Views
  • 0 replies
  • 1 kudos

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

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
  • 2692 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
  • 544 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
  • 1715 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...