3

From what I've found on the internet, CPU clocks work with piezoelectric material to produce a very stable oscillating signal but those materials must change in shape or size to get a different frequency. So how does a CPU change frequency?
Do CPUs use some other kind of less stable clocks then fix them with a crystal oscillator or ...?

(I know very little about electronics, please stay simple, thanks)

Please note that I'm not asking how it is decided to change the frequency (like this question), I'm asking how the frequency change actually happens in the circuit.

1 Answers1

2

The clock that the CPU uses does not come directly from the crystal oscillator in the motherboard ! The (fixed frequency) clock from the crystal oscillator is first fed to a system called a Phase Locked Loop or PLL. This PLL can be a separate chip on the motherboard but also inside any of the other chips or both.

The simplest PLLs can only multiply the fixed frequency clock from the crystal oscillator so if the crystal oscillator runs at 40 MHz then such a PLL can generate 80 MHz, 120 MHz, 160 Mhz, etc. Basically n times the crystal clock frequency.

More advanced PLLs can also make almost any frequency in between by using a fracional divider and sigma-delta modulation techniques.

Bimpelrekkie
  • 80,139
  • 2
  • 93
  • 183