Neyolight
Full Member level 5
Hi
I have created another thread instead on the same topic as my question differs slightly. Im still confused on what frequency the PIC runs at with various modes.
Mode 1: External Oscillator connected to OSC1 and OSC2. A crystal of 16MHz is connected to OSC1 and OSC2 giving the frequency of oscillation (Fosc) of 16Mhz ( quite obviously). What confuses me is, in some diagrams ( PIC18F4620 Spec) you will see Fosc/4 coming out. Is Fosc/4 our frequency at which our code runs? I tried connected my PIC to 16Mhz crystal and see 16 Mhz at OSC1 and OSC2 ...Shouldnt OSC2 read Fosc/4 ( 4Mhz) ?
Mode 2: Selecting frequency via internal oscillator (OSC = INTIO67). Say I select 8Mhz....what is the frequency my code runs at? 8 or 8/4 Mhz?
Thanks
I have created another thread instead on the same topic as my question differs slightly. Im still confused on what frequency the PIC runs at with various modes.
Mode 1: External Oscillator connected to OSC1 and OSC2. A crystal of 16MHz is connected to OSC1 and OSC2 giving the frequency of oscillation (Fosc) of 16Mhz ( quite obviously). What confuses me is, in some diagrams ( PIC18F4620 Spec) you will see Fosc/4 coming out. Is Fosc/4 our frequency at which our code runs? I tried connected my PIC to 16Mhz crystal and see 16 Mhz at OSC1 and OSC2 ...Shouldnt OSC2 read Fosc/4 ( 4Mhz) ?
Mode 2: Selecting frequency via internal oscillator (OSC = INTIO67). Say I select 8Mhz....what is the frequency my code runs at? 8 or 8/4 Mhz?
Thanks