20-14
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
The IDMA controller continuously requests the bus until the current buffer chain is
completely transferred. The transfer terminates with an out-of-buffers error (IDSR[OB]).
To use a general-purpose timer output (TOUTx), follow these steps:
1. Externally connect a TOUTx to DREQ.
2. Clear RCCR[DRnM] (edge-sensitive).
3. Program the timer period to pace the IDMA requests (and thus bus utilization).
An interrupt handler can service the IDSR[DONE] interrupt and suspend the channel;
otherwise, the transfer terminates with an out-of-buffers error (IDSR[OB]).
20.3.7.2 IDMA Requests for Peripheral/Memory Transfers
Once an IDMA channel has been activated, an external device requests a transfer using
DREQ. The user programs the RISC controller (the CP) conÞguration register (RCCR) to
make IDMA requests either edge- or level-sensitive. The RCCR settings also determine the
priority of DREQ relative to the SCCs. See Section 19.5.1, ÒRISC Controller ConÞguration
Register (RCCR).Ó Since DREQ0 and DREQ1 are multiplexed through PC15 and PC14
respectively, the port C pin assignment register and direction register must be conÞgured as
well; see Section 34.4, ÒPort C.Ó
Level-sensitive mode maximizes IDMA channel bandwidth for devices requiring high
transfer rates. For external devices that generate a pulsed transfer signal for each data
operand, edge-sensitive requests should be used.
20.3.7.2.1 Level-Sensitive Requests
Setting RCCR[DRnM] makes the corresponding IDMA channel level-sensitive to requests.
DREQ is sampled at rising edge of the clock. The device requests service by asserting
DREQ and leaving it asserted as long as it needs service.
Each time the IDMA controller issues a bus cycle either to read or write the device, it asserts
SDACK to acknowledge the original transfer request on DREQ. The IDMA channel
continues moving data in back-to-back DMA cycles until DREQ is negated. To ensure the
correct number of DMA transfers are performed, the device must negate DREQ while the
IDMA is acknowledging the last data move, that is, while SDACK is asserted. DREQ is
sampled on the same rising edge on which TA is sampled to terminate the current cycle.
20.3.7.2.2 Edge-Sensitive Requests
Clearing RCCR[DRnM] makes the corresponding IDMA channel edge-sensitive to
requests. The edge sensitivity is further qualiÞed to detect either any edge or falling edges
only as programmed in PCINT[EDM15] and PCINT[EDM14] for DREQ0 and DREQ1,
respectively; see Section 34.4.1.5, ÒPort C Interrupt Control Register (PCINT).Ó
In edge-sensitive mode, an IDMA channel moves one data operand per request. DREQ is
sampled at each rising edge of the clock. When IDMA detects a request on DREQ, the
Содержание 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: ......