LS_Synchronous serial peripheral (SSP)
RM0082
270/844
Doc ID 018672 Rev 1
13
LS_Synchronous serial peripheral (SSP)
13.1 Overview
Within its low speed connectivity, the device provides one ARM PrimeCell® synchronous
serial port (SSP) block that offers a master or slave interface to enables synchronous serial
communication with slave or master peripherals
Main features of the SSP are:
●
Master or slave operation.
●
Programmable clock bit rate and prescale.
●
Separate transmit and receive first-in, first-out memory buffers, 16 bits wide, 8 locations
deep.
●
Programmable choice of interface operation, SPI, Microwire, or TI synchronous serial.
●
Programmable data frame size from 4 to 16 bits.
●
Independent masking of transmit FIFO, receive FIFO, and receive overrun interrupts.
●
Internal loopback test mode available.
●
Support for direct memory access (DMA).
13.2 Block
diagram
shows the block diagram of SPI controller.
Figure 22.
SPI block diagram
AMBA APB
I/F
Tx FIFO
(16x8)
Rx FIFO
(16x8)
Register
Block
DMA
interface
Clock
Prescaler
Transmit/
Receive
logic
FIFO Status
And
Interrupt
Generation
IRQ
SPI BUS
PCLK