Watchdog

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Watchdog

1,168件の閲覧回数
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,059件の閲覧回数
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 件の賞賛
返信