You just don't want to use a Software bit banged solution with interrupt. Move on a PIC with Real Hardware USART and use USART inetrrupt.
It might be doable with your PIC, but on slower baudrate, using ASM interrupt (maybe instant interrupt), and an home made serial routine. No way this might work 100% properly with ON INTERRUPT even more with internal OSC.
You could still try something and reduce your delay, using short PAUSEUS loop might work better.
Using DEBUGIN would also help.
If you build yourself the Master you could send few garbarge data, then a Synch character, then your data. Says
SEROUT2 ....[REP 0\32, "~", YourData]
on the receiver side you just use WAIT("~") ... might work.....
Last edited by mister_e; - 4th February 2009 at 22:19.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks