Solved
How can we contact ST Cubemx fw engineers?
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 */