5 Replies Latest reply on Feb 13, 2015 3:39 PM by DiegoV_Intel

    Need help with intel edison GPIO

    KK_KIRAN

      Hello,


       

      Recently I tried to change the GPIO values in intel edison through breakout board using

      echo 1 >/sys/class/gpio/gpioxx/value.


       

      Before experiment with the gpio values, I exported particular pin, say GPIO 27, using

      echo “27” >/sys/class/gpio/export


       

      direction set to output

      echo “out” >/sys/class/gpio/gpio27/direction


       

      now trying to changing initial value with negated value of that initial value using

      /sys/class/gpio/gpio27/value

      ex: if value is 0, i will try to change it to 0.


       

      unexported using

      /sys/class/gpio/unexport


       

      As per my knowledge this is the procedure i can fallow.


       

      Fallowing GPIO pins, I am unable to change the values inside “value” file.

      27,20,28,111,109,115,19,110, 129, 131, 134, 42, 78, 79


       

      Fallowing GPIO pins, I can able to change the values inside “value” file.

      128, 13, 165, 12, 183, 114, 130, 44, 46, 48, 14, 40, 43, 82, 83, 45, 47, 49, 15, 84, 41, 80, 81.


       

      please help me with this,


       

      Why I am unable to change the values for 27,20,28,111,109,115,19,110, 129, 131, 134, 42, 78, 79 pins?


       

      I am uploading a file which contains intel edison GPIO number and breakout pin number with status as

      Negative or Positive or Not working.


       

      Negative = I am unable to change the value in /sys/class/gpio/gpioxx/value

      Positive = I am able to change the value in /sys/class/gpio/gpioxx/value

      Not working= I am unable to export or unexport GPIO pin