h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 211

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Block Transfer Mode: In block transfer mode, the number of bytes, words, or longwords
specified by the block size is transferred in response to one transfer request. The upper 8 bits of
DMTCR specify the block size, and the lower 16 bits function as a 16-bit transfer counter. A block
size of 1 to 256 can be specified.
During transfer of a block, transfer requests for other higher-priority channels are held pending.
When transfer of one block is completed, the bus is released in the next cycle.
Address register values are updated in the same way as in normal mode. There is no function for
restoring the initial address register values after each block transfer.
The TEND signal is output for each block transfer in the DMA transfer cycle in which the block
ends. The DRAK signal is output once for one transfer request (for transfer of one block).
Caution is required when setting the repeat area overflow interrupt of the repeat area function in
block transfer mode. See section 7.4.6, Repeat Area Function, for details. Block transfer is aborted
if an NMI interrupt is generated. See section 7.4.12, Ending DMA Transfer, for details.
Figure 7.8 shows an example of DMA transfer timing in block transfer mode.
7.4.6
The DMAC has a function for designating a repeat area for source addresses and/or destination
addresses. When a repeat area is designated, the address register values repeat within the range
specified as the repeat area. Normally, when a ring buffer is involved in a transfer, an operation is
required to restore the address register value to the buffer start address each time the address
register value is the last address in the buffer (i.e. when ring buffer address overflow occurs), but if
Transfer conditions:
Bus cycle
· Single address mode
· Block size (DMTCR[23:16]) = 3
Repeat Area Function
CPU
Figure 7.8 Example of Timing in Block Transfer Mode
CPU
CPU
DMAC
One-block transfer cycle
CPU cycle not generated
DMAC
Rev. 2.00, 03/04, page 179 of 534
DMAC
CPU

Related parts for h8s-2172