Hi Jacek, How did you resolve the 3-wire issue with beagle ? I don't se ethat the driver supports 3-wire.
Regards, Ran On Wednesday, July 17, 2013 at 4:09:26 AM UTC+3, Jacek Radzikowski wrote: > > I found in device tree docs SPI property "spi-3wire" which does > exactly what I need, but I can't find in spi-omap2-mcspi.c any > references to this mode. Has anybody tried to use SPI in 3-wire mode? > Did it work? > > thx, > j. > > > On Tue, Jul 16, 2013 at 9:11 AM, Jacek Radzikowski > <jacek.ra...@gmail.com <javascript:>> wrote: > > Thanks. But this tutorial only shows how to enable SPI in 3.2 kernel. > > I have 4-wire SPI working, I need to configure it in 3-wire mode. > > > > j. > > > > > > On Tue, Jul 16, 2013 at 7:04 AM, Yiling Cao <yilin...@gmail.com > <javascript:>> wrote: > >> plz follow this guide > >> http://communistcode.co.uk/blog/blogPost.php?blogPostID=1 > >> > >> > >> I have made various devices working. > >> > >> > >> On Tue, Jul 16, 2013 at 2:52 PM, Jacek Radzikowski > >> <jacek.ra...@gmail.com <javascript:>> wrote: > >>> > >>> Hello, > >>> > >>> I want to connect to my beaglebone an LCD display which uses a 3-wire > >>> SPI interface: communication in both directions (to and from device) > >>> is implemented using only CS, SCK and a single data wire. The data > >>> wire is used in half-duplex mode, with direction switched depending > >>> whether write or read operation is expected. The SRM says that the SPI > >>> interface in the processor supports this mode, but how can I control > >>> the direction of the data line from user-space program? Since I can't > >>> control pinmuxing, changing pin direction is not possible. Will it be > >>> enough just to flip the bit in OE register? > >>> > >>> Thx, > >>> j. > >>> > >>> > >>> -- > >>> Given a choice between two theories, take the one which is funnier > >>> > >>> -- > >>> 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 <javascript:>. > >>> For more options, visit https://groups.google.com/groups/opt_out. > >>> > >>> > >> > >> -- > >> 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 <javascript:>. > >> For more options, visit https://groups.google.com/groups/opt_out. > >> > >> > > > > > > > > -- > > Given a choice between two theories, take the one which is funnier > > > > -- > Given a choice between two theories, take the one which is funnier > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/30ae3a36-4a0f-42b4-b2c1-59fb607827b7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.