I have been tring to use an external oscillator for PIC16F690 for 6 hours and have not had much luck.
I connected a 20mhz cystal to OSCL1 and OSCL2 with 22uF ceramic caps but that did not drop the frequency of a HPWM signal.
I know that I have to use the OSCCON = %01100000. But I'm not sure of the values, and I think I have to write to the CONFIG reg which is 16bits. i don't know how to write to that. could someone give instructions for a person new to PBP and microcontrollers?
-thanks
Datasheet: http://ww1.microchip.com/downloads/e...Doc/41262E.pdf PG(50 & 197)
Bookmarks