Transfer Modes; Single Transfer Mode - NEC V850E/RS1 User Manual

32-/16-bit single-chip microcontroller with can interface
Table of Contents

Advertisement

15.5 Transfer Modes

In the following examples it is assumed that TCS is set as "1" for all DMA channels.

15.5.1 Single transfer mode

In Single transfer mode, the DMA releases the bus after each transfer. If there is a subsequent DMA
transfer request, the transfer is performed again when the bus becomes available again. This operation
continues until the transfer counter is cleared to 0 and the internal TC signal is generated.
When the DMA has released the bus, if another higher priority DMA transfer request is issued, the
higher priority DMA request always takes precedence.
A Single transfer mode example is shown in Figures 15-13 and 15-14.
Figure 15-13 shows the transfers of DMA0 with DMBC0 set to 3 at the beginning of the transfers:
Figure 15-14 shows the Single Transfer mode with DMA requests on multiple DMA channels. The
number of transfers is set to 2 for all channels (DMBCn=1) at the beginning.
DMMRQ0
DMMRQ2
DMMRQ4
INTDMA0
INTDMA2
INTDMA4
Note: The bus is always released.
After each bus release, the DMA controller checks which pending DMA request has the highest priority,
delaying the execution of the lower-prioritized DMA transfer accordingly.
522
Downloaded from
Elcodis.com
electronic components distributor
Chapter 15 DMA Functions (DMA Controller)
Figure 15-13: Single Transfer Mode Example (1 Channel)
DMMRQ0
CPU
CPU
CPU
CPU DMA0 CPU DMA0
INTDMA0
Note: The bus is always released.
Figure 15-14: Single Transfer Mode Example (3 Channels)
<2>
<3>
<1>
<4>
Note
CPU
CPU DMA4
CPU DMA0 CPU DMA2
<1>
Note
Note
CPU
CPU DMA0 CPU DMA0
<5>
<6>
Note
Note
Note
CPU
DMA0 CPU DMA2
<2>
<3>
<5>
User's Manual U16702EE3V2UD00
Note
Note
CPU
CPU
CPU
Note
CPU
DMA4
CPU
CPU
CPU
<6>
<4>

Advertisement

Table of Contents
loading

Table of Contents