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)
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......