Quantcast
Channel: Setting internal oscillator frequency in XC8 C for PIC18F65K22?
Browsing latest articles
Browse All 12 View Live

Setting internal oscillator frequency in XC8 C for PIC18F65K22? (onload)

Hello, I am using microchip's free XC8 compiler in MPLAB.X to program in C for the PIC18F65K22. We wish to use the internal oscillator, set to 1MHz, but cannot do this...."OSCCON = 0x36" does not work....

View Article



Re: Setting internal oscillator frequency in XC8 C for PIC18F65K22? (cobusve)

Page 330 of the XC8 Compiler Users Guide has an extensive desscription of how to use __delay_ms.Which manual do you look at ?You can find the manual under the documentation link on this page...

View Article

Re: Setting internal oscillator frequency in XC8 C for PIC18F65K22? (cobusve)

You say "We wish to use the internal oscillator, set to 1MHz, but cannot do this...."OSCCON = 0x36" does not work."What does "does not work" mean ? Does the processor not run at all or is it running at...

View Article

Re: Setting internal oscillator frequency in XC8 C for PIC18F65K22? (kevcon)

I would start with a very simple program that toggles an IO pin to workout how to get the INTOSC set right. You can set this setting to OFF since the XC8 compiler won't make use of extended...

View Article

Re: Setting internal oscillator frequency in XC8 C for PIC18F65K22? (onload)

If you can include all the code you use to set OSCCON1, OSCCON2, OSCTUNE and all of the the configuration bits we would be able to check it for you.Thanks, seriously do we have to set allthose...

View Article


Re: Setting internal oscillator frequency in XC8 C for PIC18F65K22? (ric)

onloadI don't understand the concept of "oscillator tuning"...I mean, surely it goes without saying that if we set it up for 1mhz, then we want it to run at 1mhz, as close as possible?Yes, and this...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images