Quote Originally Posted by Ioannis View Post
Also your clock is internal or external?

Ioannis
I'm using an external clock configuration (hence FOSC_ECH) - the CLCKOUT/OSC2 pin from a PIC16F690 (which has a 20Mhz crystal connected to OSC1 & OSC2) connects to the PIC12F1840's CLCKIN/OSC1 pin.