fit-PC Users Forum
https://www.fit-pc.com/forum/

interrupt from GPIO
https://www.fit-pc.com/forum/viewtopic.php?f=145&t=6093
Page 1 of 1

Author:  haimlu [ Sun Nov 05, 2017 1:50 pm ]
Post subject:  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?

Author:  irads [ Sun Nov 12, 2017 12:33 pm ]
Post subject:  Re: interrupt from GPIO

Did you consult
http://www.fit-pc.com/wiki/index.php/Fi ... _for_Linux

Author:  haimlu [ Tue Nov 14, 2017 12:26 pm ]
Post subject:  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.

Author:  irads [ Sun Nov 19, 2017 1:30 pm ]
Post subject:  Re: interrupt from GPIO

Which OS are you using (Windows / Linux).
I will forward to the corresponding SW engineer.

Author:  haimlu [ Tue Nov 21, 2017 2:20 pm ]
Post subject:  Re: interrupt from GPIO

linux ubuntu 16.4 with the kernel from fitlet

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/