Searching \ for '[AVR]: SPI slave' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/serial/spis.htm?key=spi
Search entire site for: 'SPI slave'.

Exact match. Not showing close matches.
PICList Thread
'[AVR]: SPI slave'
2002\12\18@231209 by Sean Breheny

face picon face
Hi all,

I'm looking for info on how to use the AVR's SPI hardware in slave mode.
Specifically, how do you begin a transfer? How do you tell it to "reset"
and receive bit 0 on the next clock transition? How do you determine when
it has finished receiving 8 bits? The info in the datasheet (I'm using
the AT90S8535) is geared toward master mode and it doesn't seem to
clearly state how this would work in slave mode.

Thanks!

Sean

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads

2002\12\19@182439 by Doug Hewett

flavicon
face
You don't 'begin' a transfer.  The slave writes its first byte and waits for the interrupt.  The interrupt routine reads and then writes the next byte.

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...