Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

best way to do SPI

2005-09-23 by Gus

Hello,

In your opinion, what is the best way to transfer data between 2 LPC 
micros using SPI?

The way I have it now, one is master and other is slave. The slave one 
have 1 pin called DATA_READY. When the slave needs to send data to 
master, it sets DATA_READY high.

Now the problem is that when the master reads data, it also writes 
data at the same time (the way SPI works) How would the slave know 
that the SPI transaction is read, write or both.

Thanks,

Gus

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.