Hello Saikiran,
Since you are going to use serial communication, you can initialize UART-1 for communicating and then use the UART Status register to see if a byte is recieved and read the byte using Read function from uart.c
The initialization of the UART-1 would be similar to UART-0 except that you will have to pass the parameters for IO Configuration, UART-1 configuration.
I would suggest you start with a basic code and I can help build it for you.
Regards
Amit