I am trying to communicate my PC(master) with microcontroller PIC18f45k22(slave) using uart protocol(rs232). Slsve accepts query from PC and also response correctly the first time, but when PC sends query the second time a framing error occurs. i am really stuck up here. somebody please help me out?