Dma Data Transfer; Single Transfer Mode - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

Chapter 14
DMA Controller

14.3 DMA Data Transfer

There are two transfer modes, single transfer and burst transfer, which are selected with the DMCTR0H.DMTM.
14.3.1

Single Transfer Mode

When the DMA start trigger occurs, single data, the size of which is decided with DMCTR0H.DMUT, is trans-
ferred and the data transfer counter consisting of DMCNTH and DMCNTL are decremented by one. When all the
single data transfer finishes, DMA interrupt occurs.
If the DMA start trigger happens during the time after DMA reads the last single data from Source Address and
before the DMCTR1L.DMTEN is set to "1" by software (for example, the period (B) in the Figure:14.3.1), DMA-
AddReq interrupt occurs.
If the DMA start trigger happens during the time after the DMA start trigger occurs and before DMA reads the
data (not limited to the last single data) from Source Address (for example, the period (A) in the Figure:14.3.1),
DMA-Error interrupt occurs.
DMCNTH
DMCNTL
DMA
Memory Access
DMA
start trigger
DMTEN of
DMCTR1L
XIV - 12
DMA Data Transfer
3
2
Read
Write
DMA
start trigger
Period (A)
Figure:14.3.1 Example of Single Transfer
1
Read
Write
DMA
start trigger
Period (A)
0
Read
Write
DMA
Period (A)
interrupt
Period (B)
Set the DMTEN to "1"
by software for next DMA.
When DMA interrupt occurs,
the DMTEN is cleard to "0" by hardware.
N

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents