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

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
  • 212 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
  • 475 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
  • 430 Views
  • 3 replies
  • 1 kudos

Resolved! Query about STM32F446 HSE pll setting failure on CubeMX

I am using NucleoF446RE (STM32F446RE) with CubeIDE 1.19.0.I wish to set PLL  as 16MHz by HSE (STLINK 8MHz MCO).Because HSI clock is 16MHz.I had set PLL M/N/P = 4/64/8. CubeMX reported P was fail . ]So I had set P=4. and It makes PLL-CLK = 32MHzAfter ...

faiilure PLL.png success pll.png
SNish by Associate III
  • 245 Views
  • 4 replies
  • 1 kudos