Data Transfers
10-46
ADSP-214xx SHARC Processor Hardware Reference
and then transferring it to external memory using DMA. The
ADSP-214xx processors allow direct DMA transfers between SPORTs
and external memory which removes this overhead, freeing up the core
and internal memory for other peripherals. The SPORT DMA and chain
pointer registers have been expanded to hold the external memory address.
Standard DMA
Each SPORT DMA channel has an enable bit (
SDEN_A
and
SDEN_B)
in its
SPCTLx
register. When DMA is disabled for a particular channel, the
SPORT generates an interrupt every time it receives a data word or when-
ever there is a vacancy in the transmit buffer. For more information, see
“Single Word Transfers” on page 10-43
To set up a serial port DMA channel, write a set of memory buffer param-
eters to the SPORT DMA parameter registers as shown in
.
Load the
II
,
IM
, and
C
registers with a starting address for the buffer, an
address modifier, and a word count, respectively. The register contains the
internal memory address for transfers to internal memory and the external
memory address for transfers to external memory. These registers can be
written from the core processor or from an external processor.
Once serial port DMA is enabled, the processor’s DMA controller auto-
matically transfers received data words in the receive buffer to the buffer
in internal or external memory, depending on the transfer type. Likewise,
when the serial port is ready to transmit data, the DMA controller auto-
matically transfers a word from internal or external memory to the
transmit buffer. The controller continues these transfers until the entire
data buffer is received or transmitted.
When the count register of an active DMA channel reaches zero (0), the
SPORT generates the corresponding interrupt.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...