AnsweredAssumed Answered

EPIT Interrupt number

Question asked by Matthias Albrecht on Jan 4, 2018
Latest reply on Jan 9, 2018 by Matthias Albrecht

I need a periodic timer interrupt on i.mx6. For that I developed a LKM: The EPIT Timer counts and every second the output compare interrupt flag is set. But its not possible to make Interrupts hapen because I don't know the Interrupt number:


 request_irq(88, &timer_interrupt, IRQF_TIMER| IRQF_IRQPOLL, "EPIT Interrupt", NULL);


doesn't work. the function "timer_interrupt" is called all the time, although I switch off the EPIT timer and clear the compare interrupt flag. It seems that 88 is just the hardware interrupt address and I have to type in something different instead. Where I can find the correct interrupt number for the irq?