Does anyone have a chart or formula that can be used to know what pins in the Linux sys/class/gpio/gpioXX correlate to the physical pins on the board? I am trying to remotely turn on a gpio (Braswell not Aduino) using sockets and a web interface. I have done this with other boards, but I cannot find out the pin correlations for the x86 board. Through the command line it would be something like this: echo ?? > /sys/class/gpio/export echo out > /sys/class/gpio/gpio??/direction echo 1 > /sys/class/gpio/gpio??/value Any recommendations on which pins would be best suited for this? I am thinking pin 14 on CN12.
It is in the documentation https://www.udoo.org/docs-x86/Hardware_&_Accessories/GPIOs.html Then click on Tab Braswell GPIO (it is a little bit hidden) Then you see the following table
And to be fully clear: Pin 14 on CN13 is an Arduino 101 pin! It cannot be used with Braswell. Edit: OOPS, there is no Pin 14 on CN12 but there is one on CN13 Inner pins are Arduino pins (and compatible with a lot of Arduino Shields), Outer Pins are Braswell Pins.
Yes, thank you so much. I was looking in the owner's manual which mentioned that they could be used as GPIO but did not give the number.
I think I answered that question from you already here: https://www.udoo.org/forum/threads/2-tutorials-for-udoo-x86-beginners-in-iot-and-web-control.8001/