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

Line endings - bug in CubeMX, all versions

Code generated by CubeMX use Windows line-endings, which generate huge problems under other operating systems (repository, editors, etc.). You have to strip CR-LFs after every code generation.Somebody should use standard method of platform-independen...

trzeci by Associate III
  • 1480 Views
  • 11 replies
  • 2 kudos

CubeMX Clock Configurator NOT Locking The Selected Values

Hi,in CubeMX clock configuration, after inputting a desired value into one of the PLL outputs (like in the LTDC Clock box) you can lock it and it turns gray (see screenshot), you can then set another related PLL output (like the DSI) and it should re...

Ricko_0-1742744286828.png
Ricko by Senior III
  • 364 Views
  • 2 replies
  • 0 kudos

What is the recommended alternative to using HAL?

The ST docs all refer me back to using HAL with CubeMX however I see many suggesting staying away from it.I could not find where to download and use libraries such as CMSIS for my STM32F407G Disco board Are the libraries I need already in my CubeIDE ...

LMorr.3 by Senior II
  • 6118 Views
  • 9 replies
  • 5 kudos

STM32G474,HRTIM,ADC

I am using hrtim to trigger the adc, but if the regular channel is not triggered with hrtim, it doesn't go into the interrupt of the ADC properly, I checked a lot of information and didn't find a solution, here is my code and cubemx configuration:   ...

iskan_0-1695029126119.png iskan_2-1695029415264.png iskan_3-1695029424941.png
iskan by Associate III
  • 1167 Views
  • 1 replies
  • 0 kudos

MX cube corrupts .ioc on save (Windows 11)

I am using the STM32CubeMX to edit pinout configurations for the STM32U595ZJYxQ. Process worked well for the past few days however on Friday the tool appeared to hang after saving the config. The first time this happened the tool closed on its own af...

edwal by Associate II
  • 589 Views
  • 7 replies
  • 1 kudos

How to set SPI_TX in DMA settings

Hi, I’m new to STM32. I wanted to set SPI_TX in DMA settings, but I think it has to be configured before using it, as you can see in the picture. I want to give an output for display... can anyone help to solve the problem?  

AndrewNeil_0-1741705395983.png
Ruvi2006 by Associate
  • 503 Views
  • 3 replies
  • 0 kudos