Handle your serial communication with interrupt.

Are you building the PC application? If so that make things lot easier then.

Knowing a little much about your hardware will help.