Steven Posted September 5, 2016 Posted September 5, 2016 Hello, I'm running Armbian wiith Kernel 3.4.112-sun8i on an Orange PI PC. In addition I compiled WiringOP patched for Orange PI to check GPIO. I have connected a transmitter which communicates using SPI and an additional GPIO PIN to send interrupts. The device is not working yet and I try to find out the problem. It works fine with an Rasp. For example, I'm a little bit confused about the following: /sys/class/gpio/gpio5/direction shows me "in" "gpio readall" shows me: | 18 | 1 | OUT | GPIO.5 | 5 | 24 | Of course, I could change the mode using the gpio command, but I would expect, that both values match? Could it be too, that the interrupt is too short and not recognized? I've read some threads here that GPIO access is slower than on a Rasp. Thanks in advance :-)
StaLeWaR Posted September 6, 2016 Posted September 6, 2016 See http://forum.armbian.com/index.php/topic/1971-how-to-do-interrupt-drive-gpio-input-in-python/#entry15091
Recommended Posts