Programming The Parallel I/O Registers - Motorola MPC8260 PowerQUICC II User Manual

Motorola processor users manual
Table of Contents

Advertisement

Part IV. Communications Processor Module

18.11 Programming the Parallel I/O Registers

The parallel I/O registers control the use of the external pins of the chip. Each pin can be
used for different purposes. See Table 18-12, Table 18-13 and Table 18-14 (optional) for
the proper parallel I/O register programming dedicating the proper external ports to the four
IDMA channelsÕ external I/O signals.
Each port is controlled by Þve I/O registers: PPAR, PSOR, PDIR, PODR, and PDAT. Each
bit in these registers controls the external pin of the same location.
¥ PPARC selects the pins general purpose(0)/dedicated(1) mode for port C.
¥ PDIRC select the pins input or inout (0)/output(1) mode for port C.
¥ PODRC selects the open drain pins for port C.
¥ PSORC selects the pins dedicated1(0)/dedicated2(1) mode for port C.
¥ PPARA, PDIRA, PODRA, and PSORA control port A in the same way.
¥ PPARD, PDIRD, PODRD, and PSORD control port D in the same way.
¥ The default is the value that is seen by the IDMA channel on the pin (input or inout
mode onlyÑPDIR[PN] = 0) if a PSORx register bit is set to the complement value
of the value in Table 18-12, Table 18-13 and Table 18-14. See Section 35.2, ÒPort
Registers.Ó
Table 18-12. Parallel I/O Register ProgrammingÑPort C
Channel
Signal
IDMA1
DREQ1 (I)
DACK1 (O)
DONE1 (I/O)
IDMA2
DREQ2 (I)
DACK2 (O)
DONE2 (I/O)
Table 18-13 describes parallel I/O register programming for port A.
Table 18-13. Parallel I/O Register ProgrammingÑPort A
Channel
Signal
IDMA3
DREQ3 (I)
DACK3 (O)
DONE3 (I/O)
IDMA4
DREQ4 (I)
DACK4 (O)
DONE4 (I/O)
18-28
Pin
PPARC
PDIRC
PC[0]
1
PC[23]
1
PC[22]
1
PC[1]
1
PC[3]
1
PC[2]
1
Pin
PPARA
PDIRA
PA[0]
1
PA[2]
1
PA[1]
1
PA[5]
1
PA[3]
1
PA[4]
1
MPC8260 PowerQUICC II UserÕs Manual
PODRC
PSORC
0
0
0
1
0
1
0
1
1
0
0
0
1
0
1
0
1
1
PODRA
PSORA
0
0
1
1
0
1
0
1
1
0
0
1
1
0
1
0
1
1
Default
GND
Ñ
VDD
GND
Ñ
VDD
Default
GND
Ñ
VDD
GND
Ñ
VDD
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents