Chapter 30
Synchronous Serial Interface (SSI)
30.1 Introduction
This section presents the Synchronous Serial Interface (SSI) and discusses the architecture, programming
model, operating modes, and initialization of the SSI. The SSI is a full-duplex serial port that allows the
MC9328MX1 to communicate with a variety of serial devices. These serial devices include standard
codecs, digital signal processors (DSPs), microprocessors, peripherals that implement the Motorola Serial
Peripheral Interface (SPI), and popular industry audio codecs that implement the inter-IC sound bus
2
standard (I
S).
The SSI typically transfers samples in a periodic manner. The SSI consists of independent transmitter and
receiver sections with independent clock generation and frame synchronization functions.
The capabilities of the SSI include:
•
Independent (asynchronous) or shared (synchronous) transmit and receive sections with separate or
shared internal/external clocks and frame syncs, operating as master or slave
•
Normal mode operation using frame sync
•
Network mode operation allowing multiple devices to share the port with as many as 32 time slots
•
Gated clock mode operation requiring no frame sync
•
Programmable internal clock divider
•
Programmable data interface modes such as I
•
Programmable word length (8, 10, 12, or 16 bits)
•
Program options for frame sync and clock generation
•
Programmable I
•
Completely separate clock and frame sync selections for the receive and transmit sections
•
Programmable oversampling output clock SYS_CLK (PerCLK3) of the sampling frequency in
master mode at SSI_RXCLK pin when operated in sync mode.
•
SSI power-down feature
•
SSI signals are connected to Port B or Port C I/O pins
30.2 SSI Architecture
Figure 30-1 shows that the SSI functions can use Port B or Port C pins. For SSI output signals, the value
appears on both pins. However, SSI input or bidirectional signals require that the user configure one of the
ports for the signal. This is done by setting up the desired pin in the Function Muxing Control Register
MOTOROLA
2
S mode (master, slave, or normal) selection
Synchronous Serial Interface (SSI)
2
S, left-, and right-justified
30-1