Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 899

Powerquicc family
Table of Contents

Advertisement

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
For a CP-controlled PIP:
Initialize the PIPC and parameter RAM to configure 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
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
1
Offset
Name
Width
0x00
Hword Reserved for receiving.
0x02
TBASE Hword PIP TxBD table base offset from the beginning of dual-port RAM. Initialize TBASE before
0x04
PFCR
Byte
0x05
SMASK
Byte
0x06–
0x17
0x18
TSTATE
Word
0x1C
T_PTR
Word
0x20
TBPTR Hword TxBD pointer. Points to the current Tx BD during frame transmission or the next BD to be
0x22
T_CNT Hword Tx internal byte count
0x24
TTEMP
Word
1
From PIP base address. PIP base = IMMR + 0x3F80 (SMC2)
Freescale Semiconductor
Table 33-1. PIP Transmitter Parameter RAM Memory Map
enabling the channel. TBASE should be divisible by 8.
PIP function code. Appears on AT[1-3] when the associated SDMA channel accesses
memory. Also controls byte ordering for the transfers. See
Code Register (PFCR)."
Status mask. Controls which, if any, printer status lines are checked before each transfer.
See
Section 33.3.1.2, "Status Mask Register (SMASK)."
Reserved for receiving.
Tx internal state.
Tx internal data pointer
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.
Tx temporary
MPC885 PowerQUICC Family Reference Manual, Rev. 2
Section 33.8, "Transparent Transfers."
Table
33-1. Certain parameter RAM
Description
Section 33.3.1.1, "PIP Function
Parallel Interface Port (PIP)
33-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents