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

Booting issue in keil 5 with lpc4357?

Hi, 

I am using lpc4357 custom board and taking LPC4357 driver file provided by keil. In which system_lpc43xx.c file has one code section is to setup PLL1(line no. 25 to 73) with external clock, here I also attached that section. In that section if your clock frequency is more than 110 MHz (let's say 192MHz) then first PLL1 will operate at an intermediate frequency then it shifted to high frequency. but in some board for 192 MHz frequency if I use set clock function once then code is not running. I am thinking code is not able to set PLL1 frequency and it is stuck there, since controller is able to give input to external clock and I checked clock output also reaches to controller. If I set the PLL1 first to 112MHz using "Setclock()" function and again I am setting 192MHz using the same function, then the code is running properly. So, is there any issue in this Setclock function so it is not setting intermediate clock as mentioned in code comment (line no. 44)? And if I go to debug mode every time it is working.

 

0