Usage Notes - Renesas H8S/2633 Series Hardware Manual

Hide thumbs Also See for H8S/2633 Series:
Table of Contents

Advertisement

8.7

Usage Notes

DMAC Register Access during Operation: Except for forced termination, the operating
(including transfer waiting state) channel setting should not be changed. The operating channel
setting should only be changed when transfer is disabled.
Also, the DMAC register should not be written to in a DMA transfer.
DMAC register reads during operation (including the transfer waiting state) are described below.
(a) DMAC control starts one cycle before the bus cycle, with output of the internal address.
Consequently, MAR is updated in the bus cycle before DMAC transfer.
Figure 8-40 shows an example of the update timing for DMAC registers in dual address transfer
mode.
ø
DMA Internal
address
Idle
DMA control
DMA register
[1]
operation
[1] Transfer source address register MAR operation (incremented/decremented/fixed)
Transfer counter ETCR operation (decremented)
Block size counter ETCR operation (decremented in block transfer mode)
[2] Transfer destination address register MAR operation (incremented/decremented/fixed)
[2'] Transfer destination address register MAR operation (incremented/decremented/fixed)
Block transfer counter ETCR operation (decremented, in last transfer cycle of a block
in block transfer mode)
[3] Transfer address register MAR restore operation (in block or repeat transfer mode)
Transfer counter ETCR restore (in repeat transfer mode)
Block size counter ETCR restore (in block transfer mode)
Notes: 1. In single address transfer mode, the update timing is the same as [1].
2. The MAR operation is post-incrementing/decrementing of the DMA internal address value.
324
DMA transfer cycle
DMA read
DMA write
Transfer
Transfer
destination
source
Read
Write
[2]
Figure 8-40 DMAC Register Update Timing
Transfer
source
Read
Idle
[1]
DMA last transfer cycle
DMA
dead
DMA read
DMA write
Transfer
destination
Write
Dead
[2]'
[3]
Idle

Advertisement

Table of Contents
loading

Table of Contents