We're just talking RECEIVE here...
Avoid SERIN, SERIN2, HSERIN, DEBUGIN etc
all these end up catching Data out of your control...
Refer to the PICs Datasheet as to which flags within which registers pop-up anouncing that goodies have arrived.
The nice thing is that there's a small buffer in the PICs USART... if your program is a bit lazy picking up data, then no worries, it just holds it for you and stacks another byte behind...
Bookmarks