mcf5307cft90b Freescale Semiconductor, Inc, mcf5307cft90b Datasheet - Page 345

no-image

mcf5307cft90b

Manufacturer Part Number
mcf5307cft90b
Description
Mcf5307 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet
PAR[n] = 0 PP15
PAR[n] = 1 A31
Chapter 15
Parallel Port (General-Purpose I/O)
This chapter describes the operation and programming model of the parallel port pin
assignment, direction-control, and data registers. It includes a code example for setting up
the parallel port.
15.1 Parallel Port Operation
The MCF5307 parallel port module has 16 signals, which are programmed as follows:
The operations of the PAR, PADDR, and PADAT are described in the following sections.
15.1.1 Pin Assignment Register (PAR)
The pin assignment register (PAR), which is part of the system integration module (SIM),
defines how each PAR bit determines each pin function, as shown in Figure 15-1.
If PP[9:8]/A[25:24] are unavailable because A[25:0] are needed for external addressing,
PP[15:10]/A[31:26] can be configured as general-purpose I/O. Table 15-1 summarizes
MCF5307 parallel port pins, described in detail in Chapter 17, “Signal Descriptions.”
Address
• The pin assignment register (PAR) selects the function of the 16 multiplexed pins.
• Port A data direction register (PADDR) determines whether pins configured as
• The Port A data register (PADAT) shows the status of the parallel port signals.
Reset Determined by driving D4/ADDR_CONFIG with a 1 or 0 when RSTI negates. The system is configured as
Field PAR15 PAR14 PAR13 PAR12 PAR11 PAR10 PAR9 PAR8 PAR7 PAR6
R/W
parallel port signals are inputs or outputs.
PP[15:0] if D4 is low; otherwise alternate pin functions selected by PAR[n] = 1 are used.
15
Figure 15-1. Parallel Port Pin Assignment Register (PAR)
PP14
A30
14
PP13
A29
13
Chapter 15. Parallel Port (General-Purpose I/O)
Freescale Semiconductor, Inc.
PP12
For More Information On This Product,
A28
12
PP11
A27
11
Go to: www.freescale.com
PP10 PP9
A26
10
Address MBAR + 0x004
A25
9
PP8
A24
8
R/W
PP7
TIP DREQ0 DREQ1 TM2
7
PP6
6
PAR5 PAR4 PAR3
PP5
5
PP4
4
TM1
PP3
3
PAR2 PAR1 PAR0
TM0
PP2
2
PP1 PP0
TT1
1
15-1
TT0
0

Related parts for mcf5307cft90b