Download Print this page

Renesas REJ06B0732-0100 Application Note page 3

Data transfer between on-chip ram areas with dmac (cycle-stealing mode)

Advertisement

2.
Description of Sample Application
In this sample application, the direct memory access controller (DMAC) is set to auto request mode to transfer 512-
Kbtyte data stored in the on-chip RAM to another address.
2.1
Operation of Modules Used
When a DMA transfer request is made, the DMAC starts to transfer data in accordance with the priority order of
channels and continues the transfer operation until the transfer end condition is met. Transfer requests for the DMAC
are of three kinds: auto requests, external requests, and on-chip peripheral module requests. The bus mode is selectable
as burst mode or cycle-stealing mode.
For details on the DMAC, refer to the section on the direct memory access controller in the SH7211 Group Hardware
Manual.
An overview of the DMAC is given in table 1. Examples of DMA transfer in cycle-stealing mode and burst mode are
shown in figures 1 and 2, respectively. In addition, a block diagram of the DMAC is shown in figure 3.
Table 1
Overview of DMAC
Item
Number of channels
Address space
Length of transfer data
Maximum transfer count
Address mode
Transfer request
Bus mode
Priority level
Interrupt request
External request detection
Transfer request acknowledge
signal/transfer end signal
REJ06B0732-0100/Rev.1.00
Data Transfer between On-chip RAM Areas with DMAC (Cycle-Stealing Mode)
Description
8 (CH0 to CH7)
Only 4 (CH0 to CH3) can receive external requests.
4 Gbytes
Byte, word (2 bytes), longword (4 bytes), and 16 bytes (longword × 4)
16,777,216 (24 bits) transfers
Single address mode and dual address mode
External request, on-chip peripheral module request, and auto request
(SCIF: 8 sources, IIC3: two sources, A/D converter: one source, MTU2:
five sources, CMT: two sources)
Cycle-stealing mode (normal mode and intermittent mode) and burst
mode
Channel priority fixed mode and round-robin mode
An interrupt request to the CPU is made when half or all of a transfer
process is completed.
DREQ input low/high level detection, rising/falling edge detection
Active levels for DACK and TEND can be set independently
March 2008
SH7211 Group
Page 3 of 13

Advertisement

loading

This manual is also suitable for:

Sh7211