CMU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,238件の閲覧回数
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 件の賞賛
返信
1 解決策
3,225件の閲覧回数
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 件の賞賛
返信
4 返答(返信)
3,133件の閲覧回数
Amr_Awny
Contributor II

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

0 件の賞賛
返信
3,192件の閲覧回数
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 件の賞賛
返信
3,155件の閲覧回数
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 件の賞賛
返信
3,226件の閲覧回数
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 件の賞賛
返信