AnsweredAssumed Answered

How to trigger the interrupt for SPI in MK60FN1M0VLQ12 controller ?

Question asked by Gangadhar rao on Jan 4, 2019
Latest reply on Jan 10, 2019 by Gangadhar rao

We have made PTE2 (Pin3 of Controller MK60FN1M0VLQ12) as interrupt pin for ADXL peripheral connected via SPI. We had configured it to detect interrupt on rising edge. We are seeing Pin 3 going High. In Vector.c we had configured the interrupt function.

We are not getting the interrupt even though Pin 3 is high (checked via oscilloscope). We checked ISR function is not hitting by putting a breakpoint in the function.


What could be the issue? Why ISR is not hitting even though in oscilloscope we see pin going HIGH?


For your information, i have attached the screeshots of Vector table, ISR for interrupt and the Interrupt signal captured from the Oscilloscope.


Note: we have checked PTE2 pin by polling method, so it is not continuously high.