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

USART in synchronous mode

So I have a busy board, and SPI MISO is occupied.I would like to communicate in synchronous fashion with an FPGA.Can I Make this USART peripheral work in a SPI Master full dulex, synchronous mode?The baud rate seems to be limited in CubeMx, is this b...

_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
  • 985 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
  • 3475 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
  • 1343 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
  • 707 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
  • 1597 Views
  • 6 replies
  • 3 kudos