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! STM32U0 LCD does not initialize with LSI clock

I am working with STM32U073 and the LCD initialization code generated by CubeMx 6.12.0 (from STM32CubeIDE 1.16.0) does not work with LSI selected as the clock source.HAL_LCD_Init() returns HAL_TIMEOUT due to LCD_WaitForSynchro() timing out.The issue ...

Resolved! Issue to select TouchfGx 4.24.1 version in CubeMx

I use touchfgx 4.24.1 Designer to generate a new project. After generating it, I use this stm32cubemx 6.12.1 to open the stm32cubeProject. It will say that my stm32cubemx 6.12.1 does not have touchfgx 4.24.0 installed, and it wants me to install touc...

Kenwang_0-1728385608778.png Kenwang_1-1728385664740.png
Kenwang by Associate III
  • 2414 Views
  • 11 replies
  • 0 kudos

CubeMX bug when use Memory management

MCU: STM32H743IIT6When using Cubemx on Mac M1, enable "Apply Application Regions Settings to Linker Files", the generated .ld file error/*********************************************************************************** File : LinkerScript.ld**** Au...

lukegong_0-1722827489500.jpeg
luke gong by Associate II
  • 1554 Views
  • 6 replies
  • 0 kudos

CubeMX/LL/FreeRTOS

We use CubeMX to generate code for LL and FreeRTOS. After configuring the SYS timer to TIM14 in CubeMX, HAL_Init() and HAL_InitTick() in the generated stm32f4xx_hal_timebase_tim.c file use TIM14 as expected. LL_mDelay, however, is not generated and s...

clausf by Associate
  • 681 Views
  • 1 replies
  • 0 kudos

ADC Injected Conversion

I am trying to use the Pin ADC1_EXT11(PC11) and ADC1_EXT15(PA15) as ADC input sampling pins. But in the setting given in Cube IDE, if i enable injected conversion, additionally 2 pins are automatically getting configured for some reason. I don't know...

Screenshot 2024-10-15 110058.png Screenshot 2024-10-15 122703.png

Resolved! There is no Advanced Parameters tab on the Ethernet

Hello. I'm trying to use Ethernet MAC with external PHY (LAN8720) but when I try to configure the Ethernet on the IOC there is no Advanced Parameters tab (STM32F407VGT6). HAL Lib. version is 1.27.1. I tried a few things but I had no luck. I think I'm...

0693W00000bhMLPQA2.png
MrEmou by Associate II
  • 3041 Views
  • 6 replies
  • 0 kudos

Resolved! ADC dual mode

Hi i'm using MCU : STM32H743ZGT. At several ADC documents, it says that when ADC1 and ADC2 end sampling, the two results are stored in ADC_CDR together. The top 16 bits are the result of ADC2, or slave ADC, and the bottom 16 bits are the result of AD...

giwonKIM by Associate III
  • 1154 Views
  • 3 replies
  • 1 kudos