Moving Data Between SPORTS and Internal Memory
Modify register (
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
register is a signed integer, which provides capability for both incre-
IM
menting and decrementing the buffer pointer.
Each DMA channel has a Count register (
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 (
The
register functions are used in chained DMA operations. For
CPSPxy
more information on SPORT DMA chaining registers, see
page
9-69.
Table 9-10. SPORT DMA Parameter Registers Addresses
Register
IISP0A
IMSP0A
CSP0A
CPSP0A
IISP0B
IMSP0B
CSP0B
CPSP0B
IISP1A
IMSP1A
CSP1A
9-70
) for setting up a data buffer in internal memory.
IMSPxy
Address
DMA Channel
0xc40
0
0xc41
0
0xc42
0
0xc43
0
0xc44
1
0xc45
1
0xc46
1
0xc47
1
0xc48
2
0xc49
2
0xc4A
2
ADSP-2126x SHARC Processor Hardware Reference
), which must be
CSPxA/CSPxB
Table 9-9 on
SPORT Buffer
RXSP0A or TXSP0A
RXSP0A or TXSP0A
RXSP0A or TXSP0A
RXSP0A or TXSP0A
RXSP0B or TXSP0B
RXSP0B or TXSP0B
RXSP0B or TXSP0B
RXSP0B or TXSP0B
RXSP1A or TXSP1A
RXSP1A or TXSP1A
RXSP1A or TXSP1A
).
CPSPxy
Need help?
Do you have a question about the ADSP-21261 SHARC and is the answer not in the manual?
Questions and answers