I'm trying to configure P9.13 on the Beaglebone AI as an input pull up, but 
am not having any success. In the System Manual 
<https://github.com/beagleboard/beaglebone-ai/wiki/System-Reference-Manual#p9.11-p9.13>
 
it lists P9.13a as not being bound to a GPIO port, but P9.13b is bound to 
GPIO6_12. This is the device tree overlay I'm using 
<https://github.com/PocketNC/BeagleBoard-DeviceTrees/blob/pocketnc-ai-test/src/arm/am5729-beagleboneai-pocketnc-pro.dts#L56>
 with 
line 56 showing how I'm attempting to configure P9.13b (and P9.13a the line 
above it). Am I doing something wrong in my device tree overlay? I've had 
success configuring many other pins, but P9.13 is giving me trouble for 
some reason.

I'm testing it a couple ways:
1) with sysfs
echo 172 > /sys/class/gpio/export
cat /sys/class/gpio/gpio172/value

2) with libgpio
gpioget gpiochip5 12

Both return a value of 0, when I'd expect it to be 1 (I don't have anything 
wired to it). Any idea what I'm doing wrong?

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f9923508-a8ad-48b4-9ed7-f92f5533cf1e%40googlegroups.com.

Reply via email to