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

BUG FOUND IN LTDC 18bits mode in STMCubeMX 6.15.0

Hello ST team,I would like to report a pin mapping issue in STM32CubeMX when configuring the LTDC peripheral in RGB666 (18-bit) mode, especially on STM32H750 (and other STM32H7 devices).Problem descriptionWhen selecting RGB666 (18 bits) as the LTDC c...

deived10 by Associate
  • 320 Views
  • 2 replies
  • 1 kudos

Keil slash and backslash

I generated an STM32 project using STM32CubeMX for Keil (MDK-ARM).In Keil, functions like HAL_GPIO_TogglePin() don’t show up in code completion (IntelliSense).I found that in Project → Options for Target → C/C++ → Include Paths, the paths use / (for ...

UV4_fLY8qK25Zr.png

Resolved! STM32CubeMX generates wrong code for Nucleo-G431KB

In STM32CubeMX 6.15.0 / Win11 I generate a default CMake project for the Nucleo-G431KB board.The generated cmake/stm32cubemx/CMakeLists.txt contains:# STM32CubeMX generated symbols (macros) set(MX_Defines_Syms USE_NUCLEO_64 USE_HAL_DRIVER STM32...

KnarfB by Super User
  • 285 Views
  • 2 replies
  • 1 kudos

CubeMX USB RTOS issue

      在32位中,字的单位应该要*4吧?为什么这里直接是按字节赋值???坑死我了 Translation: "In 32-bit, the word unit should be * 4, right? Why is it assigned directly by byte here? ? ?"   Edited by ST moderator to be inline with the community rules. In next time please write in E...

dxgvbsdfgsd_0-1756272017129.png dxgvbsdfgsd_2-1756272037356.png dxgvbsdfgsd_3-1756272048683.png dxgvbsdfgsd_4-1756272140038.png

Resolved! STM32_WPAN is grayed-out in MX

Dear STMicroelectronics Support Team,I hope this message finds you well.I am currently working with an STM32WB series microcontroller and using STM32CubeMX (version [insert version number]) for configuration.While setting up the project, I noticed th...