Go Down

Topic: Arduino-Due and 2 SPI slaves (Read 288 times) previous topic - next topic

nagu3112

Hi,

I am using Arduino-Due with I2C & UART peripherals.
I like to interface two more slave devices using SPI.
I am planning to use one SPI port and select the slaves with different chip select pins.
For 2.5 Milliseconds, I will read 12 bytes of data from Slave1 and then immediately will write the same to Slave2 .
Does SPI library supports above / Is it possible?

D74-MISO
D75-MOSI
D76-MSCK

D87 - CS1 for Slave1 select
D52 - CS2 for Slave2 select

david_prentice

Yes,   that is why city buses have lots of seats and big doors.

You have one driver (Master) and many passengers (Slaves)
The Master can only talk to one Slave at a time.

David.

nagu3112


Go Up