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

Cant't send message with usart2.

Hi All,i'am beginner of using libary HAL, i use CubeMX to generate code. At first, I use usart1 to send message and i work, and then i try to use usart2 but i cant can't send any message.these two code is almost the same.

HQIN.1 by Associate
  • 1491 Views
  • 5 replies
  • 0 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
  • 3024 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
  • 1426 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
  • 2909 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