Jump to content

GPIO Mode on Orange PI PC


Steven

Recommended Posts

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 :-)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines