I start working on the BF 512 DSP processor .
Im trying to change the PLL control register (PLL_CTL) value in order set new VCO frequency.
The processor doesn't wake up from idle state .
PLL Programming Sequence :
cli r2; // disable interrupts idle; // wait for Loop_count expired wake up sti r2; // enable interrupts
Thank in advance for any suggestions!!
We recommend that you use the bfrom_syscontrol ROM function to change the BF512 PLL . This is documented in the Dynamic Power Management chapter of the ADSP-BF51x Blackfin Processor Hardware Reference . The problem with your code may be that the PLL wakeup in the SIC_IWR0 register is not in enabled.