Hi All, I normally use an external oscillator on almost everything I make. I know it's probably overkill, but they run well and have never let me down. For what I'm doing, the slight extra cost isn't a problem. However I'd like to try using the internal oscillator on a project, and I'm surprised at how much configurability there is. So much so that I don't know if I'm doing it correctly, and I'd love a double check. The chip is the 18f25k22 and I'd like the internal oscillator to run at 16MHz and use the 4x PLL to get a 64MHz clock. I am working in MPLAB X with XC8 free. I believe that I need to set the config bits to INTIO67 to give me the internal oscillator with pins 6 and 7 as I/O. Then in OSCCON I need to set bits 4:6 to high to select the HFINTOSC at 16M= Hz. Finally in the OSCTUNE register I'd need to set bit 6 (PLLEN) high to enable the PLL. Does this all make sense? Thanks! Josh --=20 A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .