Page 1 of 1

interrupt from GPIO

Posted: Sun Nov 05, 2017 1:50 pm
by haimlu
hi all

i have a fitlet rm xa10 and i am trying to work with the GPIO connector under c++
i can load the GPIO and read the value but i want to use select in order to see when the value changes. the problem is the configuring the GPIO i do not get the "edge" file, according to the kernel documentation this means that the GPIO cannot be configured for an interrupt so i cant use select or poll on the value
try inotify too but it does not recognized that the file was modified.
any idea what else i can do?

Re: interrupt from GPIO

Posted: Sun Nov 12, 2017 12:33 pm
by irads

Re: interrupt from GPIO

Posted: Tue Nov 14, 2017 12:26 pm
by haimlu
hello Irad

i did consulted with that page, but i didn't found the answer i was looking for.

as i said i can work with the GPIO just fain, the problem is that it seems that the GPIO ports couldn't be configured for interrupts.
at the moment i have a solution that works with pulling the value file but i don't like it.

Re: interrupt from GPIO

Posted: Sun Nov 19, 2017 1:30 pm
by irads
Which OS are you using (Windows / Linux).
I will forward to the corresponding SW engineer.

Re: interrupt from GPIO

Posted: Tue Nov 21, 2017 2:20 pm
by haimlu
linux ubuntu 16.4 with the kernel from fitlet