It sounds to me like the PIC is resetting but I could be wrong. Have you got a pull-up resistor on MCLR or disabled it in your code? Is the Watch Dog Timer set to ON?
I assume the 12Khz signal is from a very reliable source?
Please ignore me if I'm way off!
Cheers
Rob




Bookmarks