Find GPIO Pin Memory Address

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

Find GPIO Pin Memory Address

1,328 Views
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 Kudos
Reply
3 Replies

1,319 Views
Nirjul_Patel
Contributor III

@Yuri 

Hello ,

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

0 Kudos
Reply

1,309 Views
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 Kudos
Reply

1,321 Views
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 Kudos
Reply