S32K WATCHDOG INTERRUPT.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K WATCHDOG INTERRUPT.

3,422 次查看
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

标记 (1)
0 项奖励
回复
3 回复数

2,849 次查看
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

2,849 次查看
hajianik
Senior Contributor I

Hi Daniel,

Thanks for clearing that up however the Question  still remains:

Why RESET before INTERRUPT?

0 项奖励
回复

2,849 次查看
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 项奖励
回复