SvOlli
Certified Guru
Hi there,
for a music player I'm hacking on right now I want to set the CPU speed to something between 100 and 133 MHz. Since it's a music player I want to get the real sample rate as close to 44100Hz as possible. For that I want to experiment with the CPU speed settings.
Two of them are really easy to catch on. One is the CPU frequency (MCLK) itself, the other sets the other sets the dividers for HCLK and PCLK. But the third one is a mystery to me. It seems to be the one that's called PLLCON in the CPU docs. But how and what does it affect? I assume that this register is the one that I need to finetune to get as close to 44100Hz audio as possible.
Could anyone point me out to the docs / formulas needed to understand what this register affects and how?
Greetings,
SvOlli
for a music player I'm hacking on right now I want to set the CPU speed to something between 100 and 133 MHz. Since it's a music player I want to get the real sample rate as close to 44100Hz as possible. For that I want to experiment with the CPU speed settings.
Two of them are really easy to catch on. One is the CPU frequency (MCLK) itself, the other sets the other sets the dividers for HCLK and PCLK. But the third one is a mystery to me. It seems to be the one that's called PLLCON in the CPU docs. But how and what does it affect? I assume that this register is the one that I need to finetune to get as close to 44100Hz audio as possible.
Could anyone point me out to the docs / formulas needed to understand what this register affects and how?
Greetings,
SvOlli