oscillator setting

Thread Starter

dineshswami

Joined Dec 25, 2013
3
hi

i just want a configuration setting for oscillator.i am using internal oscillator without USB interfacing. I m using P18f4550 micro controller,MPLAB and c18 compiler.
 

MaxHeadRoom

Joined Jul 18, 2013
28,686
Look in your .Inc file for the Pic and you will see the different osc config.
For internal a sample would be:

; Oscillator Selection bits:
; FOSC = XT_XT XT oscillator (XT)
; FOSC = XTPLL_XT XT oscillator, PLL enabled (XTPLL)
; FOSC = ECIO_EC EC oscillator, port function on RA6 (ECIO)
; FOSC = EC_EC EC oscillator, CLKO function on RA6 (EC)
; FOSC = ECPLLIO_EC EC oscillator, PLL enabled, port function on RA6 (ECPIO)
; FOSC = ECPLL_EC EC oscillator, PLL enabled, CLKO function on RA6 (ECPLL)
; FOSC = INTOSCIO_EC Internal oscillator, port function on RA6, EC used by USB (INTIO)
; FOSC = INTOSC_EC Internal oscillator, CLKO function on RA6, EC used by USB (INTCKO)
; FOSC = INTOSC_XT Internal oscillator, XT used by USB (INTXT)
; FOSC = INTOSC_HS Internal oscillator, HS oscillator used by USB (INTHS)
; FOSC = HS HS oscillator (HS)
; FOSC = HSPLL_HS HS oscillator, PLL enabled (HSPLL)
;

Max.
 
Last edited:
Top