Simulation of loss of lock

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Simulation of loss of lock

跳至解决方案
1,265 次查看
yixinwu
Contributor I

Hello community,

In MPC5744P there are FCCU faults (NCF[24] and NCF[25]) defined for detection of loss of lock. These 2 faults are not injectable. The LOLF bit of PLLDIG_PLL0SR register is w1c. Is there any possibility that the faults can be simulated? Thank you.

For configuration I have done this:

PLLDIG.PLL0CR.B.LOLIE = 1

PLLDIG.PLL1CR.B.LOLIE = 1

标记 (3)
0 项奖励
回复
1 解答
1,122 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Loss-of-lock condition can be generate the way that SW configures FMPLL with IRC as reference, waiting for lock and then it suddenly changes clock source from IRC to XOSC what should cause loss of lock and should not cause loss of clock as clock sources are untouched.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,123 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Loss-of-lock condition can be generate the way that SW configures FMPLL with IRC as reference, waiting for lock and then it suddenly changes clock source from IRC to XOSC what should cause loss of lock and should not cause loss of clock as clock sources are untouched.

0 项奖励
回复
1,122 次查看
yixinwu
Contributor I

Thank you for your reply.

I have tried re-configuration of MC_CGM.AC3_SC.B.SELCTL and MC_CGM.AC4_SC.B.SELCTL, but nothing happened. (no NCF[24] or NCF[25])

I have then tried to modify the FDEN bit of PLLDIG_PLL1FD, but nothing happened either.

0 项奖励
回复
1,122 次查看
yixinwu
Contributor I

I am sorry I have used a wrong version of my software. Now the problem is solved. The loss of lock can be monitored by FCCU. Thank you very much for your support.

0 项奖励
回复