The SPI modules have the following features:
- Configurable as a controller or a
peripheral
- Programmable clock bit rate and prescaler
- Separate transmit (TX) and receive (RX) first-in first-out buffers (FIFOs)
- Programmable data frame size from
4-bits to 16-bits (Controller Mode)
- Programmable data frame size from
7-bits to 16-bits (Peripheral Mode)
- Supports PACKEN feature that
allows the packing of two 16 bit FIFO entries into a 32-bit value to improve CPU
performance. However, not all devices support packing. Please check device
specific data sheet.
- Interrupts for transmit and receive FIFOs, overrun and timeout interrupts, and
DMA done
- Programmable SPI mode support
Motorola SPI, MICROWIRE, or Texas Instruments format
- Single bit parity will be supported in both transmit and receive paths using the
CTL1.PTEN and CTL1.PREN bits
- Direct memory access controller interface (DMA):
- Separate channels for transmit and receive
- Transfer complete interrupt