Re: Synchronized SPI communication
- From: Anton Erasmus <nobody@xxxxxxxxxxxxxxxx>
- Date: Sat, 29 Sep 2007 15:24:04 +0200
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[Snipped]
Atmel microcontrollers. The data has to be transmitted from slave to
master.
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
.
- References:
- Synchronized SPI communication
- From: Vivek B
- Synchronized SPI communication
- Prev by Date: Re: hc12,can i return from interrupt and jump elsewhere?
- Next by Date: Re: 78K0 programming
- Previous by thread: Re: Synchronized SPI communication
- Next by thread: how to initializatize/re-configure usart?
- Index(es):
Relevant Pages
|