cancel
Showing results for 
Search instead for 
Did you mean: 

SWT interrupt

davedave95
Associate III
Posted on February 09, 2017 at 16:15

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,

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
3 REPLIES 3
Erwan YVIN
ST Employee
Posted on February 09, 2017 at 17:43

Hello Geirt ,

Did you set your corresponding PSR for SWT ?

INTC_PSR(28) = YOUR_PRIORITY;�?

Best regards

Erwan

davedave95
Associate III
Posted on February 09, 2017 at 17:49

Yes, I did. Sorry I forgot to mention this.

davedave95
Associate III
Posted on February 09, 2017 at 21:42

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.