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

SPORT Operation Modes
To transmit or receive words continuously in left-justified sample pair
mode, load the
example, for 8-bit data words where

Enabling SPORT Master Mode (MSTR)

The SPORTs transmit and receive channels can be configured for master
or slave mode. In master mode (
word select and serial clock signals for the transmitter or receiver. In slave
mode (
= 0), an external source generates the word select and serial
MSTR
clock signals for the transmitter or receiver.
"Setting the Internal Serial Clock and Frame Sync Rates" on page 5-17.

Selecting Transmit and Receive Channel Order (FRFS)

Using the
FRFS
falling) on which the serial ports transmit or receive the first sample. See
Table 5-1 on page 5-11

Selecting Frame Sync Options (DIFS)

When using both SPORT channels (
mitters and
MSTR
frame sync signal only when both transmit buffers contain data.This is
because both transmitters share the same
tinuous transmission, both transmit buffers must contain new data.
When using both SPORT channels as transmitters and
= 1 and
SPTRAN
frequency set by
data. The DMA controller or the application is responsible for filling the
transmit buffers with data.
5-18
register with the
DIV
MSTR
bit, it is possible to select which frame sync edge (rising or
for more details.
= 1,
= 1, and
SPTRAN
= 1, the processor generates a frame sync signal at the
DIFS
, whether or not the transmit buffers contain new
FSDIVx
ADSP-21368 SHARC Processor Hardware Reference
value the same as
FSDIV
= 7, set
SLEN
FSDIV
= 1), the processor generates the
For more information, see
and
SPORTx_DA
SPORTx_DB
= 0, the processor generates a
DIFS
and
FSDIV
SPORTx_FS
. For
SLEN
= 7.
) as trans-
. For con-
= 1,
MSTR

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?

Table of Contents