AVR - SPI - Serial Pheripheral Interface Tutorial - C Code Example - ATmega8 Code
AVR ATMega8 microcontroller has inbuilt SPI module. First SPI intorduction, and then let us see how to use it.
Serial
Peripheral Interface Bus or SPI
bus is a synchronous serial data link standard, named by Motorola, that
operates in full duplex mode. Devices communicate in master/slave mode where
the master device initiates the data frame. Multiple slave devices are allowed
with individual slave select (chip select) lines. Sometimes SPI is called a four-wire
serial bus, contrasting with three-, two-, and one-wire serial buses. SPI is
often referred to as SSI