How to use UART DMA RX?
Hello.
I developed UART by DMA method and it works normally, but I am posting because I have one question.
In the case of the sites I found, most of the main function or initial HAL_UART_Receive_DMA function was called, and the HAL_UART_RxCpltCallback function also called HAL_UART_Receive_DMA. So I also wrote the same.
I thought the reason for doing so was to make the DMA controller listen again. So I thought that the HAL_UART_RxCpltCallback function also calls the HAL_UART_Receive_DMA function.
However, UART works normally without calling HAL_UART_Receive_DMA in HAL_UART_RxCpltCallback. Can you tell me why?
The environment is:
- STM32F407VE MCU
- FreeRTOS
The referenced implementation is:
Thank you
