AnsweredAssumed Answered

imx6ul GPIO

Question asked by michael carrier on Jan 7, 2016
Latest reply on Jan 25, 2016 by Goiatz Leibar

I have the imx6ulevk which is running Linux. I need to toggle a gpio from user space but I am having difficulty. I am attempting to read GPIO1_IO04. Using DVM I can measure 3.2 V on this pin. I then go to linux and and do the following: "cd /sys/class/gpio", "echo 4 > export", "cd gpio4", "echo in > direction", cat value. Cat returns 16, huh?????? 16? Should be 1 or zero. Any thoughts?

Outcomes