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
  • 1756 Views
  • 0 replies
  • 2 kudos

__HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__)

I am using STM32F427ZIT6 with both USART1 and USART3. Both USART ports are DMA enable. I use STM32CubeMX version 6.2.1 to generate the code.My problem is when USART3 is not transmitted, USART1 communication works as expected. When USART3 is transmit...

DNguy.11 by Associate II
  • 6305 Views
  • 9 replies
  • 0 kudos

H7/CubeMX CANFD configuration bug

CubeMX prevents the user from selecting certain (valid) CANFD bit timing configurations."Nominal Time Seg1" and "Nominal Time Seg2" are affected: These should have a minimum value of 1, but instead CubeMX only allows "2" as minimum value.This is prob...

Problems with STM32G431K8Tx

Good day, I'm developing a remote control using a STM32G and I encounter some problems.For my code i need two timers:Timer1: it has a 1us overflow time and is not handled by any interruption, I just use it to count micro seconds for my delay_us funct...

0693W00000GXHqJQAX.png 0693W00000GXHqxQAH.png 0693W00000GXHrCQAX.png 0693W00000GXHpmQAH.png
BBori.1 by Associate II
  • 1615 Views
  • 2 replies
  • 0 kudos

Resolved! How to override CubeMX I2C timing register calculations

I'm using CubeMX to configure the BSP for an STM32F767. My clock tree has 54MHz going to I2C2, and when I set up I2C2 with "I2C Speed Frequency" of 400KHz, CubeMX outputs a timing register (I2C_TIMINGR) value of 0x6000030D. With a prescaler of 7 and ...

JHugh.3 by Associate
  • 2525 Views
  • 2 replies
  • 0 kudos

Bug: CubeMX does no longer create Timer interrupt handle after chaning HAL Timebase and disabling Systick Interrupt code generation in NVIC

CubeMX does no longer create the TIM1_UP_TIM10_IRQHandler in the stm32f4xx_it.c file after the timebase source have been changed to any timer and System tick timer 'Generate IRQ handler' and 'Call HAL handler' code generation has been disabled in NVI...

makas005 by Associate II
  • 1999 Views
  • 1 replies
  • 0 kudos

Resolved! How to setup internal regulator with CubeMX on STM32H755

I'm using CubeMX 6.3.0 with a STM32H755 micro. The cube mx generated code assumes a HAL_PWREx_ConfigSupply( ) setting that is not correct for my hardware. Is there a place to configure this setting? I notice PWR is setup under Power and Thermal bu...

GHolc.1 by Associate III
  • 2004 Views
  • 2 replies
  • 1 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.