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/AM3359: GPIO0_20 always low when configured to be input

Part Number: AM3359

Tool/software: Linux

Hi,

I am using beaglebone black with kernel 4.1.12-ti-r29.

i configure gpio 20(gpio0_20) to be input but the value is always 0.

i configured it from the user space with the next commands:

1. $ echo 20 > /sys/class/gpio/export

2. echo in > /sys/class/gpio/gpio20/direction

and when i check the gpio's status, its the output:

 gpio-20  (sysfs               ) in  lo  

the state of gpio 20 is always low....why??

thanks,

Oren