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

We are pleased to announce that STM32CubeMX 6.16.0 release is available. What is new in 6.16.0: Added support for new microcontrollers across the STM32WBA, STM32N6 and STM32H5 series and the STM32WL3x product line. The related new boards include the...

Aimen1 by ST Employee
  • 538 Views
  • 5 replies
  • 6 kudos

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
  • 444 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
MPamenter by Associate II
  • 1208 Views
  • 5 replies
  • 1 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
  • 637 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
  • 513 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMX MDF/ADF Driver for STM32U3 does not build

Hi,I have a project working on a STM32U5 and I was curious to port it to STM32U3 to see the differences in power consumption.I have built the project for the STM32U3 with CubeMX with the firmware packet "FW_U3 V1.1.0" , which is currently the latest ...