I have been trying to use the USART idle line detection flag to detect when an incoming transmission stream has ended.
I used this code to set a flag, can_read which is checked in the main loop. If the flag is true, then I parse the data.
The problem is that the IDLE flag is being set after each character received, not after the end of the string.
Please can I have some clarification on when the IDLE interrupt is triggered.