S32K146 watchdog timeout

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

S32K146 watchdog timeout

跳至解决方案
2,658 次查看
yqs77
Contributor II

Hi,

I want to enable a watchdog with 10 minutes timeout on S32K146, and I have noticed that when CS[PRES] is set, the clock source is prescaled by 256 before clocking the watchdog counter which allows for longer timeout periods. But I am still wondering whether the watchdog timeout can be set to 10 minutes. If cannot, what is the maximum timeout? Thanks a lot!

0 项奖励
回复
1 解答
2,655 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

WDOG has a programmable16-bit timeout counter. And the clock can be selected by WDOG_CS[CLK] and SIM_LPOCLKS[LPOCLKSEL]. If fixed 256 clock prescaler is enabled, then it's able to achieve 10 minutes timeout.

Table 27-9. Peripheral module clocking WDOG.pngTable 27-9. Peripheral module clocking WDOG.png

SIM_LPOCLKS[LPOCLKSEL].pngSIM_LPOCLKS[LPOCLKSEL].png

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 项奖励
回复
2 回复数
2,656 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

WDOG has a programmable16-bit timeout counter. And the clock can be selected by WDOG_CS[CLK] and SIM_LPOCLKS[LPOCLKSEL]. If fixed 256 clock prescaler is enabled, then it's able to achieve 10 minutes timeout.

Table 27-9. Peripheral module clocking WDOG.pngTable 27-9. Peripheral module clocking WDOG.png

SIM_LPOCLKS[LPOCLKSEL].pngSIM_LPOCLKS[LPOCLKSEL].png

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 项奖励
回复
2,650 次查看
yqs77
Contributor II

Thank you very much for the reply, that helps a lot!

0 项奖励
回复