Watchdog with S32K144

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

Watchdog with S32K144

1,952 次查看
hans-peterkalb
Contributor I

Hello,

i would like to use the watchdog of the S32K144 but it does not work, i. e. the watchdog does not perform a reset when an endless loop is entered. I don't change the watchdog registers WDOG->CS and WDOG->TOVAL so that the watchdog should be initially active. I have also checked that the predefined startup code does not change the WDOG registers. The reset value of register WDOG->CS is 10100110000000 which means that bit 7 (Enable bit) is 1 and bits 8 and 9 (Clock source) are 01. WDOG->TOVAL has the predefined value 1024. Are there any additional settings required to activate the watchdog?

0 项奖励
回复
1 回复

1,269 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
The watchdog is disabled in system_S32K144.c file if DISABLE_WDOG macro is defined in system_S32K144.h header file.

Regards,
Daniel

0 项奖励
回复