Dma Transfer Requests - Hitachi SH7750 series Hardware Manual

Superh risc engine
Hide thumbs Also See for SH7750 series:
Table of Contents

Advertisement

14.3.2

DMA Transfer Requests

DMA transfer requests are basically generated at either the data transfer source or destination, but
they can also be issued by external devices or on-chip peripheral modules that are neither the
source nor the destination.
Transfers can be requested in three modes: auto-request, external request, and on-chip peripheral
module request. The transfer request mode is selected by means of bits RS3–RS0 in DMA channel
control registers 0–3 (CHCR0–CHCR3).
Auto Request Mode: When there is no transfer request signal from an external source, as in a
memory-to-memory transfer or a transfer between memory and an on-chip peripheral module
unable to request a transfer, the auto-request mode allows the DMAC to automatically generate a
transfer request signal internally. When the DE bit in CHCR0–CHCR3 and the DME bit in the
DMA operation register (DMAOR) are set to 1, the transfer begins (so long as the TE bit in
CHCR0–CHCR3 and the NMIF and AE bits in DMAOR are all 0).
External Request Mode: In this mode a transfer is performed in response to a transfer request
signal ('5(4) from an external device. One of the modes shown in table 14.4 should be chosen
according to the application system. If DMA transfer is enabled (DE = 1, DME = 1, TE = 0, NMIF
= 0, AE = 0), transfer starts when '5(4 is input. The DS bit in CHCR0/CHCR1 is used to select
either falling edge detection or low level detection for the '5(4 signal (level detection when DS
= 0, edge detection when DS = 1).
The source of the transfer request does not have to be the data transfer source or destination.
Table 14.4 Selecting External Request Mode with RS Bits
RS3
RS2
RS1
0
0
0
1
RS0
Address Mode
0
Dual address
mode
0
Single address
mode
1
Single address
mode
Transfer Source
External memory
or memory-mapped
external device
External memory
or memory-mapped
external device
External device with
DACK
Rev. 4.0, 04/00, page 441 of 850
Transfer Destination
External memory
or memory-mapped
external device
External device
with DACK
External memory
or memory-mapped
external device

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750sSh7750

Table of Contents