Electronic – what happens to SPI clock in loop-back

clockspi

I want to use SPI module in loop-back mode. so I wire MOSI to MISO.

but how about the clock??. is it wired somewhere?? and how the clock works loop-back mode

Best Answer

Usually you don't have to wire the clock as the sending device, which transmits also the clock, always samples the data at the same clock it sends the data out.