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

Using DMA with UART Idle Timeout on STM32G4

Hi Team,I'm currently transitioning from using UART interrupt with timeout to DMA-based reception on an STM32G4 controller. I’d like to implement a similar behavior where I can detect the end of a UART message using idle line detection while receivin...

Failed in update the firmware package for STM32H5

I download the latest firmware package "stm32cubeh5-v1-5-0.zip" for STM32H5, from ST's website. I followed following instructions to install it via STM32CubeMX:Open STM32CubeMX.  Go to Help > Manage embedded software packages.  Choose the desired STM...

WenLiu_0-1752236346137.png
Wen-Liu by Associate
  • 150 Views
  • 2 replies
  • 0 kudos

Resolved! STM32CubeMX CAD export fails

I am using STM32CubeMX Version 6.13.0 and targeting the STM32H743BIT6.The CAD export option fails with the error: "Download interruption: CAD download fails due to AxiosError: Request failed with status code 500".I first experienced this with an olde...

STM32CubeMX CAD Download Error.png

USBX Mutex does not work - CubeMX code generator BUG

Hello, I'm trying to implement a USBX host... and the code generates a lot of runtime errors.  I assume everything is setup properly from CubeMX, but the code always fails.  1- I see that the mutex was created from the debug session: (ux_system_mutex...

mattcrc_3-1741165785810.png mattcrc_0-1741162907896.png mattcrc_1-1741163003693.png mattcrc_2-1741163342925.png
matt-crc by Senior II
  • 580 Views
  • 5 replies
  • 3 kudos

STM32G030F6P ADC Frequency in STM32CubeMX

I was checking maximum frequencies of some MCUs and noticed i can pick ADC frequency in CubeMX clock configuration up to 80MHz for TSSOP-20 STM32G030. Its maximum frequency is 64MHz.Datasheet states it can deliver maximum 2Msps on 12 bit but with its...

MKanc.1 by Associate III
  • 439 Views
  • 5 replies
  • 0 kudos

Resolved! OctoSPI delay block code unnecessarily generated

Hi Everyone,I noticed that CubeMX (version 6.14.0) generates a call to HAL_OSPI_DLYB_SetConfig in octospi.c even though I have configured the OctoSPI to bypass the delay block.Is it safe to just remove any Delay Block related code?Is this a bug in Cu...

tzijnge by Associate II
  • 345 Views
  • 2 replies
  • 0 kudos