How to calculate the Linux GPIO number for a certain GPIO pin on i.MX8MQ platform

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to calculate the Linux GPIO number for a certain GPIO pin on i.MX8MQ platform

1,453件の閲覧回数
KyleChang
Contributor I

How to calculate the Linux GPIO number for a certain GPIO pin on i.MX8MQ platform?

 

For example, i.MX8MQ GPIO3_IO4=> What is GPIO number that I can export the GPIO and control pin direction and value, thanks.

0 件の賞賛
返信
2 返答(返信)

1,413件の閲覧回数
KyleChang
Contributor I

Thank you.

0 件の賞賛
返信

1,431件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @KyleChang 

To i.MX8MQ GPIO3_IO4: (3 - 1) * 32 + 4 = 68.

 

Best regards

Harvey

0 件の賞賛
返信