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
  • 396 Views
  • 4 replies
  • 6 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
  • 828 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 Associate III
  • 1065 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
  • 6623 Views
  • 6 replies
  • 0 kudos

Resolved! Is it possible to use RTC wakeup interrupt without Low Power?

Hi,I'm using Nucleo-l476RG and try to get an Interrupt with RTC accuarcy every second.My plan is to use the RTC WakeUp in Internal WakeUp mode with "RTC wake-up interrupt through EXTI line 20"However the problem is that the interrupt is fireing only ...

TZier.1 by Associate II
  • 2281 Views
  • 3 replies
  • 1 kudos