CMU S32k116

cancel
Showing results for 
Search instead for 
Did you mean: 

CMU S32k116

Jump to solution
642 Views
smt87
Contributor II

Hi,

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?

0 Kudos
1 Solution
612 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see please attached SW example.

Regards,

Lukas

View solution in original post

0 Kudos
5 Replies
609 Views
smt87
Contributor II

Thank you very much. I will examine the example.

0 Kudos
613 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see please attached SW example.

Regards,

Lukas

0 Kudos
36 Views
Srinivas99
Contributor I

Hello sir..

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

 

Thanks!!

Srinivas 

0 Kudos
570 Views
smt87
Contributor II

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?

0 Kudos
560 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

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.

Regards,

Lukas

0 Kudos