Lucian wrote: > Please give me a hint of what is wrong Hi Lucian, One problem I see: I do not see you clearing TXIF or RCIF -- if you do not clear TXIF or RCIF after you process the first interrupts they cause, you will get recursive interrupts. Regards, Ken Pergola -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads