MOTOROLA
Chapter 20. SDMA Channels and IDMA Emulation
20-13
Part V. The Communications Processor Module
reads the transfer-speciÞc information from the current BD into the IDMA parameter
RAM, programs the physical SDMA channel, and provides addressing and bus control. The
termination phase begins when the transfer byte count reaches zero (or a bus error occurs).
The CPM then interrupts the core (unless masked), and the current BD pointer moves to the
next BD in the table.
To begin a block transfer, initialize the IDMA registers, and build the IDMA BDs with
information describing the data block, device type, and other special control options. See
Section 20.3.2, ÒIDMA Parameter RAM,Ó and Section 20.3.5, ÒIDMA CP Commands.Ó
20.3.6.1 Activating an IDMA Channel
IDMA requests are generated externally via the DREQ signals. (There is no mechanism for
generating internal IDMA requests.) After initializing the IDMA parameter RAM and the
BD table, enable the DREQ signal by setting the corresponding PCSO[DREQ] of the
port C special options register; see Section 34.4.1.4, ÒPort C Special Options Register
(PCSO).Ó Enabling the DREQ signal effectively activates the corresponding IDMA
channel. Requests for IDMA1 have priority over IDMA2.
20.3.6.2 Suspending an IDMA Channel
Disabling the corresponding DREQ signal by clearing the corresponding PCSO[DREQ]
suspends the IDMA channel transfer. A transfer in progress will be completed before the
bus is released. No further bus cycles are started while PCSO[DREQ] remains cleared.
During channel suspension, the core can access IDMA internal registers to determine the
status of the channel or to alter parameters. If PCSO[DREQ] is set again while a transfer
request is pending, the channel arbitrates for the bus and continues normal operation.
20.3.7 IDMA Interface SignalsÑDREQ and SDACK
Each IDMA channel (IDMA1 and IDMA2) has two dedicated control signalsÑDMA
request (DREQ) and SDMA acknowledge (SDACK). DREQ0 and SDACK1 are dedicated
to IDMA1, while DREQ1 and SDACK2 are for IDMA2. DREQ and SDACK are the
handshake signals between the MPC860 and an external device requesting service. A
peripheral requests IDMA service directly to the CPM by asserting DREQ. When the CPM
begins the transfer, it acknowledges the device by asserting SDACK. A requesting device
can either be the source or the destination of an IDMA transfer.
20.3.7.1 IDMA Requests for Memory/Memory Transfers
Because there is no internal mechanism, an externally-connected DREQ must still be used
to generate IDMA memory/memory transfer requests. This can be done using a
general-purpose I/O line or a general-purpose timer output.
To use a general-purpose I/O line, follow these steps:
1. Externally connect a general-purpose output line to DREQ.
2. Set RCCR[DRnM] (level-sensitive).
3. Drive the output low when the request generation should begin.
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......