English
Language : 

HD6417727BP160CV Datasheet, PDF (498/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 14 Direct Memory Access Controller (DMAC)
Table 14.10 Transfer Conditions and Register Settings for Transfer between External
Memory and SCIF Transmitter
Transfer Conditions
Transfer source: external memory
Value stored in address H'00400000
Value stored in address H'04500000
Transfer destination: On-chip SCIF TDR2
Number of transfers: 10
Transfer source address: incremented
Transfer destination address: fixed
Transfer request source: SCIF (TXI2)
Bus mode: cycle steal
Transfer unit: byte
No interrupt request generated at end of transfer
Channel priority order: 0 > 1 > 2 > 3
Register
SAR3
—
—
DAR3
DMATCR3
CHCR3
DMAOR
Setting
H'00400000
H'00450000
H'55
H'04000156
H'0000000A
H'00011C01
H'0001
When the indirect address is on, data stored in the address set in SAR is not used as transfer source
data. In the indirect address, after the value stored in the address set in SAR is read, the read value
is used as an address again, and the value stored in the address is read and stored in the address set
in DAR.
In the example shown in table 14.10, when an SCIF transfer request is generated, the DMAC reads
the value in address H'00400000 that is set in SAR3. Since the value H'00450000 is stored in the
address, the DMAC reads the value H'00450000. Next, the DMAC uses the read value as an
address again, and reads the value H'55 stored in that address. Then, the DMAC writes the value
H'55 to address H'04000156 that is set in DAR3; thus one indirect address transfer has completed.
In the indirect address, when data is read first from the address set in SAR3, the data transfer size
is always longword regardless of the settings of the TS0 and the TS1 bits that specify the transfer
data size. However, whether the transfer source address is fixed, incremented, or decremented is
specified with the SM0 and SM1 bits. Therefore, in this example, though the transfer data size is
specified as byte, the value in SAR3 is H'00400004 when one transfer ends. The write operation is
the same as that in the normal dual address transfer.
Rev.6.00 Mar. 27, 2009 Page 440 of 1036
REJ09B0254-0600