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

help regarding initialization of pll of lpc2129

i want to know how to use logic analyser to check the pllclock also i want to initialize the non-blocking pll i.e. it should not wait for the lock state please help me through this i m new to the arm 7 family

Parents
  • It works as the manual says it does. You can perform the first part of PLL activation and have the processor generate an interrupt when the PLL has locked. When you get the interrupt, you can perform the second part.

    This allows you to insert own code to do a lot of other things instead of having a while loop busy-waiting for the PLL lock.

    The manual for the chip specifically mentions that the PLOCK bit of the PLLSTAT register is connected to the interrupt controller and says:
    "This allows for software to turn on the PLL and continue with other functions without having to wait for the PLL to achieve lock. When the interrupt occurs (PLOCK = 1), the PLL may be connected, and the interrupt disabled."

    Actual configuration/handling of interrupts is similar to other interrupt sources in the chip.

Reply
  • It works as the manual says it does. You can perform the first part of PLL activation and have the processor generate an interrupt when the PLL has locked. When you get the interrupt, you can perform the second part.

    This allows you to insert own code to do a lot of other things instead of having a while loop busy-waiting for the PLL lock.

    The manual for the chip specifically mentions that the PLOCK bit of the PLLSTAT register is connected to the interrupt controller and says:
    "This allows for software to turn on the PLL and continue with other functions without having to wait for the PLL to achieve lock. When the interrupt occurs (PLOCK = 1), the PLL may be connected, and the interrupt disabled."

    Actual configuration/handling of interrupts is similar to other interrupt sources in the chip.

Children