I have an application that needs to switch from the internal to external clock (ECIO).
I have to start out on the internal clock (since my fuses are set to ECIO I imagine this is in clock fail mode) and program some external hardware. Once the external hardware is programmed, a 13.56 MHz clock appears (which is attached to my OSC1 pin).
I'm using a PIC16F767 and CCS Compiler 3.200.
Problem is, when I call setup_oscillator with OSC_NORMAL it then switches over to the 32 KHz internal clock - even though the 13.56 MHz clock is correctly on the OSC1 pin.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum