Simulation of loss of lock

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simulation of loss of lock

Jump to solution
850 Views
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

Tags (3)
0 Kudos
1 Solution
707 Views
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.

View solution in original post

0 Kudos
3 Replies
708 Views
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 Kudos
707 Views
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 Kudos
707 Views
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 Kudos