Concept Flow - SPI master-slave architecture
Master initiates communication
Master sends clock pulses
Master sends data bits
Slave reads data bits on clock edges
Slave sends data bits back (optional)
Master reads slave data bits
Communication ends when master stops clock
The SPI master controls the clock and data flow, sending bits to the slave while the slave reads and optionally sends data back, synchronized by the clock.