Thanks for your reply ,

So which file I have to change. I 'm using TI DVSDK tools. I looked this 
video tutorial https://www.youtube.com/watch?v=Co85WsgLtto , but I could 
not find*/sys/kernel/debug/omap_mux  *. How to do this.

cheers.

10 Haziran 2015 Çarşamba 12:25:05 UTC+3 tarihinde Roger Quadros yazdı:
>
> Hi, 
>
> On Wed, 10 Jun 2015 01:28:10 -0700 
> Erkan Güzeler <[email protected] <javascript:>> wrote: 
>
> > 
> > Hi everyone, 
> > 
> > I'm using BBxM Rev C2 board and trying to read gpio pins. But I have 
> some 
> > trouble about it. I successfully read 
> > *gpio139/MMC2_DAT7/MMC2_CLKIN/MMC3_DAT3/HSUSB3_TLL_NXT/MM3_RXDM*   but 
> when 
> > I tried to read 
> > *GPIO_156/**McBSP1_CLKR/McSPI4_CLK/SIM_CD *or another pin like 
> *McSPI1_CS0/GPIO_174 
> >  *I'm not able to success to read pins. 
> > So I think that pins have different feature so I need to change this. 
> > 
> >    cd /sys/class/gpio/ 
> >    echo 159 > export 
> >    cd /sys/class/gpio/gpio159 
> >    echo "in" > direction 
> >    cat value   
> > 
> > for GPIO 139 is working but the others always value is ZERO . 
> > 
> > 
> > Has any idea about change pin features... 
>
> You will need to configure the pinmux for GPIO mode. 
> You could do it in the device tree. 
>
> mcspi1_cs0 is used as hsusb2_data6 so you can't use that as GPIO. 
>
> OMAP3_CORE1_IOPAD(0x21dc, PIN_INPUT_PULLDOWN | MUX_MODE3)       /* 
> mcspi2_cs0.hsusb2_data6 */ 
>
> cheers, 
> -roger 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to