English
Language : 

MC9S12XD256MAL Datasheet, PDF (865/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
22.3.2.54 Port J Data Register (PTJ)
Chapter 22 DP512 Port Integration Module (S12XDP512PIMV2)
R
W
CAN4/
SCI2
IICO
IIC1
Routed
CAN0
Alt.
Function
Reset
7
PTJ7
TXCAN4
SCL0
TXCAN0
0
6
5
4
3
2
0
PTJ6
PTJ5
PTJ4
PTJ2
RXCAN4
SDA0
RXCAN0
SCL1
SDA1
CS2
CS0
CS1
0
0
0
0
0
= Unimplemented or Reserved
Figure 22-56. Port J Data Register (PTJ)
1
PTJ1
TXD2
0
0
PTJ0
RXD2
CS3
0
Read: Anytime.
Write: Anytime.
Port J pins 7–4 and 2–0 are associated with the CAN4, SCI2, IIC0 and IIC1, the routed CAN0 modules
and chip select signals (CS0, CS1, CS2, CS3). These pins can be used as general purpose I/O when not
used with any of the peripherals.
If the data direction bits of the associated I/O pins are set to logic level “1”, a read returns the value of the
port register, otherwise the buffered pin input state is read.
Table 22-51. PTJ Field Descriptions
Field
7–6
PJ[7:0]
5-4
PJ[5:4]
2
PJ2
Description
The CAN4 function (TXCAN4 and RXCAN4) takes precedence over the IIC0, the routed CAN0 and the general
purpose I/O function if the CAN4 module is enabled.
The IIC0 function (SCL0 and SDA0) takes precedence over the routed CAN0 and the general purpose I/O
function if the IIC0 is enabled. If the IIC0 module takes precedence the SDA0 and SCL0 outputs are configured
as open drain outputs. Refer to IIC section for details.
The routed CAN0 function (TXCAN0 and RXCAN0) takes precedence over the general purpose I/O function if
the routed CAN0 module is enabled. Refer to MSCAN section for details.
The IIC1 function (SCL1 and SDA1) takes precedence over the chip select (CS0, CS2) and general purpose I/O
function if the IIC1 is enabled. The chip selects (CS0, CS2) take precedence over the general purpose I/O. If the
IIC1 module takes precedence the SDA1 and SCL1 outputs are configured as open drain outputs. Refer to IIC
section for details.
The chip select function (CS1) takes precedence over the general purpose I/O.
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
867