SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
An SPI module is a 3-wire or 4-wire bidirectional communication interface that converts data between parallel and serial. The SPI performs serial-to-parallel conversion on data received from a peripheral device and performs parallel-to-serial conversion on data transmitted to a peripheral device. The SPI can be configured as either a master or slave device. As a slave device, the SPI can be configured to disable its output, which allows coupling of a master device with multiple slave devices. The TX and RX paths are buffered with separate internal FIFOs.
The SPI also includes a programmable bit rate clock divider and prescaler to generate the output serial clock derived from the input clock of the SPI. Bit rates are generated based on the input clock, and the maximum bit rate is determined by the connected peripheral.
The CC13x4x10 and CC26x4x10 device platform includes four SPI modules with the following features:
Programmable interface operation for Motorola SPI (3-wire and 4-wire), MICROWIRE, or TI synchronous serial interfaces
Master or slave operation
Programmable clock bit rate and prescaler
Separate TX and RX FIFOs, each 32 bits wide and 8 locations deep
Programmable data-frame size from 4 bits to 32 bits
Internal loopback test mode for diagnostic and debug testing
Standard FIFO-based interrupts and EoT interrupt
Efficient transfers using the µDMA controller:
Separate channels for TX and RX
Receive single request asserted when data is in the FIFO; burst request is asserted when FIFO contains a configurable number of entries
Transmit single request asserted when there is space in the FIFO; burst request is asserted when FIFO contains a configurable number of entries