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

Resolved! Freertos semaphore not initialised correctly by CubeMX

By setting up a new project in STM32CubeMX 6.10.0, when adding a Semaphore in FREERTOS, the generated code is not correct, and the binary semaphores are initialised in a Taken state ( initial_count=0 of osSemaphoreNew() )  - resulting in the fact tha...

An error occured while generate NetXDuo Code

 I make a new product with NetXDuo for STM32H743.But, it is included error code in RTE_Components.h RTE_Components.h (A project)/* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __R...

Resolved! STM32H745 bootloader access after full chip flash erase

I'm trying to verify my connection to the STM32H745 built in bootloader over UART 1, using pins PA9 and PA10 using STM32CubeProgrammer.  First I erased flash by using full chip erase flash memory in STM32CubeProgrammer using JLink/Flasher.  I then di...

GHolc.1 by Associate III
  • 844 Views
  • 2 replies
  • 1 kudos

Resolved! Generated uVision Project File is corrupted

When generating code in CubeMX for the MDK-ARM Toolchain, the uVision Project file (.uvprojx) is corrupted.When I try to open the project it shows the following message: Comparing the project files shows that the following section gets removed:Manual...

uvision.png diff.png
Jonas3 by Associate II
  • 676 Views
  • 2 replies
  • 0 kudos

Several issues in CubeMx for STM32U0x3

For a project I am using the STM32U073 and for testing the development board with the STM32U083. I have encountered several issues in CubeMX and perhaps also in the hardware: The code that CubeMX generates for the low power timer contains a typo. Lin...

wijnen by Associate II
  • 646 Views
  • 1 replies
  • 0 kudos

CubeMX bug regarding LPUART1 DMA (MX_Device.h)

I use the STM32L496ZG. When generating the files using STM32CubeMX it also generates MX_Device.h which contains several defines. When using LPUART1 with DMA it also generates defines like:#define MX_LPUART_RX_DMA_DMA_Handle #define MX_LPUART_RX_DMA_I...

Reneb by Associate III
  • 1306 Views
  • 3 replies
  • 0 kudos