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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 633 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
  • 602 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
  • 1019 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
  • 950 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
  • 484 Views
  • 2 replies
  • 0 kudos

STM32CubeMX 5.0.0/5.1.0 release with F334/HRTIM interrupt

Doing R&D product development. I can't get the HRTIM interrupt to trigger when setting the Interrupt request source in STM32CubeMX. There is no difference in code generation and the interrupt parameter is not modified. Both releases use the same F3 ...

WTom by Associate III
  • 637 Views
  • 3 replies
  • 0 kudos

Resolved! STM32Cube_FW_H7_V1.4 when?

Hello,is it possible to know when will the 1.4 software version of STM32CubeH7 be released?Thanks in advance.

akosodry by Associate II
  • 899 Views
  • 4 replies
  • 0 kudos

Logic inversion for CAN NART/AutoTransmission

I am using an STM32F4xx processor. I just worked through and tracked down a logic inversion between CubeMX and the HAL implementation, that does not show up in any of my searches. It looks like it got introduced when the CAN libraries were upgraded...

GSpri by Associate
  • 727 Views
  • 1 replies
  • 1 kudos