Testing GPIO in imx93- EVK kit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Testing GPIO in imx93- EVK kit

947 Views
Robbi
Contributor II

Hi Team,

 I has  checked list of GPIO's in /sys/class 

 

 

Is this GPIO's is located on J1001 40-pin header on EVK and how to know gpiochip512 is mapped to which pin number. Please guide me to test GPIO's in EVK kit.

Thanks 

Robbi

0 Kudos
Reply
3 Replies

934 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

The gpiochip that manages the J1001 GPIOs is gpiochip0.

The GPIO number matches with the number in schematic:

Screenshot 2025-02-25 113040.png

For example, EXP_GPIO_IO02 in pin 3 of J1001 is controlled as next:

Screenshot 2025-02-25 113128.png

Chavira_1-1737563044014.png
Best regards.

0 Kudos
Reply

908 Views
Robbi
Contributor II
Thanks @JorgeCas,
can you tell me what is number 625 626 and 627 is it calculated from formula:((port)*32) +((index)&31)).
0 Kudos
Reply

902 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

Those numbers are the process number assigned for each command used, it is not related to GPIO number.

Best regards.

0 Kudos
Reply