S32K WATCHDOG INTERRUPT.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K WATCHDOG INTERRUPT.

3,256件の閲覧回数
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,683件の閲覧回数
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,683件の閲覧回数
hajianik
Senior Contributor I

Hi Daniel,

Thanks for clearing that up however the Question  still remains:

Why RESET before INTERRUPT?

0 件の賞賛
返信

2,683件の閲覧回数
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 件の賞賛
返信