The most simple SPI - Example
demonstrates the principle in SPI - Namely a Master and Slave
which exchanges data via MISO and MOSI respectively. The
simulation shows that the exchange actually happens as the two
8-bit shift-registers form a 16-bit ringbuffer.
will this design however seldom be useful :-)