Closed adam-szabo-xtalin closed 1 year ago
Hi @adam-szabo-xtalin,
The issue you have reported has been already fixed in the previous version of CubeMX. Would you please try to use the latest version of the CubeMX tool v6.6.1.
Actually, we don't treat aspect related to CubeMX tool in our GitHub repositories. They are rather treated at the STM32CubeMX dedicated page of the ST Community . Now, as the issue is fixed and as it is not directly related to the software component published within this repository (CMSIS, HAL, BSP, etc.) but rather to our ecosystem (namely the Cube MX tool), please allow me to close it.
With regards,
Describe the set-up
Describe the bug MX_DMA_Init() is called after MX_USART2_UART_Init(), therefore initializing USART2 with DMA feature goes to fault state.
How To Reproduce
The generated code will be:
Transmission with DMA will not work, as during HAL_UART_MspInit() the hdma_usart2_tx cannot be initialized.
With the following order everything works fine: