Watchdog

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

Watchdog

1,157 次查看
akhilprasad
Contributor III

Am using MPC5604S controller. I connected an external oscillator of 4MHz. And the system clock i am using is 32 MHz. I want to enable the watchdog for a time period of 31.25ms. Please share a code for the same ASAP.

0 项奖励
回复
1 回复

1,048 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

the source clock is 128kHz osc:

pastedImage_1.png

To get 31.25ms:

31.25ms / (1/128kHz) = 4000

So, write SWT_TO = 4000;

Regards,

Lukas

0 项奖励
回复