Z8018x
Family MPU User Manual
106
UM005004-0918
Figure 46. DMA Timing Diagram-CYCLE STEAL Mode
To initiate memory to/from memory DMA transfer for channel 0, perform
the following operations.
1. Load the memory source and destination address into SAR0 and DAR0
2. Specify memory to/from memory mode and address increment/
decrement in the SM0 SM1, DM0 and DM1 bits of DMODE.
3. Load the number of bytes to transfer in BCR0.
4. Specify burst or cycle steal mode in the MMOD bit of DCNTL.
5. Program DE0 =
1
(with DWE0 =
0
in the same access) in DSTAT and
the DMA operation starts one machine cycle later. If interrupt occurs
at the same time, the DIE0 bit must be set to
1
.
T1 T2
T1 T2
T1 T2
T1
T3
T3
T3
T2
T3
T1 T2
DMA cycle
CPU cycle DMA cycle (transfer 1 byte)
CPU cycle
DMA cycle
LD g,m
Op Code
Source
memory
Destination
memory
LD g,m
operand
WR
MREQ
Address
Data
RD
m
Read data
Phi
Write data,
m
address
address
address
address
Содержание Z8018 Series
Страница 1: ...www zilog com Z8018x Family MPU User Manual UM005004 0918...
Страница 206: ...Z8018x Family MPU User Manual 192 UM005004 0918...
Страница 220: ...Z8018x Family MPU User Manual 206 UM005004 0918...
Страница 250: ...Z8018x Family MPU User Manual 236 UM005004 0918...
Страница 260: ...Z8018x Family MPU User Manual 246 UM005004 0918...
Страница 300: ...Z8018x Family MPU User Manual 286 UM005004 0918...
Страница 306: ...Z8018x Family MPU User Manual 292 UM005004 0918...