Specifications

9-1
Serial Peripheral Interface (SPI)
The serial peripheral interface (SPI) is a high-speed synchronous serial input/
output (I/O) port that allows a serial bit stream of programmed length (one to
sixteen bits) to be shifted into and out of the device at a programmed bit-trans-
fer rate. The SPI is normally used for communications between the DSP con-
troller and external peripherals or another controller. Typical applications in-
clude external I/O or peripheral expansion via devices such as shift registers,
display drivers, and analog-to-digital converters (ADCs).
Most SPI registers are eight bits in width (except for the data registers), a carry-
over from the 8-bit version of the SPI on the TMS320C240 device. The upper
8 bits return 0s when read.
Topic Page
9.1 Differences vs. ’C240 SPI 9-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.2 SPI Control Registers 9-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.3 SPI Operation 9-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.4 SPI Interrupts 9-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.5 SPI Control Registers 9-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.6 SPI Example Waveforms 9-29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 9