i am using VB to send data such as $#23#89#89 to PIC through rs232. unfortunately sometime my signal is corrupted.... is there any solution to solve this problem?
If your receiver stops receiving data, you should check bit OERR in the RSR register if the receiver has been overrun and clear the error by resetting the CREN bit and re-enabling it after purging the FIFO.