lpcware

Problem with UART1 waiting for receiving charactor

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by arunkollam on Mon Jul 15 06:38:43 MST 2013
Hi
       Iam working on a project based on uart communication on LPC 1227.The problem is that when ever i send a data through uart0 , my program is expected to receive a acknowledgement via uart1.so when ever the received data is missing or received in error, my program hangs and wait for the data which never come at UART1 again and it will not accept any data at UART0.So i need a routine to identify the absence of string and make it to send a fake data or restart the MCU to avoid this hanging.



Thanks
Arun

Outcomes