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

We are pleased to announce that the version 6.15.0 of STM32CubeMX is available. What is new in 6.15.0: Enhanced microprocessor support: Added the STM32MP21-A35-TD, STM32MP21-M33-TD, STM32MP25-M33-TD, and STM32MP23-M33-TD trusted domains for the STM32...

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
  • 263 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
  • 303 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
  • 304 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
  • 374 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
  • 120 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
  • 246 Views
  • 2 replies
  • 4 kudos