AnsweredAssumed Answered

GPIO Interrupt does not enter the Interrupt Serivce Routine (ISR)

Question asked by Abdelrahman Zayed on Sep 7, 2015

Hello everybody,

 

I was testing the GPIO Interrupt using the supported SDK for iMX6q and faced a problem that the GPIO Interrupt does not enter the Interrupt Serivce Routine (ISR).

I tried different GPIO banks and pins which made me trying different IRQs like IMX_INT_GPIO1_INT3 and IMX_INT_GPIO1_INT15_0 for GPIO1. I even tired Interrupts on the Low level and on the Negative edge.

 

What happens is that the interrupt status changes from 0 to 1 when the interrupt occurs but It never enters the ISR.

I removed the commands for registering the IRQ and enabling the Interrupt and the same thing happened.

 

I tested the interrupt in the PWM driver to see if there is a general problem in the interrupt but it worked well which I was sure by putting a printf in its ISR.

I attached the code If anyone can help to debug.

 

Thanks in advance.

Original Attachment has been moved to: gpio_int_test.c.zip

Outcomes