imx6sx gpio set error

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

imx6sx gpio set error

597 Views
2548903578
Contributor III

Hi,everyone

I found the pin MX6SX_PAD_SD2_DATA3__GPIO6_IO_11 in the configuration of imx6sx to be in output mode, but the level is always high. But it can be used normally when configured as a serial port. No errors were reported in the driver files. Why is this?QQ截图20210820171944.pngQQ截图20210820172117.png

0 Kudos
Reply
2 Replies

585 Views
nxf63675
NXP TechSupport
NXP TechSupport

Hi @2548903578,

 

Please try the config tool to use this GPIO, link below:

https://www.nxp.com/design/designs/config-tools-for-i-mx-applications-processors:CONFIG-TOOLS-IMX

 

Regards,

Israel.

0 Kudos
Reply

574 Views
2548903578
Contributor III

hi,nxf63675

Thank you for your reply. I found that after uboot has set gpio, it will affect the kernel settings. You must turn off the gpio function set by uboot.

0 Kudos
Reply