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/AM5728: GPIO cannot be exported

Part Number: AM5728
Other Parts Discussed in Thread: TPS51200

Tool/software: Linux

Hi,

I am trying to enable gpio7_11 as an input on my am5728. From what I thought, the formula to convert to the pin number is gpioM_N = 32 * (M - 1) + N. This results in 32(7-1) + 11 = 203.

When I try to export the pin:

> echo 203 > /sys/class/gpio/export

I get an error saying: -sh: echo: write error: Device or resource busy

I am not sure what I may be missing as I have enabled other GPIO pins using the same way.

Let me know what I may be doing wrong! Thanks.