cancel
Showing results for 
Search instead for 
Did you mean: 

429 uart IDLE flag not available in DMA receive?

ray
Associate II
Posted on March 16, 2015 at 08:12

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.   
0 REPLIES 0