Re: Synchronized SPI communication



On Fri, 28 Sep 2007 04:43:21 -0700, Vivek B <vivekb1985@xxxxxxxxx>
wrote:

I am trying to implement interrupt based SPI communication between two
Atmel microcontrollers. The data has to be transmitted from slave to
master.

[Snipped]

Because the slave transfers data to the master at the same time the
master transfers data to the slave, you have very little time to load
the data register on the slave side, if you want to respond based on
the data received from the master side. You must iether use defined
time slots, so that the slave has enough time to load the data
register before the master clocks it back to itself, or you can use
handshake lines, with which the slave can indicate to the master that
data is ready to be clocked accross.

Regards
Anton Erasmus
.



Relevant Pages

  • Re: Replikations Frage
    ... vom Master auf den Slave kopiert hast und dabei die Permissions auf ... Die Datenbanken auf den Slave Server laufen ohne Probleme. ... # If you want to know which options a program support, ...
    (de.comp.datenbanken.mysql)
  • Re: When caveman Uhg invented fire
    ... be a business owner. ... But even the smallest "ownership" makes one a slave. ... Any "slave" can become the master. ...
    (alt.lang.asm)
  • Re: One-sided authentication for small micros?
    ... The master has a lookup table of all 'known' slave id's. ... This would reset all the slave keys to their lookup values. ... decides that it is a valid slave and starts to communicate with the slave. ...
    (sci.crypt)
  • Re: FIXMBR redux
    ... William, I did the best I could for you under the circumstances and I did ... >> "To remove the recovery console, delete the cmdcons folder from the root ... > drive as Master and formatted it anew, as Active and Primary, ... I then jumpered it as Slave, ...
    (microsoft.public.windowsxp.basics)
  • Re: Synchronized SPI communication
    ... Because the slave transfers data to the master at the same time the ... idea of what the master Data register would get when it try SPI ... The system is single buffered in the transmit direction and double ...
    (comp.arch.embedded)