AnsweredAssumed Answered

Configured as digital input pin do not change value ?

Question asked by Nirmal Panchal on Apr 13, 2017
Latest reply on Apr 13, 2017 by igorpadykov


I am using DART 6UL CPU for one of my custom board

ref: DART-6UL CPU: NXP/Freescale i.MX 6UltraLite / i.MX 6ULL - Variscite 


I want to configure 8 Digital Input pins out of which I have successfully configured 7.

But I am not able to drive GPIO1_0 as an input pin.

I removed GPIO1_0 from my dtsi file, in order to make it usable from user space.


I can configure pin as input using

echo 0 > /sys/class/gpio/export

echo in > /sys/class/gpio/gpio0/direction

and it also appears in the /sys/kernel/debug/gpio list.


But it do not change its value when driven high or low.

Can anybody help me out here ??


Questions :

1. What could be possible cause ?

2. If uboot source could the reason , where i can find source file and where to look for it ?

3. Is there anyother way I can free the pin, to make sure it is not configured by kernel !


Thank you in advance.