Find GPIO Pin Memory Address

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

Find GPIO Pin Memory Address

2,292 次查看
Nirjul_Patel
Contributor III

 

Hello,

I Want to Particular GPIO Pin Memory Address And I Want To GPIO Pin UP And Down using A Memory Address

So, How Can Find Particular GPIO Pin Memory Address?

I try Port_base_Address + Off set Address But This Address use I Can Not Control Pin
So, Please Explain Me Process

0 项奖励
回复
3 回复数

2,283 次查看
Nirjul_Patel
Contributor III

@Yuri 

Hello ,

Thanks For Your Quickly Support,
But I Don't Know Part Number, I Used iMX8M Mini

0 项奖励
回复

2,273 次查看
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

   Generally Chapter 8 (Chip IO and Pinmux) of the i.MX8Mm RM
describes pins settings and provides corresponding address area.

   https://www.nxp.com/webapp/Download?colCode=IMX8MMRM

In particular, use section 8.3.3 (GPIO Memory Map/Register Definition).
Note: to use GPIO mode pins should be configured with IOMUXC help.
Section 8.2 [IOMUX Controller (IOMUXC)] explains possible options.

  Also, if some pins are used in Linux - they should not be removed from
the device tree.

 

Regards,
Yuri.

0 项奖励
回复

2,285 次查看
Yuri
NXP Employee
NXP Employee

@Nirjul_Patel 
Hello,

   what is part number of the device (of i.MX series), used in Your applications?

Regards,
Yuri.

0 项奖励
回复