Part Number: AM4376
Hello,
Recently we have developed our custom board based on AM437x and ported RT-Linux on it, to start with some application i started with controlling GPIOs from user space,(GPIO4[8])
To compute the pin number which I was supposed to export (/Sys/Class/gpio/export) I use formula (32*M)+N but was unable to control it. somewhere I read 32*(M-1)+N to compute, I applied the same and was able to control GPIO4[8] ( Pin 104), I believe that later one is the correct way to compute the pin number.
I have some interfaces which use GPIO0 bank pins like GPIO0[23],GPIO0[7], and GPIO0[3].
Please suggest how to calculate the pin number to be exported to control pins of GPIO bank 0.
Regards,
Piyush Ghatole
