Enabling Sport Master Mode (Mstr); Selecting Transmit And Receive Channel Order (Frfs); Selecting Frame Sync Options (Difs) - Analog Devices SHARC ADSP-21368 Hardware Reference Manual

Hide thumbs Also See for SHARC ADSP-21368:
Table of Contents

Advertisement

Enabling SPORT Master Mode (MSTR)

The SPORTs transmit and receive channels can be configured for master
or slave mode. In master mode, the processor generates the word select
and serial clock signals for the transmitter or receiver. In slave mode, an
external source generates the word select and serial clock signals for the
transmitter or receiver. When
external word select and clock source and the SPORT transmitter or
receiver is a slave. When
internal clock for word select and clock source and the SPORT transmit-
ter or receiver is the master. For more information, see
Internal Serial Clock and Frame Sync Rates" on page

Selecting Transmit and Receive Channel Order (FRFS)

In master and slave modes, programs can configure which I
each SPORT channel transmits or receives first. By default, the SPORT
channels transmit and receive on the right I
2
right I
S channels are time-duplexed data channels.
To select the channel order, set the
the left channel first, or clear the
the right channel first.

Selecting Frame Sync Options (DIFS)

The
bit selects whether the serial port uses the data independent
DIFS
frame sync or the data dependant frame sync. Normally, the internally
generated frame sync signal is output only when the transmit buffer has
data ready to transmit for the transmitter and when the receive buffer is
not full for the receiver. The data-independent frame sync (DIFS) mode
allows the continuous generation of the
data in the transmit register or the receive buffer.
ADSP-21368 SHARC Processor Hardware Reference
is cleared (=0), the processor uses an
MSTR
is set (=1), the processor uses the processor's
MSTR
bit (= 1) to transmit or receive on
FRFS
bit (= 0) to transmit or receive on
FRFS
FSx
Serial Ports
"Setting the
5-17.
2
S channel that
2
S channel first. The left and
signal, with or without new
5-23

Advertisement

Table of Contents
loading

Table of Contents