Parallel Interface Port (PIP)
MPC885 PowerQUICC Family Reference Manual, Rev. 2
33-2
Freescale Semiconductor
Figure 33-1
is a block diagram of the PIP.
Figure 33-1. PIP Block Diagram
33.2
Core Control vs. CP Control
The host-control bit in the PIP configuration register PIPC[HSC] determines whether the PIP transfer is
controlled by the CP or by the core.
33.2.1
Core Control
When the PIP is controlled by the core (PIPC[HSC] = 1), only the interlocked and pulsed handshaking
modes can be used. The CP does not directly participate in the transfer, but an Rx or Tx character event
(RCH or TCH) is flagged in the event register (PIPE). The PIPE is then masked against the PIP mask
register (PIPM); unmasked events interrupt the core.
•
When the PIP is configured to receive and STB is asserted on STBI (strobe-in on PB14),
PIPE[RCH] is set to indicate that a character has arrived. When software reads the port B data
register (PBDAT), the PIP asserts ACK through STBO (strobe-out on PB15).
•
When the PIP is configured to send and the core writes PBDAT, STB is driven low on STBO
(strobe-out on PB15). When the destination device drives ACK low onto STBI (strobe-in on
PB14), the PIP indicates that a character was successfully sent by flagging PIPE[TCH].
For a core-controlled PIP, only the PIPC, PIPE, PIPM and port B registers need to be configured or
monitored. The PIP parameter RAM and buffer descriptors are not used.
33.2.2
CP Control
When the PIP is controlled by the CP (PIPC[HSC] = 0), any of the three handshake modes can be used.
Data is prepared by the core using PIP buffer descriptors. CP-controlled strobed transfers are the same as
core-controlled transfers described above, except reads and writes to PBDAT are done automatically by
Port B Signals
Peripheral Bus
Handshake
U-Bus
Control
PIP Data Register
PIP Mask Register (PIPM)
PIP Event Register (PIPE)
Port B Open Drain Register (PBODR)
Port B Pin Assignment Register (PBPAR)
Port B Data Direction (PBDIR)
Timing Parameters Register (PTPR)
PIP Configuration Register (PIPC)
Summary of Contents for PowerQUICC MPC870
Page 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Page 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Page 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Page 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Page 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Page 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Page 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Page 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Page 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Page 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Page 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...