AnsweredAssumed Answered

imx6ul-evk GPIO3 Unable to operate

Question asked by zhangbin.eos@foxmail.com on Feb 28, 2019
Latest reply on Mar 7, 2019 by zhangbin.eos@foxmail.com

Board: imx6ul-evk

BSP: fsl-yocto-L4.1.15_2.0.0-ga

 

I want set GPIO3_05 and GPIO3_07 to be output gpios.

 

To ensure that LCD drivers are not affected, I removed the LCD drivers from the kernel configuration.And delete LCD related content in DTS.

 

Then I use sysfs interface to control GPIO for testing.But no level changes were tested.

 

The following is my operation process:

  • In the board

cd /sys/class/gpio/

echo  69 >  export    # 69 is GPIO3_05

echo  71 >  export    # 71 is GPIO3_07

 

echo 'out' > gpio69/direction

echo 'out' > gpio71/direction

 

echo 0  > gpio69/value

echo 0  > gpio71/value

 

echo 1  > gpio69/value  # Can't measure high level

echo  > gpio71/value  Can't measure high level

 

When I  use sysfs interface to control GPIO1_26 and GPIO1_27,they are  ok.

 

Is there a mistake in my operation? Please help me!

Outcomes