CMU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
3,218 Views
Amr_Awny
Contributor II

CLKMN1 frequency less than low reference event status.
This bit is set by hardware when CLKMN1 frequency becomes lower than the low-frequency reference
value determined by CMU_LFREFR[LFREF], and CLKMN1 is 'ON' as signaled by the MC_ME. Software
clears this field by writing a '1'.
0 No FLL event
1 FLL event occurred


Oscillator frequency less than fCLKMT0_RMN ÷ 2CMU_CSR[RCDIV]event status.
This bit is set by hardware when the fCLKMN0_RMT is less than fCLKMT0_RMN ÷ 2CMU_CSR[RCDIV]frequency and
CLKMN0_RMT is 'ON' as signaled by the MC_ME. It can be cleared by software by writing '1'.

 

How shall I activate the CLKMN0_RMT is 'ON' as signaled by the MC_ME. and CLKMN1 is 'ON' as signaled by the MC_ME. ?

0 Kudos
Reply
1 Solution
3,205 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes, Otherwise you wont have CLKMN0 /1 clock active, so you wont be able to perform any measurement / monitoring.

Simply enable those clocks in your target mode in Mode Entry module, for more details see the mode entry module chapter of reference manual  for your device:

petervlna_1-1651061215081.png

 

petervlna_0-1651061152752.png

 

 

Best regards,

Peter

View solution in original post

0 Kudos
Reply
4 Replies
3,113 Views
Amr_Awny
Contributor II

I didn't try to disconnect the crystal on the board yet

0 Kudos
Reply
3,172 Views
Amr_Awny
Contributor II

Thanks for the reply, 

Shall I configure all the modes in or just the Drun mode, I have checked the registers mentioned and verified if they are enabled in

MC_ME_GS = 0x301300f2

MC_ME_DRUN = 0x1300f2

However, I could not verify any fault in CMU_ISR for all CMUs

If it is possible would you share a CMU example code ?

0 Kudos
Reply
3,135 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You can configure modes according to your needs. Simply configure only modes you are using. If you use only DRUN, I see no point of configuring RUNx modes.

I do not have example SW.

However, I could not verify any fault in CMU_ISR for all CMUs

And do you create clock violation? For example by disconnecting crystal from board?

Best regards,

Peter

0 Kudos
Reply
3,206 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes, Otherwise you wont have CLKMN0 /1 clock active, so you wont be able to perform any measurement / monitoring.

Simply enable those clocks in your target mode in Mode Entry module, for more details see the mode entry module chapter of reference manual  for your device:

petervlna_1-1651061215081.png

 

petervlna_0-1651061152752.png

 

 

Best regards,

Peter

0 Kudos
Reply