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!

Parents
  • 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!

Reply
  • 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!

Children
More questions in this forum