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! ADC Differential Mode Reading Incorrect

Hi,I got some problem with using ADC Differential Mode. When I am using ADC Single Ended Mode:Channel 8 Reading: ~8735Channel 9 Reading: ~10907When I am using ADC Differential Mode:Reading: ~7106That's weird. ADC Differential Mode should be subtracti...

Screenshot 2024-10-21 at 14.22.14.png Screenshot 2024-10-21 at 14.22.26.png
James613 by Associate II
  • 1265 Views
  • 6 replies
  • 2 kudos

MDF Output Incorrect

Hi,I am programming my STM32U5 that using MDF to filter the ADC value and transfer to memory with GPDMA.My problem is the output of the MDF is very different from the ADC output, and the MDF output keep fluctuating, but my adc value should be stable....

Screenshot 2024-10-21 at 16.02.28.png Screenshot 2024-10-21 at 16.02.37.png Screenshot 2024-10-21 at 16.02.41.png Screenshot 2024-10-21 at 16.01.49.png
James613 by Associate II
  • 654 Views
  • 1 replies
  • 0 kudos

Resolved! STM32CubeMX API documentation

Hi,I'm new to STM32 tools.If I add a new component in STM32CubeMX, where can I find the documentation to the added sonftware modules?E.g. if I add DMA2D from the left pane software is added to the project.How do I know what this software offers and h...

joergk by Associate
  • 1494 Views
  • 6 replies
  • 3 kudos

Resolved! OpenAMP problem on STM32H747I-DISCO

Hi I am new to STM32 MCU and we are migrating from Microchip to ST.I am using:STM32Cube IDE version 1.13.2STM32CubeMX version 6.8.1dev kit = STM32H747I-DISCOI followed all the instructions given in the txt file i am attaching with this thread.I want ...

wijjay by Associate II
  • 4883 Views
  • 9 replies
  • 1 kudos

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
  • 2403 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
  • 1543 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
  • 677 Views
  • 1 replies
  • 0 kudos