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

PLL1 does not lock!

Hi,

I am using an LPC4357 and trying to simulate my code.
However, the program gets stuck in system_init since the PLL1 never locks. Any idea as to what may be causing this? The system_init function I am using is from the system_LPC43xx.c file provided by Keil.

Thank you!

  • I went over the User Manual and configured the PLL1 as stated there. I found some previous posts regarding this issue but I still wasn't able to see the problem here. I stepped through the code up to the lock part and confirmed that all registers are being set correctly, the sequence of steps followed to configure the PLL were right. All values are within their ranges too. Not sure how I can debug this issue. Any suggestions are welcome!

  • You'll need to do it on actual hardware, the simulation is clearly specified as being generic in nature, ie lacking support for features/functions of your device.

    The page Per cited explicitly indicates the simulation is of no use, did you catch that part?

    If a PLL doesn't lock what does that tell you? Perhaps that internal/external clock sources aren't present/functioning, or filter caps or component networks external to the part aren't correct? The internal VCO isn't working/powered?