AnsweredAssumed Answered

Access GPIO pins ls1012a-rdb

Question asked by Adam Masoud on Jul 28, 2017
Latest reply on Aug 27, 2017 by Pavel Chubakov

Hello Community,


I am currently trying to access the GPIO pins located on the ls1012ardb expansion headers and having no luck. I have used QCVS to configure the PBL component and assigned GPIO as the function for all parameters involving SDHC1. The file successfully boots up and I then try using commands to configure the GPIO pins i.e


   # cd /sys/class/gpio

   # echo 447 > export

   # echo out > gpio447/direction

   # echo 1 > gpio447/value


I have done this for every GPIO I could export and with a simple LED circuit connected to a single pin (pin 14 on the J17 header) I get no result.


So my questions are;

1. I was wondering if anybody would be able to help me out with accessing GPIOs on the Arduino headers?

2. Also if anyone knows the corresponding pin numbers in linux for the digital I/O pins, that would be extremely helpful?


Thanks in advance,