English
Language : 

SH7730 Datasheet, PDF (490/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series
Section 12 Direct Memory Access Controller (DMAC)
Start
Initial settings
(SAR, DAR, TCR, CHCR, DMAOR,
SARB,DARB, TCRB, DMARS)
DE, DME = 1 and
No
TE, AE, NMIF = 0?
*1
Yes
Transfer request occurs?
No
Yes
*2
Transfer (1 transfer unit);
TCR – 1 → TCR, SAR, and DAR updated *6
Reload mode: TCRBL – 1 → TCRBL
Reload mode?
Yes
No
No
TCRBL = 0?
Yes
SARB/DARB load
*5
TCRBH → TCRBL load
*6
*3
*4
Bus mode,
DREQdetection system,
transfer request mode
TCR = 0?
No
Yes
TE = 1
DEI interrupt request
(IE = 1)
No
TCR = TCRB/2?
Yes
HE = 1, DEI interrupt request
(HIE = 1)
Notes:
Yes
Repeat mode?
NMIF = 1 or AE = 1 or
No
DE = 0 or DME = 0?
No
SARB/DARB load
*5 Yes
TCRB → TCR load
NMIF = 1 or AE =1 or
DE = 0 or DME = 0?
Yes
No
HIE = 0 or HE = 1?
No
Yes
Normal end
Transfer end
1. In repeat mode, a transfer request is acceptted with TE =1 when HIE = 1 and HE = 0.
2. In auto-request mode, transfer starts when bits NMIF, AE, and TE are all 0 or bits TE
and HIE are 1 and HE is 0 (in repeat mode), and bits DE and DME are set to 1.
3. DREQ is level detection (external requesrt) in burst mode or cycle-steral mode.
4. DREQ is edge detection (external request) or auto request in burst mode.
5. Loading to SAR and DAR differs according to the operating conditions in each mode.
6. TCRBH represents bits TCRB[13:16] and TCRBL represents bits TCRB [15 to 0].
Figure 12.10 DMA Transfer Flowchart
Rev. 1.00 Sep. 19, 2007 Page 442 of 1136
REJ09B0359-0100