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.

系统时钟初始化中while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1)死循环

Other Parts Discussed in Thread: TMS320F28379D

使用TMS320F28379D开发板,初始化时,在  InitSysPll(Uint16 clock_source, Uint16 imult, Uint16 fmult, Uint16 divsel)函数中的while(ClkCfgRegs.SYSPLLSTS.bit.LOCKS != 1)一直循环等待锁相信号,不能退出。这种情况有时重启电脑可以解决,有时在新的workspace里重建工程可以解决,更多时候没办法消除这个问题。如果把这段while程序注释掉,全速运行,需要等待一段时间自己的程序才能跑起来。

请各位专家帮我分析分析这个问题是什么原因造成的,怎么解决?谢谢了