Can't get watchdog to refresh

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

Can't get watchdog to refresh

Jump to solution
768 Views
Farnam
Contributor II

Using the S32K146 MCU with DS for ARM v2.2.

After I initialize my WDOG, I can confirm that it is working to reset the system... but I cannot seem to successfully kick the WDOG.

Screenshots attached of my wdog config and wdog init + refresh functions.

My application is FreeRTOS based. I inserted the wdog init call in main along with my other initializations.
I have a UART print in main that shows me when the system is reset.

The issue is that regardless of where I call `refresh_watchdog`, I cannot get the WDOG to reset.
Currently, I enabled `#define configUSE_IDLE_HOOK 1` in FreeRTOS config so I can use the idle task with `void vApplicationIdleHook(void)` to call the wdog kick. Still no luck.

Wdog is working, I just need to know how I can successfully kick the thing.

Please help.

Tags (2)
0 Kudos
Reply
1 Solution
728 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I’m sorry to say that we currently do not have resources to support FreeRTOS issues. FreeRTOS is open source and the user is expected to use rather generic FreeRTOS support if needed:
https://www.freertos.org/RTOS-contact-and-support.html
We apologize for any inconvenience.

Please refer to https://github.com/GreyZhang/g_s32k144/tree/master/S32K144_024_WatchDog

Hope it helps.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
2 Replies
729 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I’m sorry to say that we currently do not have resources to support FreeRTOS issues. FreeRTOS is open source and the user is expected to use rather generic FreeRTOS support if needed:
https://www.freertos.org/RTOS-contact-and-support.html
We apologize for any inconvenience.

Please refer to https://github.com/GreyZhang/g_s32k144/tree/master/S32K144_024_WatchDog

Hope it helps.

Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
655 Views
Farnam
Contributor II
Hi @Robin_Shen,
Ok, thank you. This issue has since been resolved.
0 Kudos
Reply