I am using the beaglebone black with the arch-linux environment booting 
from SD card.
I want to use the pins P9.17 and P9.18 as GPIO. These pins correspond to 
PIN number 86 and 87.

When i export these pins using:
echo 86 > /sys/class/gpio/export
echo 87 > /sys/class/gpio/export

When using these pins as input i always get a 0 back even when i attach a 
high signal on the pin.
cat /sys/class/gpio/gpio86/value
0
cat /sys/class/gpio/gpio87/value
0


I checked the pin mux status by:
cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins

...
pin 82 (44e10948.0): 4a101000.mdio (GPIO UNCLAIMED) 
functiondavinci_mdio_default 
group davinci_mdio_default
pin 83 (44e1094c.0): 4a101000.mdio (GPIO UNCLAIMED) 
functiondavinci_mdio_default 
group davinci_mdio_default
pin 84 (44e10950.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 85 (44e10954.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 86 (44e10958.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 87 (44e1095c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 88 (44e10960.0): 48060000.mmc (GPIO UNCLAIMED) functionpinmux_mmc1_pins 
group pinmux_mmc1_pins
...

So pin 86 and 87 should be free and useable by GPIO. 
What is interfering with these pins?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to