Hi all,

I have to bring this thread to life again, as I'm facing the same issue:

all I want to do is to assign p9_29 as "spi_cs" on my BBB running 
"4.9.78-ti-r94".

Running "config-pin -l p9_28" leads to "default gpio gpio_pu gpio_pd 
gpio_input spi_cs pwm pruout pruin". So all looks good, as this pin can be 
used in spi_cs mode.

Now I want to configure the pin to actually work as spi pin:

config-pin p9_28 spi_cs
P9_28 pinmux file not found!
sudo: no askpass program specified, try setting SUDO_ASKPASS
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state

The same error is printed when running "config-pin p9_29 spi" or 
"config-pin p9_31 spi_sclk". However, command "config-pin p9_30 spi" works 
well.

Would really appreciate if someone can help out here! 

Best regards,
Marco







Am Samstag, 28. Januar 2017 02:51:38 UTC+1 schrieb Charles Steinkuehler:
>
> On 1/27/2017 7:43 PM, Drew Fustini wrote: 
> > 
> > Charles / Robert: 
> > Should P9.28 be SPI by default? 
>
> All pins are GPIO by default, with pull up/down set to match the reset 
> defaults of the processor.  To use P9.28 as SPI, in addition to 
> loading cape-universal, it is necessary to run: 
>
>   config-pin P9.28 spi 
>
> If this does not result in the pinmux being set to spi, it's a bug. 
>
> -- 
> Charles Steinkuehler 
> [email protected] <javascript:> 
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/89254b2e-33ca-4ea0-bb9f-3ca89270f89c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to