AnsweredAssumed Answered

BF548 module (GPIO)

Question asked by MarkBishop on Jul 26, 2013
Latest reply on Jul 29, 2013 by Aaronwu

I have four GPIO inputs that I need to monitor and I have tried all of the existing user space utilities but I was not able to satisfy my requirements using them, except if I directly polled them on some small (250ms) interval.  The major requirement that I wasn't able to achieve was that if all four inputs are triggered at almost the same time I need to detect that.


I believe I need to create a kernel module or interrupt handler that can monitor the ports that contain my 4 pins and then communicate this to user space. Where I could use some help is with the processor specific internals with regard to playing with the hardware interrupts and getting some code to fire off when the interrupts fire off.