upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 522

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
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.
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
Note: The bus is always released.
DMMRQ0
DMMRQ2
DMMRQ4
INTDMA2
INTDMA4
INTDMA0
Note: The bus is always released.
DMMRQ0
INTDMA0
CPU
CPU
Figure 15-14: Single Transfer Mode Example (3 Channels)
Figure 15-13: Single Transfer Mode Example (1 Channel)
CPU DMA4
<1>
CPU
<1>
Chapter 15 DMA Functions (DMA Controller)
CPU
Note
CPU DMA0 CPU DMA2
<2>
<3>
<4>
CPU DMA0 CPU DMA0
User’s Manual U16702EE3V2UD00
<2>
Note
<5>
Note
<3>
Note
CPU
<6>
Note
CPU
DMA0 CPU DMA2
<5>
CPU DMA0 CPU DMA0
Note
<6>
Note
Note
CPU
DMA4
<4>
Note
CPU
CPU
CPU
CPU
CPU
CPU

Related parts for upd70f3402