GPIO documentation for UP Board
Hello,
I am writing software that will control devices via GPIO in UP Board (UPC-CHT01-A10-0232).
Could I ask for documentation describing GPIO ports?
I particularly mean the numbering which pin on the PCB corresponds to which SYSFS number. For example, I want to initialize pin 3 on header and what number should I enter in echo XX> /sys/class/gpio/export
I spend a lot of time to find this information, but lot of links move to http 404 error or site has content "comming soon" or describe not exactly my kit and are useless.
Comments
-
On the top menu you can see a link to our wiki where you can find our documentation.
Specifically for UP Board the GPIO information can be found here: https://wiki.up-community.org/Pinout
-
I seen this page, Example #1 cause error in first command
echo 26 > /sys/class/gpio/export
-bash: echo: write error: Bad argumentLook at line "IMPORTANT: Please note that the Linux GPIO numbers above are different from both the physical pin numbers and the UP pinout. The Linux GPIO numbers are assigned to match the Raspberry Pi BCM GPIO numbering scheme. "
The " UP pinout" redirect to 404 -
We have updated the documentation to reflect the current Software support for UP (with Ubuntu and Yocto), also removing links not working from that page.
Please make sure you have installed one of our supported kernels: https://wiki.up-community.org/Ubuntu_18.04
And then follow the updated steps (accessing GPIO as root or updating the permissions/rules to access from userspace): https://wiki.up-community.org/Pinout#GPIO