This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PLL时钟锁相环 锁不住的问题,求指教



为什么我的程序老是停留在系统控制文件内部的  


void InitPll(Uint16 val, Uint16 divsel){

..........

   while(SysCtrlRegs.PLLSTS.bit.PLLLOCKS != 1)

.............

}

while语句  ;我查了资料说是锁相环锁不住,这是什么原因造成的呢?