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

We are pleased to announce that the minor version 6.16.1 of STM32CubeMX is available. What is new in 6.16.1: This release addresses and resolves the issues outlined below: Users of STM32CubeMX version 6.13.0 and later may encounter a HardFault except...

Aimen1 by ST Employee
  • 893 Views
  • 0 replies
  • 1 kudos

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

How do I load an earlier version of the MX program? The current version does not generate code right like the previous version did.

I have been using the DMA for UART transmit for months without problem. The MX program is not generating the code for DMA configuration anymore. It used to work. I have other problems with the current version and I am tired of all the "it will be fi...

KiptonM by Lead
  • 1060 Views
  • 4 replies
  • 0 kudos

Why can't I download firmware package?

Hello. When I tried to use Motor Control Bench for the first time in a while, I had trouble downloading the firmware package.Looking at the log file at the time of code generation, the code appears to be generated.Do you know if the generated code is...

0693W00000QL2LCQA1.png

STM32CubeMX not working on Win11 for ARM in emulated mode

I've tried to run STM32CubeMX on my Windows 11 parallels virtual machine that run under Monterey on Apple M1 MAX machine.For some reasons the application crash. I've tried various compatibility modes with and without administrative rights but with no...

ABucs by Associate II
  • 1250 Views
  • 2 replies
  • 0 kudos

Resolved! UBEMX generated EXTI IRQ handler with wrong symbolC

I have two gpios enabled one as an output another as a interrupt input. PA11 and PI11 respectively. There are two pin defines generated by CUBEMX, for argument call them MYPINA_Pin and MYPINB_Pin respectively. For the interrupt handler CUBE generates...

FColl.1 by Associate III
  • 1533 Views
  • 5 replies
  • 1 kudos

Resolved! How do I add FreeRTOS threads without CubeMX deleting them?

I created a project for an STM32H753 MCU and have added FreeRTOS via CubeMX called from CubeIDE. CubeMX generates the following code in main.c: /* Init scheduler */ osKernelInitialize(); /* Call init function for freertos objects (in freertos.c) */ ...

RLein.1 by Associate III
  • 2652 Views
  • 7 replies
  • 0 kudos