How to access GPIO_38, GPIO_39 and so on as digital input pins

101 views
Skip to first unread message

Sujit Singh

unread,
Apr 4, 2017, 5:57:24 AM4/4/17
to BeagleBoard
I want to access GPIO_38, GPIO_39, GPIO_34, GPIO_35 in order to use it as digital input pins but as they are not normal GPIO pins, how do I use them as digital input or output pins. 

Mark A. Yoder

unread,
Apr 4, 2017, 2:43:54 PM4/4/17
to BeagleBoard
Sujit:
  By default those pins are used by the eMMC (on board flash).  If you are running from an SD card you can turn off the eMMC and use those pins.  Just edit /boot/uEnv.txt and find the line:

##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb

and uncomment the dtb line and reboot.  You should then have access to those GPIO pins.

--Mark

Sujit Singh

unread,
Apr 6, 2017, 1:52:10 AM4/6/17
to BeagleBoard
Thanks Sir, Do you have any idea about the same in an android OS, as I am unable to locate /boot/uEnv.txt from my android sd card os.

Mark A. Yoder

unread,
Apr 11, 2017, 4:54:47 PM4/11/17
to BeagleBoard
Sorry, I don't know how to do that under Android.  I think /boot/uEnv.txt is unique to the Beagle.

--Mark
Reply all
Reply to author
Forward
0 new messages