Cirrus Logic EP93xx User Manual

Page 727

Advertising
background image

DS785UM1

23-15

Copyright 2007 Cirrus Logic

Synchronous Serial Port

EP93xx User’s Guide

2

3

2

3

23

Default:

0x0000_0000

Definition:

SSPCR1 is the control register 1 and contains six different bit fields, which
control various functions within the SSP.

Bit Descriptions:

RSVD:

Reserved. Unknown During Read.

SOD:

Slave-mode output disable. This bit is relevant only in the
slave mode (MS=1). In multiple-slave systems, it is
possible for an SSPMS master to broadcast a message to
all slaves in the system while ensuring that only one slave
drives data onto its serial output line. In such systems the
RXD lines from multiple slaves can be tied together. To
operate in such systems, the SOD may be set if the SSP
slave is not supposed to drive the SSPTXD line.
0 - SSP may drive the SSPTXD output in slave mode.
1 - SSP must not drive the SSPTXD output in slave
modes.

MS:

Master / Slave mode select. This bit can be modified only
when the SSP is disabled (SSE=0).
0 - Device configured as master (default).
1 - Device configured as slave.

SSE:

Synchronous serial port enable:
0 - SSP operation disabled
1 - SSP operation enabled.

LBM:

Loop back mode:
0 - Normal serial port operation enabled.
1 - Output of transmit serial shifter is connected to input of
receive serial shifter internally.

RORIE:

Receive FIFO overrun interrupt enable:
0 - Overrun detection is disabled. Overrun condition does
not generate the SSPRORINTR interrupt.
1 - Overrun detection is enabled. Overrun condition
generates the SSPRORINTR interrupt.

TIE:

Transmit FIFO interrupt enable:
0 - Transmit FIFO half-full or less condition does not
generate the SSPTXINTR interrupt.
1 - Transmit FIFO half-full or less condition generates the
SSPTXINTR interrupt.

Advertising