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

Plan to upgrade mbedTLS from v2.16.2 to v3.6.x?

Hi, The mbedTLS v3.6.x is LTS version and released for quite long time. Do you have plan to upgrade mbedTLS to v3.6.x with MX? If not, customer shall manually integrate/upgrade the mbedTLS to v3.6.x. Could you please give me a guideline to do that. T...

Leo2Ruan by Associate
  • 262 Views
  • 2 replies
  • 0 kudos

CubeMX bug in generating ThreadX files for Cortex_M55

Hello, Using the latest CubeMX 6.15.0 I was generating ThreadX for Secure - Non Secure Project (for STM32N6 - Cortex_M55). This did not add file : "\Middlewares\ST\threadx\ports\cortex_M55\gnu\src\txe_thread_secure_stack_allocate.c" and so is not add...

Wrong file name for linker script

When generating code for Makefile, the MacOS version 6.15 succeeds while the Linux version 6.15 fails.I have the same version of firmware packages installed on both OS.MacOS STM32CubeMX produce this following snippet in the Makefile##################...

Resolved! How to set STM32H755 sysclk to 480MHz?

Hi there,According to the STM32H755 datasheet, the Cortex-M7 frequency can reach up to 480MHz.However, when I configure the sysclk in STM32CubeMX, it shows the maximum frequency is 300MHz.What's wrong with my config? Or is there any misunderstanding ...

Junde_0-1755251128177.png
Junde by Senior III
  • 652 Views
  • 3 replies
  • 4 kudos

IOC not generating pin setup for gpio output

My colleague is working with the stm32h743.Initially PC7 was setup as a PWM output.  That worked fine.When he changed the pin to GPIO_output, no code was produced to set up the pin.By manually entering code, we could get the pin to be configured as w...

jwtuttle by Associate II
  • 695 Views
  • 9 replies
  • 2 kudos

HAL_UART_Transmit_DMA() doesn't?

I am porting code from an existing project that runs on an STM32F4 chip onto an STM32H7 chip, and have been losing my sanity for a couple of days trying to get over hurdle #1: I use a UART for communicating with the chip, and have not been able to ge...

E P by Associate III
  • 18119 Views
  • 18 replies
  • 8 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
  • 373 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
  • 312 Views
  • 2 replies
  • 0 kudos