Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 930

Powerquicc family
Table of Contents

Advertisement

Parallel I/O Ports
PCPAR[DD n ] = 0
Signals
PCDIR[DR n ] = 1
or PCSO[ n ] = 0
PC15
Port C15
PC14
Port C14
PC13
Port C13
PC12
Port C12
PC11
Port C11
PC10
Port C10
PC9
Port C9
PC8
Port C8
PC7
Port C7
PC6
Port C6
PC5
Port C5
PC4
Port C4
1
PDPAR[UT] = 1 and UTMODE[RSL] = 0, see
2
PDPAR[UT] = 1 and UTMODE[RSL,SPLIT] = 0b11, see
Signal."
PCDIR and PCPAR bits are cleared at system reset, making all port signals general-purpose inputs. The
CPM interrupt mask register (CIMR) (see
so port C I/O signals left floating do not cause false interrupts.
General-purpose port C I/O signals can be accessed through PCDAT where written data is stored in an
output latch. If a port C signal is configured as an output, output latch data is gated onto the port signal.
Reading PCDAT reads the value of the port signal itself. For port C input signals, data written to PCDAT
is stored in the output latch but cannot reach the port signal. In this case, when the PCDAT register is read,
the state of the port signal is read.
The following steps configure port C signals as general-purpose outputs. When the signal is configured as
an output, port C interrupts are not generated.
1. Write the corresponding PCPAR bit with a 0.
2. Write the corresponding PCDIR bit with a 1.
3. Write the corresponding PCSO bit with a zero (for clarity).
4. The corresponding PCINT bit is a 'don't care.'
34-12
Table 34-11. Port C Pin Assignment
PCDIR[DR n ] = 0
PCDIR[DR n ] = 0 PCDIR[DR n ] = 1
and PCSO[ n ] = 1
DREQ0
RxCLAV
TxCLAV
DREQ1
MII1-TXD3
MII-TXD2
USBRXP
USBRXN
CTS2
CD2
CTS4
L1TSYNCB
CD4
L1RSYNCB
CTS3
L1TSYNCA
CD3
Section 42.2.3, "Port C—MasterRxClav/Slave TxClav Signal."
Section 35.5.3, "CPM Interrupt Mask
MPC885 PowerQUICC Family Reference Manual, Rev. 2
PCPAR[DD n ] = 1
RTS3
L1ST1
1
2
RTS2
L1ST2
SDACK1
TOUT1
TGATE1
TGATE2
USBTXP
USBTXN
SDACK2
L1RSYNCA
Section 42.2.3, "Port C—MasterRxClav/Slave TxClav
Input to On-Chip
Peripherals
(Default)
DREQ0 = V
DD
DREQ1 = V
DD
GND
GND
GND
GND
CTS4 = GND
L1TSYNCB = PD13
CD4 = GND
L1RSYNCB = PD12
CTS3 = GND
L1TSYNCA = PD15
CD3 = GND
L1RSYNCA = PD14
Register") is also cleared,
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents