This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PLL Configuration

Hi

We are using LPC2366 controller

When we configure the Internal RC oscillator(4 MHZ) for the PLL as shown below

Main OScillator = disabled
PLL source = Internal RC oscillator(4 MHZ )
M = 35
N = 1
so FCCO = 280MHZ

and Cpu clock frequency is 56MHZ
When we enter into the debug mode
the execution is not coming out of the PLL Lock sequence

; Wait until PLL Locked
PLL_Loop LDR R3, [R0, #PLLSTAT_OFS] ANDS R3, R3, #PLLSTAT_PLOCK BEQ PLL_Loop

Could you please guide us

Parents
  • OK. So you are using live hardware, and not the simulator.

    Are you using the Configuration Wizard to set up these parameters?

    Have you remembered to set a clock divider of 5? (280/5 = 56MHz)

    Have you double-checked that you have selected the internal oscillator, so there really is a 4MHz signal for the PLL to use?

Reply
  • OK. So you are using live hardware, and not the simulator.

    Are you using the Configuration Wizard to set up these parameters?

    Have you remembered to set a clock divider of 5? (280/5 = 56MHz)

    Have you double-checked that you have selected the internal oscillator, so there really is a 4MHz signal for the PLL to use?

Children