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
@Yuri
Hello ,
Thanks For Your Quickly Support,
But I Don't Know Part Number, I Used iMX8M Mini
@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.
@Nirjul_Patel
Hello,
what is part number of the device (of i.MX series), used in Your applications?
Regards,
Yuri.