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!
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?