The most simple SPI - Example
This 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.
In life-project
will this design however seldom be useful :-)