Skip to main content
Senior II
January 16, 2022
Solved

How can we contact ST Cubemx fw engineers?

  • January 16, 2022
  • 3 replies
  • 825 views

Today i lost 4 hours to get UART DMA working, to find out CubeMx put some initialisation code in the wrong order.

I would like to tell ST employees about this.

This was generated by CubeMx, UART DMA did not work at all

 MX_GPIO_Init();
 MX_SPI2_Init();
 MX_USART1_UART_Init();
 MX_CRC_Init();
 MX_DMA_Init();
 MX_TIM16_Init();

After moving the DMA init before UART init, everything worked well.

/* Initialize all configured peripherals */
 MX_GPIO_Init();
 MX_SPI2_Init();
 MX_DMA_Init();
 MX_USART1_UART_Init();
 MX_CRC_Init();
 MX_TIM16_Init();
 /* USER CODE BEGIN 2 */

This topic has been closed for replies.

3 replies

TDK
January 16, 2022

This is an issue with the previous CubeMX version that has been reported many times and fixed in the most recent version. Old projects must be fixed by editing IOC file directly.

"If you feel a post has answered your question, please click ""Accept as Solution""."
sde c.1Author
Senior II
January 17, 2022

I have the latest CubeIDE 1.8 . Sorry to not mention before my IDE version ...

My MX version is Version: 6.4.0-RC4 which is the latest one as far as i can see ?