How to monitor loss of External clock(CMU)

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

How to monitor loss of External clock(CMU)

846 Views
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 Kudos
1 Reply

695 Views
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 Kudos