Skip to content
bkallaher edited this page Sep 6, 2015 · 2 revisions

SPI (Serial Peripherl Interface)

Currently, the SPI section of SUBLIBinal is under construction. There are only functions available for sending SPI communication. SPI will be completely implemented in the future. SUBLIBinal only supports single-master multi-slave configurations for SPI. SPI documentation has been split into three sections including enumeration definitions, structure declarations, and available functions. Please select from the following list for the appropriate documentation.

SPI Implementation:

To view examples of utilizing SPI using the SUBLIBinal library, please refer to the SPI Example.

What is SPI?

SPI is a form of inter-device communication that is supported within most microcontrollers. SPI communication is slightly less complicated than I2C, as only two devices may talk to each other simultaneously, but it requires more wires. SPI communication utilizes a select line and a clock line. Devices are selected and then communication occurs. However, because a clock line is shared with an SPI device and a slave device, faster communication can happen. SPI tends to support must faster communication rates than either UART or I2C.

Clone this wiki locally