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

Bug in STM32CubeMX with COMP

For COMP1 on STM32G0 here are the pin assignments from the reference manualI want PA1 and so I've chosen that in the STM32CubeMXHowever, the generated code sets and the value of InputPlus is  /** @defgroup COMP_InputPlus COMP input plus (non-invertin...

Carl_G_0-1750644467047.png Carl_G_1-1750644553274.png Carl_G_2-1750644605926.png Carl_G_4-1750644871312.png
Carl_G by Senior III
  • 625 Views
  • 7 replies
  • 3 kudos

Resolved! CubeMX STM32G0B1 ThreadX CMake

I created a project in CubeMX for STM32G0B1. I added ThreadX middleware. I chose "Add necessary library files as reference..." I generated a CMake project. It was good, it worked fine. After a few weeks of work and dozens of regenerations CubeMX leav...

varghamp by Associate II
  • 515 Views
  • 5 replies
  • 2 kudos

Resolved! STM32H562 SRAMx_ECC wrong description in CubeMX

HiWe work on a project with a STM32H562. We use STM32CubeMX Version 6.14 with the Firmware Package V1.5.0 to generate a STM32CubeIDE project on Windows 11. I just found a wrong description in CubeMX.The description for SRAM2_ECC, SRAM3_ECC and BKPRAM...

MMeie3_1-1744271578960.png MMeie3_0-1744271548478.png
MMeie.3 by Associate III
  • 576 Views
  • 3 replies
  • 1 kudos

Resolved! STM32H562 configuring SRAM13_RST does not work in CubeMX

HiWe work on a project with a STM32H562. We use STM32CubeMX Version 6.14 with the Firmware Package V1.5.0 to generate a STM32CubeIDE project on Windows 11. I think I just found bug in the code generation of CubeMX.I could reproduce the bug below in a...

MMeie3_4-1744271120049.png MMeie3_3-1744271019293.png
MMeie.3 by Associate III
  • 614 Views
  • 3 replies
  • 1 kudos

STM32CubeMX PCC tool

I’m trying to understand the peripheral current consumption figures generated by the PCC tool in CubeMX for my STM32U031 based project but can’t correlate the generated numbers with the values given in Table 43 of the datasheet, so I’m wondering whic...

kswST by Associate II
  • 526 Views
  • 0 replies
  • 0 kudos

Resolved! UART mode enable missing

Hi @STTwo-32  & Community, This issue was reported a long time ago but I'm seeing something similar again now. In my case it's the definition HAL_UART_MODE_ENABLED for my STM32H755 project, this define being put into stm32h7xx_conf.h after each code ...

bramble by Senior
  • 477 Views
  • 2 replies
  • 4 kudos