Chapter 14 AC-link Controller
14-12
14.3.6.4 DMA Operation
When ACLC’s REQ latch (refer to Figure 14.3.6 and Figure 14.3.7) needs to read or write
sample-data, it issues a DMA request. When DMAC acknowledges the request by performing
write- or read-access to the ACLC sample-data register, ACLC deasserts the request. Therefore,
the software must properly set up DMAC so that the source or destination points to the
corresponding sample-data register for the DMA channel.
Setup the DMA Channel Control Registers (DMCCRn) in DMAC as follows.
Immediate chain
Enable
DMCCRn.IMMCHN = 1 [Note]
DMA request polarity
Low-active
DMCCRn.REQPOL = 0
DMA acknowledge polarity
Low-active DMCCRn.ACKPOL
=
0
Request sense
Level-sensitive
DMCCRn.EGREQ = 0
Sample chain
1 word
DMCCRn.SMPCHN = 1
Transfer size
1 word
DMCCRn.XFSZ = 010b
Transfer address mode
Dual
DMCCRn.SNGAD = 0
Note: Use this setting when DMA chain operation is utilized
For a transmission channel, assign the address of ACLC Audio PCM
Output/Surround/Center/LFE/Modem Output Register (ACAUDO/SURR/CENT/LFE/
MODODAT) to the DMAC destination address register (DMDARn). For a reception channel,
assign the address of ACLC Audio input/Modem Input Register (ACAUDI/MODIDAT) to the
DMAC source address register (DMSARn).
When any DMA request is pending, the REQ latch will not deasserted the request until the
corresponding sample-data register is accessed. Just unsetting ACLC Control Enable Register
(ACCTLEN)’s DMA Enable (xxxxDMA) bit corresponding to the DMA will not clear the REQ
latch.
The procedure to continuously push or pull the sample-data stream through the chain DMA
operation follows the DMAC specification. Refer to section 8.3.10 for this respect.
Summary of Contents for TX49 TMPR4937
Page 1: ...64 Bit TX System RISC TX49 Family TMPR4937 Rev 2 0 ...
Page 4: ......
Page 13: ...Table of Contents ix TMPR4937 Revision History 1 ...
Page 14: ...Table of Contents x ...
Page 15: ...Handling Precautions ...
Page 16: ......
Page 18: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Page 40: ...3 General Safety Precautions and Usage Considerations 3 18 ...
Page 42: ...4 Precautions and Usage Considerations 4 2 ...
Page 43: ...TMPR4937 2005 3 Rev 2 0 ...
Page 44: ......
Page 52: ...Chapter 1 Overview and Features 1 6 ...
Page 156: ...Chapter 7 External Bus Controller 7 56 ...
Page 491: ...Chapter 16 Removed 16 1 16 Removed ...
Page 492: ...Chapter 16 Removed 16 2 ...
Page 493: ...Chapter 17 Removed 17 1 17 Removed ...
Page 494: ...Chapter 17 Removed 17 2 ...
Page 495: ...Chapter 18 Removed 18 1 18 Removed ...
Page 496: ...Chapter 18 Removed 18 2 ...
Page 497: ...Chapter 19 Removed 19 1 19 Removed ...
Page 498: ...Chapter 19 Removed 19 2 ...
Page 506: ...Chapter 20 Extended EJTAG Interface 20 8 ...
Page 530: ...Chapter 22 Pinout and Package Information 22 10 ...
Page 542: ...Chapter 24 Parts Number when Ordering 24 2 ...