Section 9 Direct Memory Access Controller (DMAC)
Rev. 5.00 May 29, 2006 page 300 of 698
REJ09B0146-0500
Table 9.8
Transfer Conditions and Register Settings for Transfer between External
Memory and SCIF Transmitter
Transfer Conditions
Register
Setting
Transfer source: external memory
SAR_3
H'00400000
Value stored in address H'00400000
—
H'00450000
Value stored in address H'04500000
—
H'55
Transfer destination: On-chip SCIF TDR2
DAR_3
H'04000156
Number of transfers: 10
DMATCR_3
H'0000000A
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
CHCR_3
H'00011C01
Channel priority order: 0 > 1 > 2 > 3
DMAOR
H'0001
If the indirect address is on, data stored in the address set in SAR_0 to SAR_3 is not used as
transfer source data. In the indirect address, after the value stored in the address set in SAR_0 to
SAR_3 is read, that read value is used as an address again, and the value stored in that address is
read and stored in the corresponding address set in DAR_0 to DAR_3.
In the example shown in table 9.3, when an SCIF transfer request is generated, the DMAC reads
the value in address H'00400000 set in SAR_3. Since the value H'00450000 is stored in that
address, the DMAC reads the value H'00450000. Next, the DMAC uses that 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 set in DAR_3; this completes one indirect address transfer.
In the indirect address, when data is read first from the address set in SAR_3, 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 according to the SM0 and the SM1 bits. Therefore, in this example, though the transfer
data size is specified as byte, the value in SAR_3 is H'00400004 when one transfer ends. Write
operation is the same as that in the normal dual address transfer.
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...