AnsweredAssumed Answered

imx6ul evk - Arduino pin usage

Question asked by giuliano franchetto on Mar 8, 2016
Latest reply on Mar 8, 2016 by giuliano franchetto


Hi,

 

I'm having some trouble using the digital gpios of the arduino header. I'm using the "imx6ul-14x14-evk-btwifi" device tree, but I can't set nor read any gpio.

I've found in the "i.MX 6UltraLite EVK Board Hardware User’s Guide"  that array:

 

Screenshot from 2016-03-08 15:22:25.png

I assumed that, for example, if I want to set the pin D7 high, I'll have to work with the gpio 32*3 + 7 = 103 in Linux. I got no error when I export the pin, write its direction etc... but nothing is happening.

 

Must I change something in the device tree? I must say I'm not really used to work with these beasts.

 

Regards

Outcomes