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
  • 619 Views
  • 5 replies
  • 6 kudos

CubeMX XSPI configuration confusions

I'm using STM32CubeIDE version 1.19.0 and MxCube version 6.15.0.In ExtMemLoader middleware configuration there's a Memory Size option:The *** thing is that it lists C macro options that are capital letters (by naming convention) so megabits (acronym ...

mkrk_0-1755077594453.png mkrk_1-1755077712739.png
mkrk by Associate III
  • 344 Views
  • 2 replies
  • 1 kudos

Resolved! report bug in STM32CUBEMX(6.15.0) for stm32g431

There's a bug in the latest version of stm32cubemx(6.15.0), I migrate my configuration into this version of cubemx, then generate code, and I did not notice that cubemx could change my config and stick into it.I mean, I use tim3 ch2 & ch3 to generate...

TomZhu by Associate II
  • 283 Views
  • 2 replies
  • 0 kudos

SPI Mode switching

Hi!Can we switch the SPI Mode from Mode 1 to Mode 0 or vice versa in the same project ??For eg. If I have set the SPI Mode to Mode 1 using my IOC which is required by one of my ICs but one of my ICs works on SPI Mode 0 so can I change the mode from M...

ARORAPD by Associate
  • 200 Views
  • 1 replies
  • 0 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
  • 249 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
  • 552 Views
  • 5 replies
  • 4 kudos