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

Validation on target stuck?

Hi All,I had 2 questions in my current journey learning stm32 software as well as my stm32f746g board. I generated code based off an .ioc file created by the AI Edge Dev Cloud (a human activity keras model). My issues are as follows: 1. I debugged th...

ramyg1_0-1738726555557.png ramyg1_1-1738726726916.png
ramyg1 by Associate
  • 332 Views
  • 1 replies
  • 0 kudos

STM32CubeMX Generates MX_LWIP_Init even when disabled

STM32CubeMX always generates the function MX_LWIP_Init even when its generation is disabled. This causes a redefinition during compilation if a custom implementation already exists. On every regeneration the autogenerated file re inserts the function...

AAlis23_0-1758020584315.png AAlis23_1-1758020674000.png

Resolved! adding code to a project without CubeMX deleting it

I have a project that is using AzRTOS, ThreadX, NetX, FileX, UsbX, and i'm still using cubeMX to reconfigure the hardware and drivers.  I understand that users need to put code between the "USER CODE BEGIN" and "USER CODE END" comments, if you're sti...

matt-crc by Senior II
  • 2149 Views
  • 3 replies
  • 1 kudos

STM32 Cube MX STM32U535 ADC Error

Hi,Running STM32MX Tool 6.15.0 On Windows 10.Started a project for a STM32U535CCTx.I've enabled ADC and configured channel IN8. The software thinks this is connected to PA4, but the datasheet says it is connected to PA3. See screen caps below. Regard...

jminack_0-1757905070998.png jminack_1-1757905125016.png
jminack by Associate II
  • 227 Views
  • 6 replies
  • 1 kudos

clarity on external loader using stm32h750xbhx

by using the stm32h750xbhx i created two projects. one is bootloader and other is application. we are trying to use external flash to store the application, as the file size is much larger than the capacity of the internal flash.and we are trying to ...

Linker error with LL SPI driver when I2S is not configured on STM32G4

在使用 STM32CubeMX 进行项目配置时,我只启用和配置了与 SPI 外设相关的功能,而没有激活任何 I2S 功能。生成代码后,我选择使用低层 (LL) 库进行 SPI 驱动程序开发。但是,在项目编译过程中发生了链接器错误。 经过调查,确定了根本原因:意法半导体提供的LL库源文件 不是纯SPI驱动程序,而是复合SPI/I2S驱动程序模块。该文件包含SPI和I2S功能的函数实现。其中,某些I2S函数(例如某些初始化或时钟配置函数)调用依赖于中的实现的特定函数,其中之一是。stm32g4xx_...