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

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
  • 578 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
  • 1003 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
  • 938 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
  • 479 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
  • 631 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
  • 838 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
  • 704 Views
  • 1 replies
  • 1 kudos

STM32F4Disco + VCP + Windows10 issue: error code 10

Hi all,I want to handle STM32F407 Disco via VCP. In the first case, i tried to configure UART but when i connect my USB TTL converter to my PC: it informs me that VCP error ''This device cannot start(code 10)''.I thought that the probem is related ...

0690X0000088qxcQAA.png 0690X0000088qxSQAQ.png
mmed by Associate III
  • 958 Views
  • 3 replies
  • 0 kudos