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
  • 644 Views
  • 5 replies
  • 6 kudos

Resolved! User LED2 mapping bug on Nucleo-H753ZI

Hello,  Began learning STM32 MCUs with my Nucleo-H753ZI board and I think I found a bug. The IO configurator on CubeIDE thinks user LED2 is on PB7 and is blue coloured. I'll paste the code it generates below. But in fact, the user manual UM2407 says ...

Resolved! Error with CMake in New Version 6.15.0

Today, while using the CubeMX product, I upgraded to version 6.15.0 (previously 6.14.1). After upgrade, the CMake step when generating project code failed. Even when generating an empty project, CMake still did not succeed. I also tried previously wo...

Mocozzz by Associate II
  • 1953 Views
  • 13 replies
  • 5 kudos

Resolved! CUBEMX 6.15 with Keil Full Assert bug

Same problem here (Cube 6.15.0, Keil uVision  Although HAL is selected, Cube installed both HAL and LL files for ADC and some other peripherals by mistake.  which results in a compile error ../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.c(25...

regjoe_2-1758639075547.png regjoe_0-1758638667389.png regjoe_1-1758639027356.png
regjoe by Senior II
  • 485 Views
  • 8 replies
  • 1 kudos

Error in STM32U5 MDF code generation

For a project based on the STM32U585 I use the MDF in a specific configuration.Filter 0: receives input from SIT0Filter 1 receives input from SIT3Filter 3 receives input from SIT0So three filters are used and only two serial input streams. Serial inp...

Leon3_0-1759241815651.png
Leon3 by Associate II
  • 262 Views
  • 3 replies
  • 1 kudos

Resolved! NUCLEO-H7S3L8 Debugging Code Running from XSPI NOR Flash

I created a Boot/App/ExtMemLoader project for my NUCLEO-H7S3L8 via the STM32CubeMX for STM32CubeIDE, and ran into issues when running the application code from the external NOR Flash chip on the NUCLEO board (U18, P/N MX25UW25645GXDI00 on the schemat...

rbtmkr42_0-1759118569172.png
rbtmkr42 by Associate II
  • 513 Views
  • 4 replies
  • 1 kudos

Motor Control Timer Configuration PWM_PERIOD_CYCLES

We are migrating to a custom board and controller. Looking at the IOC generated by the Motor Control Workbench, there are some mystery variables that show up in the timer and we cannot track down where they are defined. See the attached snapshot and ...

gadams by Associate II
  • 166 Views
  • 1 replies
  • 0 kudos