Jump to content
  • 0

Problem GPIO PH5


OpenglMan
 Share

Question

Hello,

 

I get an error when i try to use the PH5 pin as digital output.

 

PH5 is the number 229 according to the following equation:  (8-1)*32+5 = 229

 

echo 229 > /sys/class/gpio/export

-bash: echo: write error: Device or resource busy 

 

If i use other pins like PH13, PH19, PH20 or PH21, all work correctly. For example, for PH13 as digital output:

echo 237 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio237/direction
echo "1" > /sys/class/gpio/gpio237/value
echo "0" > /sys/class/gpio/gpio237/value
echo 237 > /sys/class/gpio/unexport

 

I get the same error in the Cubieboard2 and the Lime A20 board.

 

Can someone help me ?

Thanks in advance

 

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Search Before Posting!

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...