oluxino lime2 Gpio irq

Started by tomio64, October 26, 2015, 11:51:44 AM

Previous topic - Next topic

tomio64

Hello,
1 / I would like the limitation of number of gpio than can "polled" with select or epoll , by irq interrupt,
with edge in both, rising and falling ?

2 / So have you the precise list of gpio than can use interrupt ?
i work in c.

thank you
best regards


soenke

With direct access to /dev/mem and kernel 3.4 you can reach about 2MHz get/set/reset frequency on one gpio. I have not measured the exact speed drop if you set/reset 2,5,10 gpios at once. My guess is a linear behaviour.

tomio64

Hello,
in fact is not my question,
just i would like the list of gpio with interruption.
All gpio don't have interruption.
So wher i can found the list of gpio with interrupt for oluxino lime 2 ?
thank you


tomio64

hello,
thank you,
i read that, but is not clear in list GIC what is gpio port number ?

soenke

Look into the chapter "port controller", there you see the pin names like PB10. These are the names used by uboot (fex-file) where the mapping pin->gpio is configured.