The clock is used to keep both sides in a perfect sync. Is is a synchronous data bus, using separate lines for data and for the “clock”. SPI on the other hand works in a total different way. Is important to notice that 2 systems always have slightly differences in their ‘clock’ no matter how precisely they are designed. SPI stands for Serial Peripheral Interface and it is commonly used among micro-controllers and small peripheral devices(for example SD cards, sensors, or shift registers) to communicate with each other.Īsynchronous serial ports( a common serial port with Tx and Rx lines) doesn’t offer any guarantee that both sides are running in the same rate, and no control over when data is sent.