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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

CubeMX update & where to set usb/cdc & set clocks?

Discovery with stm32F407VG t.​Hi, after update I cant find place ​where I can configure usb/device/cdc like "BAUDRATE, STOP BITS"​In old version this was under "configure" usb hf. Now I can only see 12Mhz full speed.​Other issue I have is minor, Cube...

oeliks by Senior
  • 565 Views
  • 1 replies
  • 1 kudos

STM32CubeMX v5.1.0 DOESN'T GENERATE SysTick_Handler!!!!!

Because SysTick_Handler is defined as weak, with a fallback to Default_Handler (which is a infinite while loop), this means the first time your program generates a SysTick event, your program crashes.Hopefully this post prevents others from wasting a...

TDK by Super User
  • 1090 Views
  • 3 replies
  • 1 kudos

STM32CubeMX 5.0 under Linux

Hello,I installed new STM32CubeMX 5.0.0 on my computer under Ubuntu 18.04. After start, program doesn't response. When I run it via terminal, I have some warns and error. Below I attached logs from terminal. After the last line of this log, I don't h...

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
  • 591 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
  • 557 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
  • 984 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!