Question
How to Create a UART Driver Using Idle Line Detection
I need to create a UART driver that works reliably in all conditions.
The driver must use DMA, and since the incoming messages are NOT fixed-length, I need to use idle line detection.
My question is:
-
how can I use a callback to store the received message when an idle line is detected and then restart the reception using the STM32 HAL idle-line API?
