HD6417144 RENESAS [Renesas Technology Corp], HD6417144 Datasheet - Page 252

no-image

HD6417144

Manufacturer Part Number
HD6417144
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family/SH7144 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6417144F50V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6417144FW50V
Manufacturer:
Renesas Electronics America
Quantity:
10 000
10. Direct Memory Access Controller (DMAC)
10.5.3
In this example, the 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.8 indicates the transfer conditions and the setting values of each of the registers.
Table 10.8 Transfer Conditions and Register Set Values for Transfer between A/D
When address reload is on, the SAR value returns to its initially established value every four
transfers. In the above example, when a transfer request is input from the A/D converter (A/D1),
the byte size data is first read from the H'FFFF8482 register of the A/D converter (AD1) and that
data is written to the on-chip memory address H'FFFFF000. Because a byte size transfer was
performed, the SAR and DAR values at this point are H'FFFF8429 and H'FFFFF001, respectively.
Also, because this is a burst transfer, the bus mastership remain secured, so continuous data
transfer is possible.
When four transfers are completed, if the address reload is off, execution continues with the fifth
and sixth transfers and the SAR value continues to increment from H'FFFF842B to H'FFFF842C
to H'FFFF842D and so on. However, when the address reload is on, the DMAC transfer is halted
upon completion of the fourth one and the bus mastership request signal to the CPU is cleared. At
this time, the value stored in SAR is not H'FFFF842B to H'FFFF842C, but H'FFFF842B to
H'FFFF8428, a return to the initially established address. The DAR value always continues to be
incremented regardless of whether the address reload is on or off.
Rev.4.00 Mar. 27, 2008 Page 208 of 882
REJ09B0108-0400
Transfer Conditions
Transfer source: on-chip A/D converter (A/D1)
Transfer destination: on-chip memory
Transfer count: 128 times (reload count 32 times)
Transfer source address: incremented
Transfer destination address: incremented
Transfer request source: A/D converter (A/D 1)
Bus mode: burst
Transfer unit: byte
Interrupt request generation at end of transfer
Channel priority ranking: 0 > 2 > 3 > 1
Example of DMA Transfer between A/D Converter and On-chip Memory (Address
Reload On)
Converter (A/D1) and On-chip Memory
Register
SAR_2
DAR_2
DMATCR_2
CHCR_2
DMAOR
Value
H'FFFF8428
H'FFFFF000
H'00000080
H'00085B25
H'0101

Related parts for HD6417144