EEVblog Electronics Community Forum

Electronics => Microcontrollers => Topic started by: bernroth on December 04, 2017, 06:14:27 am

Title: Atmel XMega CPU @ 32MHz -> PLL or RC oscillator?
Post by: bernroth on December 04, 2017, 06:14:27 am
Hello folks!

Atmel XMega controllers have internally a 32MHz RC oscillator and a PLL.

If the CPU shall only run @ 32MHz, would you choose RC or PLL?
PLL clock source is internal (RC) as well.

Is there a good reason to actually use the PLL?

From my point of view there is none.
I can switch it off and save some power.

Is there maybe something I have overseen?

Is the PLL more stable when it comes to external noise?
Temperature stability should make no difference at all as it would affect the 32 MHz RC as well as the RC ocsillator for PLL.

Background: I am doing some firmware for a finished product which does (unfortunately) not have an external crystal for the PLL. This would be my preferred choice.

The firmware works well with 32MHz RC as well as with 32MHz PLL.

Any feedback welcome, thanks!
Best regards,

Bernhard





Title: Re: Atmel XMega CPU @ 32MHz -> PLL or RC oscillator?
Post by: krho on December 05, 2017, 05:58:40 am
afair when you run it with pll you can synchronize everything against internal 32kHz RC and have very precise clock