SPORT Operation Modes
9-16
ADSP-2126x SHARC Processor Hardware Reference
To transmit or receive words continuously in Left-justified Sample Pair
mode, load the
FSDIV
register with the same value as
SLEN
. For example,
for 8-bit data words (
SLEN
= 7), set
FSDIV
= 7.
Enabling SPORT Master Mode (MSTR)
The SPORTs transmit and receive channels can be configured for Master
or Slave mode. In Master mode, (
MSTR
= 1) the processor generates the
word select and serial clock signals for the transmitter or receiver. In Slave
mode, (
MSTR
= 0) an external source generates the word select and serial
clock signals for the transmitter or receiver.
“Setting the Internal Serial Clock and Frame Sync Rates” on page 9-15.
Selecting Transmit and Receive Channel Order (FRFS)
Using the
FRFS
bit, it is possible to select which frame sync edge (rising or
falling) that the SPORTs transmit or receive the first sample. See
for more details.
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
CLKDIV
and
SPORTx_FS
. For continuous
transmission, both transmit buffers must contain new data.
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.
Содержание 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 ...