s32k118 Watchdog configuration

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

s32k118 Watchdog configuration

1,404件の閲覧回数
AdityaB
Contributor II

Hello,

I am trying to use MCAL from files and configure my WDT but it seems like its not triggering.

I have configured the WDG in MCAL and added the cfg files to my project. I am using IAR compiler.

Please help me determining why is watchdog is not working.

タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,388件の閲覧回数
AdityaB
Contributor II

I am able to config the WDG and Initialize it.

But the WDG is resetting within 1sec. I have configured the timeout as 10s in Autosar Cfg file.

also im not able to kick the timer.

 

AdityaB_0-1653041049426.png

attaching picture of my WDG Init and Kick. Please let me know if i am missing anything.

0 件の賞賛
返信

1,373件の閲覧回数
cuongnguyenphu
NXP Employee
NXP Employee

I think you're missing to configure Gpt module. 
Wdg module is using timer from Gpt, so you should config and call Gpt_Init() before using Wdg

0 件の賞賛
返信