AnsweredAssumed Answered

GPIO INTERRUPT

Question asked by Christopher Telemann on Dec 17, 2015
Latest reply on Jan 5, 2016 by Christopher Telemann

Hy,

 

i´m working with an iMX6Q. I want to use a interrupt on a GPIO

I used gpio_to_irg() and request_irq() to set up my interrupt. it worked pretty well but its not that fast. Or not as fast as i want it to be.

 

     Q1: Is there a way to use the GIC for GPIO interrupt?

 

i tried to configure the necessary GPIO registers(Direction, ICR , IMR).

i used the irq number listed in the processor manual to request the irq but that dosnt work so far.

 

     Q2: what is the propper usage of request_irq() with the parameter IRQF_TRIGGER_???

          (If i use NONE i will get an irq all the time)

Outcomes