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
↧