Moving Data Between SPORTS and Internal Memory
9-70
ADSP-2126x SHARC Processor Hardware Reference
Modify register (
IMSPxy
) for setting up a data buffer in internal memory.
It is necessary to initialize the Index register with the starting address of
the data buffer. After it transfers each serial I/O word to (or from) the
SPORT, the DMA controller adds the modify value to the Index register
to generate the address for the next DMA transfer. The modify value in
the
IM
register is a signed integer, which provides capability for both incre-
menting and decrementing the buffer pointer.
Each DMA channel has a Count register (
CSPxA/CSPxB
), which must be
initialized with a word count that specifies the number of words to trans-
fer. The Count register decrements after each DMA transfer on the
channel. When the word count reaches zero, the SPORT generates an
interrupt, then automatically stops DMA transfers in the DMA channel.
Each SPORT DMA channel also has a Chain Pointer register (
CPSPxy
).
The
CPSPxy
register functions are used in chained DMA operations. For
more information on SPORT DMA chaining registers, see
.
Table 9-10. SPORT DMA Parameter Registers Addresses
Register
Address
DMA Channel
SPORT Buffer
IISP0A
0xc40
0
RXSP0A or TXSP0A
IMSP0A
0xc41
0
RXSP0A or TXSP0A
CSP0A
0xc42
0
RXSP0A or TXSP0A
CPSP0A
0xc43
0
RXSP0A or TXSP0A
IISP0B
0xc44
1
RXSP0B or TXSP0B
IMSP0B
0xc45
1
RXSP0B or TXSP0B
CSP0B
0xc46
1
RXSP0B or TXSP0B
CPSP0B
0xc47
1
RXSP0B or TXSP0B
IISP1A
0xc48
2
RXSP1A or TXSP1A
IMSP1A
0xc49
2
RXSP1A or TXSP1A
CSP1A
0xc4A
2
RXSP1A or TXSP1A
Содержание 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 ...