CLKOUT is not working in s32k144

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

CLKOUT is not working in s32k144

265 Views
KKumar
Contributor II

Hi NXP,

I trying to use CLKOUT in s32k144. I wrote following code

KKumar_0-1684744447039.png

 

After running for some time(3s)..execution is going to Default ISR.

Plz Support 

Tags (1)
0 Kudos
1 Reply

250 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @KKumar,

This code can overwrite other bits in the CHIPCTL register, use this instead to clear just the CLKOUTSEL bits:

SIM->CHIPCTL &= ~SIM_CHIPCTL_CLKOUTSEL_MASK;

The Default_ISR() is probably a fault exception.

Can you debug it as explained here:

https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447

 

Regards,

Daniel

0 Kudos