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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1217 Views
  • 0 replies
  • 1 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
  • 1287 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
  • 1443 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
  • 8257 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
  • 2952 Views
  • 3 replies
  • 1 kudos

Is it possible to change peripheral instance name?

Hi, I'm developing some firmware having in mind a possible future need for portability. Being so, I thought about labeling pinouts on the Device Configuration Tool (DCT) and generate code (in the future, giving the same pin names to different pin gro...

PMach.3 by Associate II
  • 1733 Views
  • 1 replies
  • 0 kudos