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

We are pleased to announce that the minor version 6.14.1 of STM32CubeMX is available. What is new in 6.14.1: SAI settings not displayed in the configuration tab of STM32H7Bxxx devices: After upgrading to STM32CubeMX 6.14.0, the SAI tab configuration ...

STM32CubeMX 6.14.0 released

We are pleased to announce that the release 6.14.0 of STM32CubeMX is available. What is new in 6.14.0: Added the support for the STM32WBA6xxx microcontrollers and:Added the support for USBX multi-instanceAdded the support for the memory management to...

_SDIO_GET_FLAG Error

So I'm using a SDIO connection to write some files to the SD card (MCU STM32F446Vet6).Using the PC8-PC12 lines. Using the FATFS and SDIO from CubeMX. In main.c file have this sniped of code /* USER CODE BEGIN 2 */ if(f_mount(&SDFatFS, (TCHAR const*...

MBolo.1 by Associate III
  • 820 Views
  • 1 replies
  • 1 kudos

Unable to compile FreeRTOS project

Hello,I am currently experiencing issues with compiling a Makefile project for the STM32F103C8T6, generated by STM32CubeMX. The project has the FreeRTOS middleware enabled, with CMSIS V2.Compilation of the generated code results in these errors:https...

j0of by Associate II
  • 2482 Views
  • 7 replies
  • 1 kudos

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
  • 1039 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
  • 536 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
  • 1294 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
  • 4283 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
  • 1889 Views
  • 11 replies
  • 0 kudos