SPI VS IIC
SPI vs. I2C
Both SPI and I2C provide good support for communication with slow
peripheral devices that are accessed intermittently. EEPROMs and real-time
clocks are examples of such devices. But SPI is better suited than I2C for
applications that are naturally thought of as data streams (as opposed to
reading and writing addressed locations in a slave device). An example of a
"stream" application is data communication between microprocessors or
digital signal processors. Another is data transfer from analog-to-digital
converters.
SPI can also achieve significantly higher data rates than I2C. SPI-
compatible interfaces often range into the tens of megahertz. SPI really
gains efficiency in applications that take advantage of its duplex
capability, such as the communication between a "codec" ……