SPI_Driver_TM4C123

SPI communication modules of TM4C123 microcontroller using Tiva C Launchpad. As per the nomenclature of the TM4C123x microcontroller, the name used for SPI modules is a synchronous serial interface(SSI). But it is popularly referred to as a serial peripheral interface. That is why we will use the term SPI instead of SSI.

SPI Modules Pins

TM4C123 microcontroller has four SPI modules. In order for SPI based devices to communicate with each other, four pins are required such as clock, serial data in, serial data out and frame signal.

image

TM4C123 SPI Configuration Registers

These registers are used to configure SPI modules of TM4C123 in master and slave mode. This table lists configuration registers and their functions.

image

Testing

The driver has been tested using Tiva C as master and Arduino UNO as Slave Sending a series of Characters from Tiva C to Arduino UNO and showing the output on the Serial Monitor of arduino IDE

image

Video

Everything Is AWESOME