English
Language : 

MC9S12XD256CAG Datasheet, PDF (886/1348 Pages) Freescale Semiconductor, Inc – MC9S12XDP512 Data Sheet
Chapter 22 DP512 Port Integration Module (S12XDP512PIMV2)
A valid edge on an input is detected if 4 consecutive samples of a passive level are followed by
4 consecutive samples of an active level directly or indirectly.
The filters are continuously clocked by the bus clock in run and wait mode. In stop mode, the clock is
generated by an RC-oscillator in the port integration module. To maximize current saving the RC
oscillator runs only if the following condition is true on any pin individually:
Sample count <= 4 and interrupt enabled (PIE = 1) and interrupt flag not set (PIF = 0).
22.4.4 Expanded Bus Pin Functions
All peripheral ports T, S, M, P, H, J, AD0, and AD1 start up as general purpose inputs after reset.
Depending on the external mode pin condition, the external bus interface related ports A, B, C, D, E, and
K start up as general purpose inputs on reset or are configured for their alternate functions.
Table 22-70 lists the pin functions in relationship with the different operating modes. If two entries per pin
are displayed, a ‘mux’ indicates time-multiplexing between the two functions and an ‘or’ means that a
configuration bit exists which can be altered after reset to select the respective function (displayed in
italics). Refer to S12X_EBI section for details.
Table 22-70. Expanded Bus Pin Functions versus Operating Modes
Single-Chip Modes
Pin
Normal
Special
Single-Chip
Single-Chip
PK7
GPIO
GPIO
PK[6:4]
GPIO
GPIO
PK[3:0]
GPIO
GPIO
PA[7:0]
GPIO
GPIO
PB[7:1]
GPIO
GPIO
PB0
GPIO
GPIO
PC[7:0]
GPIO
GPIO
PD[7:0]
PE7
GPIO
GPIO
or
ECLKX2
GPIO
GPIO
or
ECLKX2
Normal
Expanded
GPIO
or
EWAIT
ADDR[22:20]
or
GPIO
ADDR[19:16]
or
GPIO
ADDR[15:8]
or
GPIO
ADDR[7:1]
or
GPIO
UDS
or
GPIO
DATA[15:8]
or
GPIO
DATA[7:0]
GPIO
or
ECLKX2
Expanded Modes
Emulation
Single-Chip
GPIO
ADDR[22:20]
mux
ACC[2:0]
ADDR[19:16]
mux
IQSTAT[3:0]
ADDR[15:8]
mux
IVD[15:8]
ADDR[7:1]
mux
IVD[7:1]
ADDR0
mux
IVD0
DATA[15:8]
Emulation
Expanded
GPIO
or
EWAIT
ADDR[22:20]
mux
ACC[2:0]
ADDR[19:16]
mux
IQSTAT[3:0]
ADDR[15:8]
mux
IVD[15:8]
ADDR[7:1]
mux
IVD[7:1]
ADDR0
mux
IVD0
DATA[15:8]
DATA[7:0]
ECLKX2
DATA[7:0]
ECLKX2
Special
Test
GPIO
ADDR[22:20]
ADDR[19:16]
ADDR[15:8]
ADDR[7:1]
ADDR0
DATA[15:8]
or
GPIO
DATA[7:0]
GPIO
or
ECLKX2
MC9S12XDP512 Data Sheet, Rev. 2.21
888
Freescale Semiconductor