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