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.

PROCESSOR-SDK-AM62X: GPIO Number to use in sysfs

Part Number: PROCESSOR-SDK-AM62X


Hi,

I'm trying to use the sysfs to change the value of some GPIO pins in my board using the interfaces /sys/class/gpio/export and /sys/class/gpio/gpioXX/value but I don't know which value I should pass to the echo command that is used to create the pseudo-files under /sys/class/gpio/gpioXX...

Say I want to configure AM62x GPIO0_39 what would be the value of X below?

$ echo X > /sys/class/gpio/export


Regards,
Dnyaneshwar