Testing GPIO in imx93- EVK kit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Testing GPIO in imx93- EVK kit

929 次查看
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 项奖励
回复
3 回复数

916 次查看
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 项奖励
回复

890 次查看
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 项奖励
回复

884 次查看
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 项奖励
回复