4 Replies Latest reply on Oct 3, 2016 1:38 PM by Intel Corporation

    GPIO pins testing on Edison Arduino and Breakout board differs issue

    vinay@

      Hi,

       

      I have been tested the GPIO pins on Arduino and Breakout board , i am getting different results on both boards.

      I have done following procedure

       

      # echo "115">/sys/class/gpio/export

      #cat /sys/class/gpio/gpio115/value

      0

      #cat /sys/class/gpio/gpio115/direction

      in

      #echo "out"> /sys/class/gpio/gpio115/direction

      #cat /sys/class/gpio/gpio115/direction

      out

      #echo "1"> /sys/class/gpio/gpio115/value

      #cat /sys/class/gpio/gpio115/value

       

       

      When I tested the above commands in Edison Arduino board, It's working good on software and values have been changed and when I  probe on GPIO115(Test Point:51) the voltage changed from 0 to 1.8V.

       

      But When I tested the above commands in Edison Breakout board, It's working good on software and values have been changed and when I  probe on GPIO115(J17-12) the voltage not changing always showing 0V.

       

      I have been checked the pin muxing also and changed to mode0 if it is mode1.

       

      cat /sys/kernel/debug/gpio_debug/gpio115/current_pinmux

      mode1
        echo mode0> /sys/kernel/debug/gpio_debug/gpio115/current_pinmux

      cat /sys/kernel/debug/gpio_debug/gpio115/current_pinmux

      mode0

       

       

      I tried to export the pins 259(for pull down) and 227(pull up), these pins are exporting on Edison Arduino board and values are changing but not exporting on Breakout board.

      I am not getting why there is a difference in Edison Arduiono and Breakout boards behaviour.

      This is the behaviour repeated for the pins GP109,111,114,115.

       

      Can anyone please suggest what is the issue and did I miss anything for GPIO configurations.