iMX8MMINI GPIO control

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8MMINI GPIO control

490件の閲覧回数
Rona_329
Contributor I

Hello

I have some questions about imx8mmini GPIO control.

"GPIO1_IO09, GPIO1_IO11, GPIO1_IO04" doesn't toggle High and Low.

GPIO1_IO04 is used for PMIC(PCA9450AAHN) "SD_VSEL"

Here are the command about gpio1_io04

echo 4 > /sys/class/gpio/export

echo out > /sys/class/gpio/gpio4/direction

 

High

echo 1 > /sys/class/gpio/gpio4/value

Low

        echo 0 > /sys/class/gpio/gpio4/value

 

 

 

Here are the command about gpio1_io09

 

echo 9 > /sys/class/gpio/export

echo out > /sys/class/gpio/gpio9/direction

High

echo 1 > /sys/class/gpio/gpio9/value

Low

echo 0 > /sys/class/gpio/gpio9/value

Please help me why the GPIO can't be controlled.

Is there any other purpose in this GPIO pins ? 

 

 

0 件の賞賛
返信
2 返答(返信)

469件の閲覧回数
dpog
Contributor IV

Did you try to control the GPIOs from your bootloader? I'm facing similar problems, in uboot I can set and read the correct values, but not in the Kernel/Userspace

0 件の賞賛
返信

354件の閲覧回数
Rona_329
Contributor I

Control is not working even in bootloader ( U-boot )

Is there anyone who can help me ?

0 件の賞賛
返信