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

Resolved! RCC Tim Prescaler selection for APB1 not working in LL

Greetings! :)Usecase:Nucleo-F756ZGCubeMx 6.8.0Set PLL to 216 Mhz,Enable RCC->Tim prescaler selection.On "Clock Configuration" set 216 Mhz for APB1 Timer clocksWhen use HAL, It works fine. PeriphCommonClock_Config() has been genereated, but if i chang...

Resolved! Update to CubeMX 6.8 adds non-working VOSRDY flag check to SystemClock_Config() on STM32F7 using LL drivers

Hi, I have a STM32F767 project I recently updated to new software release: CubeIDE 1.12, CubeMX6.8 (both from previous versions 1.11.x and 6.7). CubeMX code generator now adds a check for flag VOSRDY after setting regulator voltage scaling in SystemC...

t.decker by Senior II
  • 3000 Views
  • 7 replies
  • 3 kudos

Bug: Pins with similar labels get same label in code

I named one pin aLoadcell- and another aLoadcell+ in STM32CubeMx (v6.6.1). They both got the same C #define in the code, as both the '-' and the '+' were replaced by a '_'.​#define aLoadCell__Pin GPIO_PIN_2 #define aLoadCell__GPIO_Port GPIOC #define ...

DLoec.1 by Associate
  • 857 Views
  • 2 replies
  • 1 kudos

timer interrupt handler not generated and not called

Hi. I have recently updated to latest version 1.12.0 and there seems to be some problem with code generator.There is no handler for RTOS systick or for HAL timer. in stm32g0xx_it.cThis was broken for F072 family in the past, but now it is also broken...

0693W00000bhIxAQAU.png
PR.10 by Senior
  • 1109 Views
  • 0 replies
  • 0 kudos

stm32 as SPI slave, full-duplex transmission via circular DMA buffer: changes to MISO buffer not (completely) reflected in transfer

Created a project template via CubeMX: STM32G030 is SPI slave and uses circular DMA bufs for transfers.​As SPI master I'm using an ESP32 running micropython. This, though, should be irrelevant, as I don't rely on its output but what the Logic Analyze...

FBar.2 by Associate II
  • 6809 Views
  • 6 replies
  • 0 kudos