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

Little problem from STM32CubeMX to TrueStudio

Hello,I' using Windows 7/64, True Studio 9.2, STM32CubeMX 5.1 on a Nucleo-F401RE.After code generation (GENERATE CODE) , if I try to open the project from Cube, the system answers : " Please Install TrueStudio Toolchain to open the project". I solve...

FreeRTOS: no verride generated for systick

Hello, I am using CubeMX 4.26.1:The bug scenario is the following:Configure project for FreeRTOS usage,Configure SysTick as system clock,Everything works, as FreeRTOS in port.c uses the SYstick registers.Change the timer to other one than Systick in ...

Potential Bug in CubeMX DMA Configuration?

Hello:I was having a load of issues getting my receive DMA functioning. My device is an STM32L433CCU. I am also using ADC1 DMA, which was functioning good.To determine what might be going on, I started a fresh copy of Cube configurator, and started w...

I can't get the HRTIM interrupt to trigger when setting the Interrupt request source in STM32CubeMX/5.0.0/5.1.0.

I’ve attached a screen capture of the STCubeMX HRTIME configuration , and one showing the HETIME PWM capture on the oscilloscope. The code generation created a global interrupt for HRTIME. I inserted a toggle call �? HAL_GPIO_TogglePin(GPIOB,5);�? as...

0690X0000088bypQAA.png 0690X0000088c3kQAA.bmp
WTom by Associate III
  • 1099 Views
  • 1 replies
  • 0 kudos

nucleo-f429zi usb configuration

I am using nucleo-f429zi with stm32cubemx. I found the default system clock in stm32cubemx is 168MHz for nucleo-f429zi. when I add usb fs in my application, I can't change to system clock 180MHz because pll_q can't get 48MHz. anybody knows how to con...

yang hong by Associate III
  • 1011 Views
  • 1 replies
  • 0 kudos

STM32G071RB INIT bit in ICSR RTC reg

hello, after configuring the rtc in the cube the clock does not start. The initialization procedure calls the error handler. I checked that the RTC_EnterInitMode function is a problem. The INIT bit in the ICSR register is not set. Rule SET_BIT (hrtc-...

wuio by Associate II
  • 2220 Views
  • 4 replies
  • 0 kudos

CubeMX makefile optimise setting

I'm trying to find out where CubeMX gets the "OPT = -O3" setting that keeps overriding my edits I have to make after (re)generating the code.I can't find a template anywhere!

Cubemx USB BUG

Cubemx v5.1.0 , STMF7 v.1.15.0 ,USB CDC , device only, usb fs​USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status) static void SystemClockConfig_Resume(void)is not declaration. ANDhpcd->Init.speed = USB_OTG_SPEED_FULLvoid HAL_PCD_Rese...

hjuns by Associate III
  • 1855 Views
  • 2 replies
  • 1 kudos

CubeMX 5.1, STM32L4 1.13, RCC Codegenerator fails

Hi All,I recently updated the Codegenerator and now USB does not work on my STM32L468RG.I made a concept of proof that worked and investigated the changes.Icould see that in my complete Project the codegenerator initializes the RCC by HSI where it sh...

taraben by Senior
  • 782 Views
  • 2 replies
  • 0 kudos