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

Resolved! CubeMX problem when gen code for H563

making new project for H563 cpu has problems:1. output as makefile is greyed out - why ?2. output for stm32cubeIDE is possible, but output shows problem:what can i do now ?

AScha3_0-1693501411188.png
AScha.3 by Super User
  • 1218 Views
  • 2 replies
  • 0 kudos

Resolved! Pin assignments

Hi, I am using the Nucleo-F767ZI, when I am asigning a function to a pin (PD2) this make unselect the pin PG2, when I reassign the pin PG2 this makes the PD2 is deselected, the same when I try with the PF2, what is wrong? this using the graphic inter...

Debug error when connecting to STM32U5

Hello,I am trying to connect PEMicro Cyclone Fx to STM32U535RB and I get below Error in IAR. Though, debugger hits the breakpoint and starts the debug session successfully, I would like to understand what that error means. Can anyone help me understa...

HDevi1_0-1692895722128.png HDevi1_1-1692895936848.png
HDevi.1 by Associate II
  • 1400 Views
  • 2 replies
  • 0 kudos

Resolved! CubeMX HAL_Tick missing

HiWhen I Generate Code i find that HAL_Tick code is not generated and I am required to manually add code to get any MX code to work (given many _Init functions rely on HAL_Tick).  I add the code, below, to a USER_CODE area but I don't see why I shoul...

MRobe.1 by Associate III
  • 3072 Views
  • 9 replies
  • 2 kudos

VSCode Exception in Reset Handler

I'm attempting to debug some code using Vscode and the STM32CubeCLT tools. I've Vector Table has been relocated to 0x8008200. Using the STM32CubeIDE, I have no problem debugging the software once I set the location of the Vector Table. However, if I ...

zetanaught_0-1693346712026.png

Resolved! STM32U5: Makefile option greyed out

Hi everyone,I am trying to generate a Makefile for the B-U585I-IOT02A board on the STM32CubeMX 6.5.0 for Linux and the Makefile option under:Project Manager -> Project Settings -> Toolchain / IDE,and that option is greyed out.Why is it disabled? Is t...

PACM by Associate
  • 1156 Views
  • 2 replies
  • 0 kudos

FLASH_DBANK_SUPPORT incorrectly defined for STM32G0B1CB

Hi, I write to report a possible bug in generating a project by selecting an STM32G0B1CB MCU.I created the basic project using STM32CubeMX (6.9.0).In the autogenerated file "stm32g0b1xx.h" (in Drivers/CMSIS/Device/ST/STM32G0xx/Include) there is the f...

locchi93 by Associate
  • 1521 Views
  • 4 replies
  • 1 kudos