2015-03-16 12:12 AM
I use UART + DMA to receive unknown length packet, and use IDLE interrupt to monitor the end of the packet. It can recevie IDLE interrupt, but in HAL_UART_IRQHandler I read SR register and IDLE flag is 0. I never enable any other interrupt except IDLE.
If I use pure IT mode and not use DMA, I can see the IDLE=1. Is it a bug of UART hardware? Can anyone give a tips? Thanks in advance.