Hi,
according to the datasheet the MPC5644A provides a SWT (Software Watchdog Timer) interrupt. However, the datasheet also states in chapter 15.2.2 that there a 0 watchdog interrupts available to the interrupt controller. How can I make use of the SWT interrupt?
Best regards
已解决! 转到解答。
It is needed to follow sequence I have shown in the attached example (main routine).
Enable IVOR0 by MSR[CE], set timeout, in ESR service watchdog, otherwise in second timeout SWT resets the device.
Hi David,
thank you for your quick reply! Following the powerpoint and the RM I have done the following:
The behaviour is now the same as before: The watchdog triggers a reset, but the ISR is never reached. Any ideas on what I might be missing?
It is needed to follow sequence I have shown in the attached example (main routine).
Enable IVOR0 by MSR[CE], set timeout, in ESR service watchdog, otherwise in second timeout SWT resets the device.