/ electronics / bus /

[edit]

bus SPI MOSI MISO

Definition

SPI is serial bus.

Specification

Signals
SCLK Serial Clock
MOSI Master Out, Slave In
MISO Master In, Slave Out
SS ¬Slave Select
Connection
Connection

Protocol

For CPOL=0, CPHA=0 (capture on rising edge):
           ___ ___ ___ ___ ___ ___ ___ ___       
MOSI ··XXXX___X___X___X___X___X___X___X___XXXXXX··
            |   |   |   |   |   |   |   | 
           ___ ___ ___ ___ ___ ___ ___ ___      
MISO ··XXXX___X___X___X___X___X___X___X___XXXXXX··
            |   |   |   |   |   |   |   | 
            |_  |_  |_  |_  |_  |_  |_  |_   
SCLK ··_____/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_____··
            0   1   2   3   4   5   6   7    
       ___                                   ___
SS1  ··   \_________________________________/   ··

The master must also configure the clock polarity: rising or falling edge

Configuration

-->