{"id":1000,"date":"2019-07-04T09:26:23","date_gmt":"2019-07-04T09:26:23","guid":{"rendered":"https:\/\/ibex.tech\/embedded\/?p=1000"},"modified":"2022-02-18T15:37:48","modified_gmt":"2022-02-18T15:37:48","slug":"pic18-internal-oscillator","status":"publish","type":"post","link":"https:\/\/ibex.tech\/embedded\/microchip\/pic18\/xc8-compiler\/oscillator-xc8-compiler\/pic18-internal-oscillator","title":{"rendered":"PIC18 Internal Oscillator"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Using PLL with the Internal Oscillator<\/h4>\n\n\n\n<p>You have to set OSCCON bits SCS to &#8220;00&#8221; for the PLL to be able to be used on many PIC18 devices.  Do not set to &#8220;01&#8221;=internal oscillator, instead select the internal oscillator in the CONFIG bits and set it to &#8220;00&#8221;=primary clock.<\/p>\n\n\n\n<p>If you don&#8217;t you&#8217;ll never see the OSCCON2 bit PLLRDY get set to confirm the PLL is being used.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using PLL with the Internal Oscillator You have to set OSCCON bits SCS to &#8220;00&#8221; for the PLL to be able to be used on many PIC18 devices. Do not set to &#8220;01&#8221;=internal oscillator, instead select the internal oscillator in the CONFIG bits and set it to &#8220;00&#8221;=primary clock. If you don&#8217;t you&#8217;ll never see [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82],"tags":[],"class_list":["post-1000","post","type-post","status-publish","format-standard","hentry","category-oscillator-xc8-compiler"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/comments?post=1000"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1000\/revisions"}],"predecessor-version":[{"id":1002,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1000\/revisions\/1002"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/media?parent=1000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/categories?post=1000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/tags?post=1000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}