MOTOROLA
Chapter 33. Parallel Interface Port
33-3
Part V. The Communications Processor Module
strobed transfers are the same as core-controlled transfers described above, except reads
and writes to PBDAT are done automatically by DMA. Blocks of data can be transferred
without interrupting the core. The data block can span several linked buffers (a buffer
chain), and an entire block can be transferred without core intervention. CP-controlled
transparent transfers are described in Section 33.8, ÒTransparent Transfers.Ó
For a CP-controlled PIP:
¥
Initialize the PIPC and parameter RAM to conÞgure the channel.
¥
Set up buffer descriptors and buffers for the DMA.
¥
Use PIPM and PIPE to control and monitor events reported.
33.3 The PIP Parameter RAM
The PIP remaps the SMC2 parameter RAM. The following subsections describe the PIP
parameter RAM for sending and receiving.
33.3.1 PIP Transmitter Parameter RAM
The PIP transmitter uses the parameter RAM mapping shown in Table 33-1. Certain
parameter RAM values must be initialized before the transmitter is enabled; others are
initialized or written by the CP. Most software does not need access to parameter RAM
values after initialization because activity centers around the buffer descriptors.
Table 33-1. PIP Transmitter Parameter RAM Memory Map
Offset
1
Name
Width
Description
0x00
Ñ
Hword Reserved for receiving.
0x02
TBASE
Hword PIP TxBD table base offset from the beginning of dual-port RAM. Initialize TBASE before
enabling the channel. TBASE should be divisible by 8.
0x04
PFCR
Byte
PIP function code. Appears on AT[1-3] when the associated SDMA channel accesses
memory. Also controls byte ordering for the transfers. See Section 33.3.1.1, ÒPIP
Function Code Register (PFCR).Ó
0x05
SMASK
Byte
Status mask. Controls which, if any, printer status lines are checked before each transfer.
See Section 33.3.1.2, ÒStatus Mask Register (SMASK).Ó
0x06Ð
0x17
Ñ
Ñ
Reserved for receiving.
0x18
TSTATE Word
Tx internal state.
0x1C
T_PTR
Word
Tx internal data pointer.
0x20
TBPTR
Hword TxBD pointer. Points to the current Tx BD during frame transmission or the next BD to be
processed when idle. After reset or when the end of the Tx BD table is reached, the CP
initializes TBPTR to the TBASE value. Most applications do not need to write TBPTR, but
it can be updated when the transmitter is disabled or when no Tx buffer is in use.
0x22
T_CNT
Hword Tx internal byte count.
0x24
TTEMP
Word
Tx temporary.
1
From PIP base address. PIP base = IMMR + 0x3F80 (SMC2)
Содержание 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: ......