GPIO pin

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,959件の閲覧回数
Nirjul_Patel
Contributor III



Hello,


 I Use IMX8mm-ddr4-evk Board.And Already Built imx-image-multimedia
I Want To Write Direct Data to Address Of GPIO Pin So, How to Know Address Of GPIO Pin ?

タグ(1)
1 解決策
1,897件の閲覧回数
Nirjul_Patel
Contributor III

Hello,


Thank Your Support

I Used imx8mm-ddr4-evk board, I Built imx-image-multimedia Image,

1 in the above linux-imx got gpio pin address
=> Can You Explain Path
2.every board u must chk board user guides and reference manual
=> I Check user Guide But Not Consider Them

3. for control gpio pin , we got 3 ways : bare metal, devices driver, and Linux kernel applications, depend on what u want
=> I want to Go Device Driver So, Where is gpio Driver File In Image

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
1,947件の閲覧回数
josephzhou1
Contributor V

after you build, please go " <build_dir>/tmp/work/<board-poky-linux>/linux-imx/<version>/git/" to find out yours board DTSI files , all GPIO pins defines all r insides .

you may also want to read yours boards reference manual to get the details GPIO pins PHysical conections 

 

thanks 

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 件の賞賛
1,939件の閲覧回数
Nirjul_Patel
Contributor III

Hello,

 

In Built " <build_dir>/tmp/work/<board-poky-linux>/linux-imx/<version>/git/" git Is Not Directory And I Find Out On this Path But I Can Not Seen DTSI File

1,931件の閲覧回数
josephzhou1
Contributor V

of cos must look ard lah...arch/arm64/boot/dts/freescale   search for "imx8"

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 件の賞賛
1,909件の閲覧回数
Nirjul_Patel
Contributor III

 

Hello,

Thanks For Your Quickly Support


Can You Explain Answer Of My Bellow Question

1.How to Find Any Pin Address?
2. How to Convert Any Pin To GPIO Pin?
3.How To Write Data Data Direct Pin Address?

0 件の賞賛
1,903件の閲覧回数
josephzhou1
Contributor V

 

 

 

 

root@imx8qxpmek:/sys/class/gpio# ls
export gpiochip128 gpiochip224 gpiochip472 gpiochip96
gpio32 gpiochip160 gpiochip32 gpiochip480 unexport
gpiochip0 gpiochip192 gpiochip464 gpiochip64
root@imx8qxpmek:/sys/class/gpio#

 

 

 

 

1 in the above linux-imx got gpio pin addresss 

2every board u must chk board user guides and reference manuals

3 for control gpio pin , we got 3 ways : bare metal, devices driver, and linux kernel applications, depend on what u want

Best Regards,
Joseph Zhou Jianhui / Senior Embedded Software Engineer, Singapore
0 件の賞賛
1,898件の閲覧回数
Nirjul_Patel
Contributor III

Hello,


Thank Your Support

I Used imx8mm-ddr4-evk board, I Built imx-image-multimedia Image,

1 in the above linux-imx got gpio pin address
=> Can You Explain Path
2.every board u must chk board user guides and reference manual
=> I Check user Guide But Not Consider Them

3. for control gpio pin , we got 3 ways : bare metal, devices driver, and Linux kernel applications, depend on what u want
=> I want to Go Device Driver So, Where is gpio Driver File In Image

0 件の賞賛