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.
Hi,
the source clock is 128kHz osc:
To get 31.25ms:
31.25ms / (1/128kHz) = 4000
So, write SWT_TO = 4000;
Regards,
Lukas