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

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
  • 1689 Views
  • 13 replies
  • 5 kudos

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
  • 425 Views
  • 8 replies
  • 1 kudos

Resolved! sysmem.c build error in clang

When building an STM32CubeMX generated cmake project with clang there are two files that generate errors:sysmem.cthe linker script (STM32L431RCTX_FLASH.ld and stm32l476rgtx_flash.ld)sysmem.c produces the following error:Core/Src/sysmem.c:30:35: error...

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
  • 210 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
  • 417 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
  • 140 Views
  • 1 replies
  • 0 kudos