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
  • 298 Views
  • 4 replies
  • 5 kudos

Resolved! How to configure HSE on Nucleo U5A5ZJ

Hi Team,I am trying to use the HSE for Nucleo U5A5ZJ but I have some confusion. The document says .."HSE is the 16 MHz oscillator for the STM32 microcontroller. This clock is available depending on the targetSTM32 series microcontroller used on the N...

STM32CubeMX hangs generating source

Hi,I am finding STM32CubeMX is hanging when generating code in my project. I have had this in the past and managed to work around it by adjusting main.c so it didn't complain however that isn't working this time. If I run it in the console I see..202...

cubemx with keil generate code optimize level problem report

my project is making TF card a Udisk ,I use cubemx generate keil project, when I use AC6 -O0, everything goes fine,I connect USB, the Udisk display , read ,write is OK, but when I set -O1 or -O2, the Udisk won't come out and shows unknown USB device,...

lqi by Associate II
  • 237 Views
  • 1 replies
  • 0 kudos

Resolved! CMake Errors If STM32CubeMX Project Name Contains Spaces

I was following the tutorial (Get started with STM32Cube for VS Code: from installation to debugging - YouTube) when I managed to find a nasty footgun. STM32CubeMx will allow you to create a project whose name contains a space, and then if you set th...

Trev_AU by Associate
  • 522 Views
  • 5 replies
  • 4 kudos

STM32CubeMX generated DMA code

Hi,I'm using V6.15.0 of CubeMX with STM32U5 to generate DMA code. When I use the following configuration, it appears to generate incorrect code?I've noticed the following:1) It placed the Node_GPDMA1_Channel1 structure on the stack:This doesn't seem ...

jminack_0-1755478887628.png jminack_1-1755479106077.png jminack_2-1755479311613.png jminack_3-1755480360402.png
jminack by Associate II
  • 495 Views
  • 3 replies
  • 1 kudos