This is the area to clarify hardware specification if there's anything unclear from the datasheet. If the specification is software related, please ask in the related software section.

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

  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin

    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

  • kkonieczny
    kkonieczny New Member Posts: 2

    I seen this page, Example #1 cause error in first command
    echo 26 > /sys/class/gpio/export
    -bash: echo: write error: Bad argument


    Look 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

  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin

    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

Privacy Policy