Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Why doi I get ARM_USART_EVENT_RX_TIMEOUT on incomming data?

$
0
0
I set up a usart link and can send data fine. I can also send data with an expected reply just fine. However, if I sit idle and wait for data, I get a time out flag when it comes in? for example while(1)//wait ford command { if (_listen && _IN_FLAG) {//do stuff } } and if (event & ARM_USART_EVENT_RECEIVE_COMPLETE) _IN_FLAG=1; I never see my _IN_FLAG because the call back issues a ARM_USART_EVENT_RECEIVE_COMPLETE. On some occasions it

Viewing all articles
Browse latest Browse all 3049

Trending Articles