2017-02-09 07:15 AM
Hi,
I'm having problems with the SWT generating an interrupt before going through reset on the SPC560P44L3
ITR bit is enabled, and when I trigger the watchdog I see the TIF bit switch on after the first timeout, and after the second timeout the CPU is reset, as expected.
Vector28 is not called when TIF goes active, however. Do I need to configure anything else in addition to the ITR bit to get this to work?
Thanks,
2017-02-09 08:43 AM
Hello Geirt ,
Did you set your corresponding PSR for SWT ?
INTC_PSR(28) = YOUR_PRIORITY;�?
Best regards
Erwan
2017-02-09 08:49 AM
Yes, I did. Sorry I forgot to mention this.
2017-02-09 12:42 PM
This problem has been solved. I was mixed up in another completely unrelated issue which caused wrong symptoms affecting the interrupt handling. Sorry for the noise.