Serial Peripheral Interface (SPI) Bus

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 ?

Yes.
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).

thanks :slight_smile: