CMU S32k116

cancel
Showing results for 
Search instead for 
Did you mean: 

CMU S32k116

Jump to solution
486 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
456 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see please attached SW example.

Regards,

Lukas

View solution in original post

0 Kudos
4 Replies
453 Views
smt87
Contributor II

Thank you very much. I will examine the example.

0 Kudos
457 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

see please attached SW example.

Regards,

Lukas

0 Kudos
414 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
404 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