s32k118 Watchdog configuration

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

s32k118 Watchdog configuration

1,377 次查看
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,361 次查看
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,346 次查看
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 项奖励
回复