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

We are pleased to announce that version 6.17.0 of STM32CubeMX is available. What is new in 6.17.0: Added support for new microcontrollers across the STM32WBA, STM32H5, and STM32U3 seriesAdded support for new boards: NUCLEO-WBA25CE1, NUCLEO-H5E5ZJ, ST...

Aimen1 by ST Employee
  • 1565 Views
  • 0 replies
  • 2 kudos

CubeMX problem when generate codes.

Hi,DMA does not work, because the initialization order of the code generated by CubeMX is not correct.DMA setting is not valid, because DMA is initialized after the fuction that uses DMA.Please fix bugs.Best regards,incorrect order expample: MX_GPIO...

Resolved! CubeMX 5.4.0 Generates broken code for STM32H7 STM32H7432 SAI DMA

The latest version (5.4.0) of CubeMX (and who knows... maybe every version before) generates DMA initialization code out of order, and it's kind of hard to diagnose until you single step through all the HAL code.I am using an STM32H743 and setting up...

caleb by Associate III
  • 4592 Views
  • 6 replies
  • 1 kudos

How to get UART DMA interrupt to work?

I have implemented the following code based on some examples on internet. It is supposed to trigger the DMA transfer complete callback put it does not. 99% of the code is generated using CubeMX IDE.  The modified part of the code:void HAL_UART_RxCplt...

AGarp.1 by Associate II
  • 2704 Views
  • 3 replies
  • 0 kudos

FreeRTOS heap size adjustment in stm32CubeMX

I am using stm32cubeIDE for FreeRTOS on stm32f429. As cubemx has option to adjust heap and stack size on generating code in "Project Manager" project tab. While FreeRTOS has also column of heap adjustment in config parameter in cubeMX.Question: From...

Hobbyist by Associate II
  • 4483 Views
  • 2 replies
  • 0 kudos

Resolved! STM32H7 I2S DMA using HAL Firmware 1.5 Troubleshoot

I try to operate very basic I2S DMA function in STM32H750 chip. This is a very simple function which successfully works on STM32F4 and F7 chips.I have read the previous comments about I2S problems on H7 chip, and knowthere are some problems with I2S ...

0690X00000ButtRQAR.png 0690X00000ButtWQAR.png

Why elements in an array elements shift?

Hi, i am using stm32f4. in my project i have one transmitter and one receiver.i transmit an 2 byte integer value usingHAL_UART_Transmit(&huart1,&temp_byte1,sizeof(temp_byte1), 500); HAL_UART_Transmit(&huart1,&temp_byte2,sizeof(temp_byte2), 500);and o...