We are not able see any gpio in /sys/class/gpio/export for imx8x (MiMX8QX6AVLFZAC)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

We are not able see any gpio in /sys/class/gpio/export for imx8x (MiMX8QX6AVLFZAC)

794 次查看
kishorem
Contributor II

When we try to do a ls on /sys/class/gpio it shows empty.

We have attached dmesg log.

We also included the libgpiod in the local.conf file.

IMAGE_INSTALL:append = " libgpiod"

When we try to issue "gpiodetect" it shows unknown command

Please help us to access /sys/class/gpio  or libgpiod ?

0 项奖励
回复
1 回复

732 次查看
brian14
NXP TechSupport
NXP TechSupport

Hi,

Based on your information the problem could be that you are not setting the device tree properly. Please have a look at the following link. Here you will find how to correctly set the device tree to use a GPIO.

Link: Toggle pin on i.MX 8M Mini Applications Processor ... - NXP Community

I hope this information will be helpful.

Have a great day!

0 项奖励
回复