
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-82
V2.2, 2004-01
TwinCAN_X1, V2.1
21.3
XC161 Module Implementation Details
This section describes:
•
the TwinCAN module related interfaces such as port connections and interrupt
control
•
all TwinCAN module related registers with its addresses and reset values
21.3.1
Interfaces of the TwinCAN Module
In XC161 the TwinCAN module is connected to IO ports according to
.
Figure 21-28 TwinCAN Module IO Interface
The input receive pins can be selected by bitfield RISA (for node A) and bitfield RISB (for
node B) in the PISEL register. The output transmit pins are defined by the corresponding
ALTSEL registers of Port 4, Port 7, or Port 9.
The TwinCAN has eight interrupt request lines.
Note: The interrupt node of interrupt request 7 of the TwinCAN can be shared with the
SDLM module.
Port 9
Control
MCA05498
Interrupt
Control
CAN0INT
CAN5INT
CAN1INT
CAN2INT
CAN3INT
CAN4INT
CAN7INT
CAN6INT
Address
Decoder
TwinCAN
Module
(Kernel)
f
CAN
P9.2
P9.3
P9.1
P9.0
ALTSEL
P4.6
P4.7
P4.5
P4.4
Port 4
Control
ALTSEL
Port 7
Control
P7.6
P7.7
P7.5
P7.4
ALTSEL
P9.3_tx
MUX
RxDCA
P9.2_rx
P9.1_tx
P9.0_rx
P7.7_tx
P7.5_tx
P7.6_rx
P7.4_rx
P4.7_rx
P4.7_tx
P4.6_tx
P4.5_rx
P4.4_rx
MUX
RxDCB
PISEL
3
3
TxDCB
TxDCA