View unanswered posts | View active topics It is currently Fri Dec 15, 2017 12:30 am



Reply to topic  [ 5 posts ] 
 interrupt from GPIO 
Author Message

Joined: Wed Oct 25, 2017 6:23 am
Posts: 3
Post interrupt from GPIO
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?


Sun Nov 05, 2017 1:50 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 2:11 pm
Posts: 2324
Post Re: interrupt from GPIO
Did you consult
http://www.fit-pc.com/wiki/index.php/Fi ... _for_Linux

_________________
-------------------------
Irad Stavi
fit-PC forum admin

-------------------------


Sun Nov 12, 2017 12:33 pm
Profile

Joined: Wed Oct 25, 2017 6:23 am
Posts: 3
Post Re: interrupt from GPIO
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.


Tue Nov 14, 2017 12:26 pm
Profile
Site Admin

Joined: Mon Mar 16, 2009 2:11 pm
Posts: 2324
Post Re: interrupt from GPIO
Which OS are you using (Windows / Linux).
I will forward to the corresponding SW engineer.

_________________
-------------------------
Irad Stavi
fit-PC forum admin

-------------------------


Sun Nov 19, 2017 1:30 pm
Profile

Joined: Wed Oct 25, 2017 6:23 am
Posts: 3
Post Re: interrupt from GPIO
linux ubuntu 16.4 with the kernel from fitlet


Tue Nov 21, 2017 2:20 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.