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.
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