I am trying to add clock monitor unit in s32k116 mcu to the software. I initialized clock as FIRC(48MHz). I added RCCR[REF_COUNT]=42, HTCR[LFREF]=36, HTCR[HFREF]=47, GCR[FCE]=1 and activated PCC_CMUX_CFG. But i dont understand how i can control cmu error and how can i set counter for cmu counts?
Thank you very much. I will examine the example.
We are working on Functional Safety Module for S32K116, Do you have any reference code for MCU test module.
Can you please help on this ...
Hi, thank you very much for your help. I added this functions and it is OK but do you know how i can test this functions correctly?
Generally, you can either re-configure measured clock to value outside of the thresholds or change the thresholds itself. I can't see other option.