void PLL_Init(void)
{
PLL0CON = 0x01;
PLL0CFG = -----; //Calculate the multiplier and divide value from thye formulas==>
/*The PLL output frequency (when the PLL is both active and connected) is given by: CCLK = M x FOSC or CCLK = FCCO / (2 x P)
The CCO frequency can be computed as:FCCO = CCLK x 2 x P or FCCO = FOSC x M x 2 x P*/
PLL0FEED = 0xAA;
PLL0FEED = 0x55;
}
This might be the proper configuration setup for PLL...
why do we need to give these values by consecutive clock cycles? If you say it's just to toggle the bits, you can also give the sequence in the reverse order too? Why it doesn't work when you change the sequence?
why do we need to give these values by consecutive clock cycles? If you say it's just to toggle the bits, you can also give the sequence in the reverse order too? Why it doesn't work when you change the sequence?
means by givving sequence of 0x55 and 0xaa it toggles bit so in 1 instruction cycle it toggles 8-times. and which is given to our system clock source. Is it right?
I's just a security check to enable system clock of ARM controller...
The unique security sequence is 0xAA and 0x55... These values are just consider as a magic words...
there is nothing meaning behind this feed sequence...
To make the changes in your system clock you just ned this sequence to feed...