Hi,
I have a microcontroller project that I am currently working on. I was currently looking at the oscillator and cpu frequency of the microcontroller and trying to figure out how it works. The microcontroller has an on-chip oscillator, and is connected to an external crystal as the following image:
Apparently, in the source code I received from someone else, it seems that the on-chip oscillator's frequency is 16Mhz. However, the crystal in the image above has a frequence of 8Mhz.
My guess is that the capicatance of C108 & C109 is the reason why the on-chip oscillator's frequency is doubled, is this correct???? Also, is there a formula that I can use to calculate the output frequency of the on-chip oscillator based on these capacitances and the crystal frequency????
Would appreciate any help!!!!
Thanks much!!!!
I have a microcontroller project that I am currently working on. I was currently looking at the oscillator and cpu frequency of the microcontroller and trying to figure out how it works. The microcontroller has an on-chip oscillator, and is connected to an external crystal as the following image:
Apparently, in the source code I received from someone else, it seems that the on-chip oscillator's frequency is 16Mhz. However, the crystal in the image above has a frequence of 8Mhz.
My guess is that the capicatance of C108 & C109 is the reason why the on-chip oscillator's frequency is doubled, is this correct???? Also, is there a formula that I can use to calculate the output frequency of the on-chip oscillator based on these capacitances and the crystal frequency????
Would appreciate any help!!!!
Thanks much!!!!