Re: [beagleboard] BeagleBoard as SPI slave: is it possible?

1,767 views
Skip to first unread message

Gerald Coley

unread,
Apr 26, 2013, 10:24:22 AM4/26/13
to beagl...@googlegroups.com
Which BeagleBoard are you referencing?

Gerald


On Fri, Apr 26, 2013 at 7:50 AM, seeker <fab...@triboix.me.uk> wrote:
Hello,

I would like to know whether the BeagleBoard can be used as an SPI slave?

Many 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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Gerald
 

seeker

unread,
Apr 26, 2013, 10:42:50 AM4/26/13
to beagl...@googlegroups.com
Sorry, I forgot to mention. That's the BeagleBone.

Many thanks for your help!

Jason Kridner

unread,
Apr 26, 2013, 11:20:39 AM4/26/13
to beagl...@googlegroups.com
Gerald, isn't the answer yes for all of them?

Gerald Coley

unread,
Apr 26, 2013, 11:30:33 AM4/26/13
to beagl...@googlegroups.com
Yes, I believe so. But I am not sure if I have heard of anyone in the community doing it.

Gerald

Sheetal Tigadoli

unread,
Apr 26, 2013, 3:51:07 PM4/26/13
to beagl...@googlegroups.com
Hello Jason,

By all of them do you mean, all the beagle Bone series, or it means Beagle series, as i 've seen, the BeagleBoard Rev C doesn't support Slave mode. Only SPI 3 and SPI 4 can be used and that too in MASTER mode only. This is what the TRM for C3 Revision Specifies.


On Friday, April 26, 2013 8:50:39 PM UTC+5:30, Jason Kridner wrote:
Gerald, isn't the answer yes for all of them?


On Fri, Apr 26, 2013 at 10:24 AM, Gerald Coley <ger...@beagleboard.org> wrote:
Which BeagleBoard are you referencing?

Gerald


On Fri, Apr 26, 2013 at 7:50 AM, seeker <fab...@triboix.me.uk> wrote:
Hello,

I would like to know whether the BeagleBoard can be used as an SPI slave?
You can always find it in TRM of the Board you are using.  

Gerald Coley

unread,
Apr 26, 2013, 4:45:55 PM4/26/13
to beagl...@googlegroups.com
The board can only do what the data sheet or TRM days the processor can do. There is no magic hardware on the board. If the TRM says no slave operation then that is what the various boards can do 

Gerald

seeker

unread,
Apr 29, 2013, 11:00:53 AM4/29/13
to beagl...@googlegroups.com
Dear Gerald,

There is a sticker on the ethernet connector saying "BeagleBone Rev. A6a". Can this one work in SPI slave mode?
Alternatively, could anyone point me to the documentation where I can find this information?

Thank you very much for any help!

Gerald Coley

unread,
Apr 29, 2013, 11:04:26 AM4/29/13
to beagl...@googlegroups.com
I suggest that you go to the AM3358 Technical Reference Manual. This is all controlled by the processor on the board.



Gerald


--
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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

shedmeister

unread,
May 3, 2013, 3:24:58 PM5/3/13
to beagl...@googlegroups.com
I too am planning to use SPI1 in slave mode (on BeagleBone).  It looks like the linux driver on /dev/spidev2 only supports master mode though, so some additional driver work will have to be done.

Regards,
 Jim

Andrew Bradford

unread,
May 3, 2013, 3:42:35 PM5/3/13
to beagl...@googlegroups.com, j...@fiocca.net
On Fri, 3 May 2013 12:24:58 -0700 (PDT)
shedmeister <j...@fiocca.net> wrote:

> I too am planning to use SPI1 in slave mode (on BeagleBone). It
> looks like the linux driver on /dev/spidev2 only supports master mode
> though, so some additional driver work will have to be done.

I believe the Linux kernel only supports SPI operation in master mode.

See kernel doc line, "This document (and Linux) currently only supports
the master side of SPI interactions." at
https://www.kernel.org/doc/Documentation/spi/spi-summary

-Andrew

> On Monday, April 29, 2013 11:04:26 AM UTC-4, Gerald wrote:
> >
> > I suggest that you go to the AM3358 Technical Reference Manual.
> > This is all controlled by the processor on the board.
> >
> >
> > http://www.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=spruh73h
> >
> >
> > Gerald
> >
> >
> > On Mon, Apr 29, 2013 at 10:00 AM, seeker
> > <fab...@triboix.me.uk<javascript:>
> > > wrote:
> >
> >> Dear Gerald,
> >>
> >> There is a sticker on the ethernet connector saying "BeagleBone
> >> Rev. A6a". Can this one work in SPI slave mode?
> >> Alternatively, could anyone point me to the documentation where I
> >> can find this information?
> >>
> >> Thank you very much for any help!
> >>
> >>
> >> On Friday, April 26, 2013 9:45:55 PM UTC+1, Gerald wrote:
> >>>
> >>> The board can only do what the data sheet or TRM days the
> >>> processor can do. There is no magic hardware on the board. If the
> >>> TRM says no slave operation then that is what the various boards
> >>> can do
> >>>
> >> --
> >> 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.
> >>
> >>
> >>
> >
> >
> >
> > --
> > Gerald
> >
> > ger...@beagleboard.org <javascript:>
> > g-co...@ti.com <javascript:>
> > http://beagleboard.org/
> > http://circuitco.com/support/
> >
>

Reply all
Reply to author
Forward
0 new messages