Explanation Of Operation Of Μdmac - Fujitsu F2MC-16LX Hardware Manual

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Explanation of Operation of µDMAC
3.8.4
This section describes the µDMAC operation.
Operation of µDMAC
Figure 3.8-12 shows the DBAP operation.
Data transfer using µDMAC performs the following steps in order:
1. The peripheral resource (I/O) makes a request for DMA transfer.
2. If the DMA permission register (DERH/DERL) is "1", µDMAC reads transfer-related data, such as the
source and destination addresses for the specified channel and the transfer count, from the descriptor.
3. The DMA data transfer is begun between I/O and the memory.
4. After executing forwarding one byte or 1Word
(a) If transfer is not yet completed, that is, the DMA data counter (DDCT) does not contain 0 yet,
A request to clear the DMA transfer request is issued to the peripheral resource.
(b) When forwarding ends (DMA data counter DDCT=0)
After completion of DMA transfer, the transfer end flag is set.
Note:
When writing to the internal register DSRH, DSRL, DSSR, DERH, and DERL, be sure to use the
read modify write (RMW) instruction.
Memory space
I/O register
Buffer
DIOA : DMA I/O address pointer
DBAP : DMA buffer address pointer
Figure 3.8-12 Operation of µDMAC
DIOA
I/O register
(4) (a)
(3)
DMA
CPU
DBAP
DDCT
Peripheral
function
(I/O)
(1)
(2)
controller
(4) (b)
(2)
Interrupt
controller
: DMA enable register
DER
DDCT
: DMA data counter
CHAPTER 3 INTERRUPT
RAM for descriptor
DMA
descriptor
101

Advertisement

Table of Contents
loading

Table of Contents