Go Down

Topic: Serial Peripheral Interface (SPI) Bus (Read 1 time) previous topic - next topic


can i communicate two device using the Serial Peripheral Interface (SPI) Bus in one arduino board ?
because i need to connect two device ( SD card shield with screen led matrix ) in one program and both of them need SPI pins , i don't know if one board include to two SPI pins or not and if not, How i connect two arduino board together work on the same program  ?


Both devices are wired to SCK, MOSI, MISO in parallel.
Each device gets its own SlaveSelect pin.
Use D10 for the SD, and a different pin for the other one (D9 perhaps).

Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131