S32K WATCHDOG INTERRUPT.

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

S32K WATCHDOG INTERRUPT.

1,573 Views
hajianik
Senior Contributor I

Hi,

my target is S32k and I'm using design studio for debugging.

I seem not to be able to trigger a watchdog interrupt before the reset.

I tried windowed/non_windowed  watchdog, and it does not work in either configuration.

I place a breakpoint it never hits , I try to print/toggle something when running without the debugger it does not work.

and what is 8'D128 clock cycles mentioned in the ref-manual? does that mean 8 cycles of the low power oscillator which is the default clock for this target?

but more importantly why does it resets before the WD interrupt is triggered?

I tried this in my own code and also the example project for the watch dog, both with no success.

Thanks,

Koorosh Hajiani

0 Kudos
3 Replies

1,000 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Which version of S32K144 and SDK do you use?

Apparently, you use an old RM, in the new one the 8'D128 is replaced with “128 bus clock cycles”.

 

Regards,

Daniel

1,000 Views
hajianik
Senior Contributor I

Hi Daniel,

Thanks for clearing that up however the Question  still remains:

Why RESET before INTERRUPT?

0 Kudos

1,000 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You mentioned you tried an example project.

But the SDK examples should work correctly unless you have the old MCU version.

 

Regards,

Daniel

0 Kudos