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

STM32 Code generation terminology

Hello , I am a student and want to understand the basic terminologies of the files being generated from the STM32CubeMX. Any document/Video to it will also be helpful.When I generate the code say for Nucleo-F401RE from the STM32CubeMX , I get these f...

PVaaz.1 by Associate III
  • 768 Views
  • 3 replies
  • 0 kudos

In CubeIde: IOC file behavior after code generation !

With STM32CubeIde 1.9.0, open and change some settings in the IOC file, save your changes, and then click yes when a popup asks you to generate the code. At the end of the code generation, the IOC file is marked again as an unsaved file!

MFred.2 by Associate III
  • 4565 Views
  • 16 replies
  • 0 kudos

I2C timing setup for STM32L552MEYxP

Hello all,  I have a STM32L552MEY6P. I am using it as a slave and setting an address. Using the MX cube set the speed for 400kHz. I have a Rasberry pi trying to do an address detect. Whenever I turn on the clock stretch, I get a read at address 0x50....

0693W00000LzWINQA3.png 0693W00000LzWIXQA3.png
VThan.2 by Associate III
  • 690 Views
  • 1 replies
  • 0 kudos

If I activate the LSE for the RTC instead of the LCI, using version 6.4 of stm32cubemx , the "SystemClock_Config()" function generates an error. is there a solution to solve the problem using version 6.4 of stm32cubemx.

Initially I used version 6.5 of stm32cubemx to generate my project for stm32h743 and as I use the ADC module which I cannot get to work with this version, I switched to version 6.4, I So the problem of the ADC is solved, it works very well except tha...

Resolved! STM32CubeIDE modify HAL code

We have to make minimal changes to parts of the HAL code, which would be overwritten by code generation.Is there a recommended way to implement such changes, such that they don't get reverted by generation?The two ways I can think of both have their ...

JKut by Associate II
  • 734 Views
  • 1 replies
  • 0 kudos