CHAPTER 14 DMA CONTROLLER (DMAC)
14.4 Operation Flowcharts
This section contains operation flowcharts for the following transfer modes:
• Block transfer
• Burst transfer
• Demand transfer
■ Block Transfer
Figure 14.4-1 shows the operation flowchart for block transfer.
DENB=>0
Reload enable
transfer count, and number
Calculate the address for
transfer source address access
Calculate the address for transfer
destination address access
Block transfer
- Can be activated by all activation sources (selection).
- Can access to all areas.
- The number of blocks can be set.
- Interrupt clear is issued when the specified number of blocks is completed.
- The DMA interrupt is issued when transfer for the number of times specified is completed.
432
Figure 14.4-1 Operation Flowchart for Block Transfer
DMA stop
DENB=1
Activation request
wait
Activation request
Load the initial address,
of blocks
Number of blocks - 1
BLK=0
Transfer count - 1
Write back the address,
transfer count, and
number of blocks
DMA transfer end
One-time access for fly-by
Only when the peripheral
interrupt activation source
is selected
Interrupt cleared
Interrupt clear
DTC=0
DMA interrupted