This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: Toggle GPIO of expansion header

Part Number: SK-AM62

Hi,

I want to toggle GPIO  EXP_GPIO0_38 of user exp header of SK-AM62 board,  through command line and used pre built image

Step followed

root@am62xx-evm:~# gpiodetect

gpiochip0 [4201000.gpio] (24 lines)

gpiochip1 [600000.gpio] (87 lines)

gpiochip2 [601000.gpio] (88 lines)

gpiochip3 [1-0022] (24 lines)

root@am62xx-evm:~# gpioinfo gpiochip1 | grep "38"

        line  38:      unnamed       unused   input  active-high

root@am62xx-evm:~# cd /sys/class/gpio/

root@am62xx-evm:/sys/class/gpio# ls

export  gpiochip289  gpiochip313  gpiochip401  gpiochip488  unexport

root@am62xx-evm:/sys/class/gpio# cat gpiochip401/label

600000.gpio

I need to toggle 38 pin

root@am62xx-evm:/sys/class/gpio#

root@am62xx-evm:/sys/class/gpio# echo 439 > export

root@am62xx-evm:/sys/class/gpio# echo "out" > gpio439/direction

root@am62xx-evm:/sys/class/gpio# cat gpio439/direction

out

root@am62xx-evm:/sys/class/gpio# gpioinfo gpiochip1 | grep "38"

        line  38:      unnamed      "sysfs"  output  active-high [used]

root@am62xx-evm:/sys/class/gpio# cat gpio439/value   

0

root@am62xx-evm:/sys/class/gpio# echo 1 > gpio439/value

root@am62xx-evm:/sys/class/gpio# cat gpio439/value

0

root@am62xx-evm:/sys/class/gpio#  

 

value are not changing  and on gpio line, getting always 0.64v

is I need to do any thing else?

please give suggestion

Thanks,

Gireesh Hiremath