English
Language : 

SH7058 Datasheet, PDF (235/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
10.4 Examples of Use
10.4.1 Example of DMA Transfer between On-Chip SCI and External Memory
In this example, on-chip serial communication interface channel 0 (SCI0) receive data is
transferred to external memory using DMAC channel 0.
Table 10.5 indicates the transfer conditions and the set values of each of the registers.
Table 10.5 Transfer Conditions and Register Set Values for Transfer between On-chip SCI
and External Memory
Transfer Conditions
Transfer source: RDR0 of on-chip SCI0
Transfer destination: external memory
Transfer count: 64 times
Transfer source address: fixed
Transfer destination address: incremented
Transfer request source: SCI0 (RDR0)
Bus mode: cycle-steal
Transfer unit: byte
Interrupt request generation at end of transfer
DMAC master enable on
Register
SAR0
DAR0
DMATCR0
CHCR0
DMAOR
Value
H'FFFFF005
H'00400000
H'00000040
H'00020105
H'0001
10.4.2 Example of DMA Transfer between A/D Converter and On-Chip Memory
(Address Reload On)
In this example, on-chip A/D converter channel 0 is the transfer source and on-chip memory is the
transfer destination, and the address reload function is on.
Table 10.6 indicates the transfer conditions and the set values of each of the registers.
Rev. 3.0, 09/04, page 194 of 1086