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

Resolved! STM32C092FCP6 SPI, SCK Pin remapping by CubeMX

Hello,when doing code generation by CubeMX, it seems, that there's no Pin-remapping done in certain cases, at STM32C092FCP6.In my case, I chose SPI2 in master full-duplex mode. SPI2_CLK is on PB8 at Pin1. A remapping from PB7 to PB8 has to be done by...

Screenshot 2025-09-04 155052.png
CBa by Associate
  • 173 Views
  • 1 replies
  • 1 kudos

Resolved! STM32CubeIDE PA3 Alternate Function Bug

Hi, There is a blatant bug in the STM32CubeIDE that has costed me a board iteration on a professional product. It says that pin PA3 is positive comparator input. When it isn't. Look here This is what the datasheet says.  

danielbathtub_0-1756991198601.png danielbathtub_1-1756991295544.png

STM32G0 minimum ADC frequency

I'm configuring an STM32G031, using the STM32CubeMX perspective in STM32CubeIDE.  I want to optimise for low power consumption.  My device uses the ADC and I see the ADC has a minimum acceptable frequency, 140kHz according to the data sheet (data she...

GrahamAU by Associate II
  • 692 Views
  • 4 replies
  • 0 kudos

STM32H7xx ThreadX with HAL, bug in HAL_InitTick

function HAL_InitTick() in generated code from STM32Cube IDE does not register the TimeBase_TIM_PeriodElapsedCallback after HAL_TIM_Base_Start(&htim6). it just returns the result if Timer Start.setting up the callback is done after this but never rea...

weak attribute needed in app.freertos.c

in app_freertos.c, the hook prototypes are not all defined as __weak.  This requires either deleting those prototypes or rewriting them with the __weak attribute to avoid multiple definitions when they're actually used in user code.  I generally do n...

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