cancel
Showing results for 
Search instead for 
Did you mean: 

How can we contact ST Cubemx fw engineers?

sde c.1
Senior II

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 */

1 ACCEPTED SOLUTION
3 REPLIES 3
TDK
Guru

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

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 ?