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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1756 Views
  • 0 replies
  • 2 kudos

Resolved! STM32WL pin context assignment missing

 Hi ST-Community, I have a problem with my STM32CubeMX: The pin context assignment for STM32WL55JCI7 is missing. Does anyone have the same problem and know how to fix it? (No generated code for GPIOs) Many thanks in advance for your support! Kind reg...

PhilKnufWT_2-1744197960725.png PhilKnufWT_1-1744197927597.png

CubeMX generated code line ending

I've switched to mac and like any responsible adult all of my projects are handled by git. But when I generated the code with CubeMX it was a little confusing to see so many files have changed. A quick search brought me to this topic without any answ...

MHoss.1 by Associate III
  • 3484 Views
  • 1 replies
  • 5 kudos

port A pins not correctly configured for input capture

I've discovered that when I configure the TIM2 timer to ‘input Capture direct mode’ for any port A input pin it doesn’t add the necessary line in  HAL_TIM_Base_MspInit() to configure the pin to alternate mode, namely the following line is missing in ...

kswST by Associate II
  • 1078 Views
  • 2 replies
  • 1 kudos

Can't use RTT with CMake project

I tried to use cmake with CubeMx but I cant make RTT works.Error:multiple definition of `_write_r'; /usr/lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/lib/thumb/v7-m/nofp/libc_nano.a(libc_a-writer.o):/build/arm-none-eabi-newlib/src/build-nan...

Hyderman by Associate II
  • 6959 Views
  • 9 replies
  • 1 kudos

CubeMX octospi code generation

Hi everyone,I noticed that CubeMX 6.14.0 ignores the octospi parameter settings. I created a new project for the NucleoU5A5 board, configured Octospi1 with a clock prescaler of 99. I notice the following behaviorGenerated code (CubeIDE) has a prescal...

tzijnge by Associate II
  • 1333 Views
  • 3 replies
  • 0 kudos
Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.