[Xenomai] Gpio: IRQ handler is called ~4ms after state change

Giulio Moro g.moro at qmul.ac.uk
Tue Jun 20 17:03:33 CEST 2017

Thanks Len,

> Turns out that in that case smartidle was enabled and the gpio bank
>  would go into sleep mode and it took 4ms to wake up before the irq would
> show up.  Turning off the smartidle on the gpio bank so that it never
> could go to sleep solved the problem.  Maybe this TI chip has a similar
> feature.

I do not think it is the case in my test: the GPIO banks are on (the pins get exported before the module is loaded), and I would not expect it to go to sleep in the few ms between interrupts in my test.


More information about the Xenomai mailing list