It is a workaround for a bug, I believe. When I enable the dtbo, I get
the following directory constructed during the boot process
/sys/devices/platform/ocp/ocp:P9_28_pinmux
Without the dtbo, this directory is missing.
Chad
On 4/30/18 2:24 PM, Rick Mann wrote:
On Apr 30, 2018, at 08:22 , Chad Baker <[email protected]> wrote:
Did you add the BB-SPIDEV1-00A0.dtbo to the device tree boot list in uEnv.txt?
Should that be necessary if one is using CAPE-UNIVERSAL?
Chad
On 4/30/18 7:51 AM, [email protected] wrote:
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]
--
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.
--
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/30e8fef7-bd03-37a6-b8a9-e4bfad41445d%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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/22d4ab18-c370-d437-fa7b-c4cf404ea358%40gmail.com.
For more options, visit https://groups.google.com/d/optout.