Hi,I'm trying to use SPI to talk to a PS2 Receiver. But whatever I do, the MOSI stays high when sending the data:
--Any ideas?Thanks.
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7ffa5fb5-d939-480d-aeec-e8a9a21d8604%40googlegroups.com.
As always, check the show-pins.pl output to make sure the mux is right.
P9.29 / hdmi audio fs 101 B13 fast rx down 3 spi 1 data 0 ocp/P9_29_pinmux (pinmux_P9_29_spi_pin)
P9.30 102 D12 fast rx 1 pwm 0 tripzone eqep@48300180 (pinmux_eqep0_pins)
$ sudo config-pin p9.30 spi
ERROR: open() for /sys/devices/platform/ocp/ocp:P9_30_pinmux/state failed, No such file or directory
Who is the clock master in this system?
What is the SPI configuration code like?
[ 1.090099] pinctrl-single 44e10800.pinmux: pin PIN102 already requested by 48300180.eqep; cannot claim for ocp:P9_30_pinmux
[ 1.101500] pinctrl-single 44e10800.pinmux: pin-102 (ocp:P9_30_pinmux) status -22
[ 1.109087] pinctrl-single 44e10800.pinmux: could not request pin 102 (PIN102) from group pinmux_P9_30_spi_pin on device pinctrl-single
[ 1.121460] bone-pinmux-helper ocp:P9_30_pinmux: Error applying setting, reverse things back
/dts-v1/;
/plugin/;
/ {
model = "TI AM335x BeagleBone Blue";
compatible = "ti,am335x-bone-blue", "ti,am33xx";
fragment@0 {
target = <&eqep0>;
__overlay__ {
status = "disabled";
};
};
};
P9.42a 89 C18 fast 2 spi 1 cs 1 ocp/C18_pinmux (pinmux_C18_spi_pin)
P9.31 / hdmi audio clk 100 A13 fast rx up 3 spi 1 clk ocp/P9_31_pinmux (pinmux_P9_31_spi_sclk_pin)
P9.29 / hdmi audio fs 101 B13 fast rx down 3 spi 1 data 0 ocp/P9_29_pinmux (pinmux_P9_29_spi_pin)
P9.30 102 D12 fast rx down 3 spi 1 data 1 ocp/P9_30_pinmux (pinmux_P9_30_spi_pin)