AnsweredAssumed Answered

Expansion port connector with Linux ?

Question asked by Aida Meriem on Aug 11, 2015
Latest reply on Aug 14, 2015 by Aida Meriem

Hello everyone,

 

I need to control the 112 pin of the J63 connector, which correspond to the SSP2_SCK. I'm using Linux on my iMX28 (Linux version 4.0.4-fslc+g48548f7).

 

I know that I just have to find the GPIO_A_B number of my pin and then apply : pin = 32xA + B

 

But that's the thing, on the hardware schematic datasheet, all pins are adressed that way except the expansion connector ones.

 

How do I find the pin number of my GPIO ? So I can just run :

 

echo 1 > /sys/class/gpio/gpioXX/value

 

To be more specific, I'm using yocto.

 

Merci!

Outcomes