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 does turn on the ARM_USART_EVENT_RECEIVE_COMPLETE bit.
What exactly is it timing out for, is it waiting for at terminating character? Data looks fine on the scope.
using - stm32f205 vision v5.06 build750 CMSIS V1.02