Thank you very much Tony.

That helped alot, now SERIN and SEROUT are working.

Now i trying to figure out how to make RA5 to digital input/output.