How to monitor loss of External clock(CMU)

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

How to monitor loss of External clock(CMU)

847 次查看
venkateswarabal
Contributor II

Hello,

I wold like to monitor external clock using S32K116 CMU. for which clock comes from external crystal with 16 MHz frequency.

Is it possible to monitor loss of External clocks also by CMU..?

If monitoring clock (external clock) lost can i able to switch to internal clocks..?

please provide any threads or sample source codes of CMU for S32K1XX  MCU.

0 项奖励
1 回复

696 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello,
The CMUs do not monitor SOSC but FIRC.
There is, however, SCG SOSC clock monitor configurable in SCG_SOSCCSR[SOSCCM, SOSCCMRE].
The monitor can trigger either SCG interrupt (SCG_SOSCCSR_SOSCERR flag) or reset depending on SOSCCMRE configuration.

Regards,
Daniel

0 项奖励