ADSP-2126x SHARC Processor Hardware Reference
9-17
Serial Ports
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
transfer mode. Clear
SDEN_A
or
SDEN_B
(=0) to disable DMA and set the
channel in an interrupt-driven data transfer mode.
Interrupt-Driven Data Transfer Mode
Both the A and B channels share a common interrupt vector, regardless of
whether they are configured as transmitters or receivers.
The SPORT generates an interrupt in every core clock cycle when the
transmit buffer has a vacancy or the receive buffer has data. To determine
the source of an interrupt, applications must check the transmit or receive
data buffer status bits. For details, see
DMA-Driven Data Transfer Mode
Each transmitter and receiver has its own DMA registers. For details, see
“Selecting Transmit and Receive Channel Order (FRFS)” on page 9-16
and
“Moving Data Between SPORTS and Internal Memory” on
. The same DMA channel drives both samples in the pair for the
transmitter or receiver. The software application must stop multiplexing
the left and right channel data received by the receive buffer, because the
left and right data is interleaved in the DMA buffers.
Channel A and B on each SPORT share a common interrupt vector. The
DMA controller generates an interrupt at the end of DMA transfer only.
shows the relationship between frame sync (word select), serial
clock, and Left-justified mode data. Timing for word select is the same as
for frame sync.
Содержание 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 ...