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.

Linux/66AK2L06: How to use GPIO on 66AK2L06 EVMK2L?

Part Number: 66AK2L06

Tool/software: Linux

Hello,

I'm trying to use GPIO4 on board 66AK2L06 EVMK2L.

So i searched  about linux gpio control.

GPIO pin is in Expansion Connector on  board 66AK2L06 EVMK2L.

I followed below :

1. entered in board using ssh

2. cd /sys/class/gpio

3. ech0 4 > export

# I will use gpio4

4. cd /sys/class/gpio/gpio4

5. echo out > /sys/class/gpio/gpio4/direction

# I will use gpio4 as output pin

6. echo 1> /sys/class/gpio/gpio4/value

#output value is high

7. echo 0> /sys/class/gpio/gpio4/value

#output value is low

so i want input 0 and 1 value to gpio4.

but, gpio4 is always high both 0 and 1.

How can I control gpio pin?