SWT interrupt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 7: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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 8:43 AM
Hello Geirt ,
Did you set your corresponding PSR for SWT ?
INTC_PSR(28) = YOUR_PRIORITY;�?
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-02-09 8:49 AM
Yes, I did. Sorry I forgot to mention this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
