s32k118 Watchdog configuration

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

s32k118 Watchdog configuration

1,421 Views
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.

Tags (1)
0 Kudos
Reply
2 Replies

1,405 Views
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 Kudos
Reply

1,390 Views
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 Kudos
Reply