Chapter 8 DMA Controller
8-17
8.3.9 DMA
Transfer
The sequence of DMA transfer that uses only the DMA Channel Register is as follows below.
1. Select DMA request signal
When performing external I/O or internal I/O DMA, set the DMA Request Select field
(PCFG.DMASEL) of the Pin Configuration Register.
2. Set the Master Enable bit
Set the Master Enable bit (DMMCR.MSTEN) of the DMA Master Control Register.
3. Set the Address Register and Count Register
Set the five following register values.
•
DMA Source Address Register (DMSARn)
•
DMA Destination Address Register (DMDARn)
•
DMA Count Register (DMCNTRn)
•
DMA Source Address Increment Register (DMSAIRn)
•
DMA Destination Address Increment Register (DMDAIRn)
4. Set
Chain
Address
Register
Set “0” to the DMA Chain Address Register (DMCHARn).
5. Clear the DMA Channel Status Register (DMCSRn)
Clear when status from the previous DMA transfer remains.
6. Set the DMA Channel Control Register (DMCCRn)
7. Initiate DMA transfer
DMA transfer is started by setting the Transfer Active bit (XFACT) of the DMA Channel Control
Register.
8. Signal
completion
When DMA data transfer ends normally, set the Normal Transfer Complete bit (NTRNFC) of the
DMA Channel Status Register (DMCSRn). An interrupt is signalled if the Transfer Complete
Interrupt Enable bit (INTENT) of the DMA Channel Control Register (DMCCRn) is set.
If an error is detected during DMA transfer, the error cause is recorded in the lower four bits of the
DMA Channel Status Register and the transfer is interrupted. If the Error Interrupt Enable bit
(INTENE) of the DMA Channel Control Register is set, then the interrupt is signaled.
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 ...