
SPORT Operation Modes
9-22
ADSP-2126x SHARC Processor Hardware Reference
To select the channel order, set the
FRFS
bit (= 1) to transmit or receive on
the left channel first, or clear the
FRFS
bit (= 0) to transmit or receive on
the right channel first.
Selecting Frame Sync Options (DIFS)
When using both SPORT channels (
SPORTx_DA
and
SPORTx_DB
) as trans-
mitters and
MSTR
= 1,
SPTRAN
= 1, and
DIFS
= 0, the processor generates a
frame sync signal only when both transmit buffers contain data because
both transmitters share the same
SPORTx_CLK
and
SPORTx_FS
. For continu-
ous transmission, both transmit buffers must contain new data.
When using both SPORT channels (
SPORTx_DA
and
SPORTx_DB
) as receiv-
ers and
MSTR
= 1,
SPTRAN
= 0, and
DIFS
= 0, the processor generates a frame
sync signal only when both receive buffers are not full because they share
the same
SPORTx_CLK
and
SPORTxFS
.
When using both SPORT channels as transmitters and
MSTR
= 1,
SPTRAN
= 1 and
DIFS
= 1, the processor generates a frame sync signal at the
frequency set by
FSDIVx
whether or not the transmit buffers contain new
data. The DMA controller or the application is responsible for filling the
transmit buffers with data.
When using both SPORT channels as receivers and
MSTR
= 1,
SPTRAN
= 0
and
DIFS
= 1, the processor generates a frame sync signal at the frequency
set by
FSDIV
, irrespective of the receive buffer status. Bits 31–16 of the
DIV
register comprise the
FSDIV
bit field.
For more information, see “SPORT
Divisor Registers (DIVx)” on page A-86.
Enabling SPORT DMA (SDEN)
DMA can be enabled or disabled independently on any of the SPORT’s
transmit and receive channels.
For more information, see “Moving Data
Between SPORTS and Internal Memory” on page 9-65.
Set
SDEN_A
or
SDEN_B
(=1) to enable DMA and set the channel in DMA-driven data
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...