23.14 Setting The Redirection Of Can1 And Can3 Rx/Tx Pin - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

CHAPTER 23 CAN CONTROLLER

23.14 Setting the redirection of CAN1 and CAN3 RX/TX pin

CAN1 and CAN3 can be changed the redirection CAN1 RX/TX pin (RX1/TX1) to RX0/TX0
pin and CAN3 RX/TX pin (RX3/TX3) to RX2/TX2 pin by the CANSWR register.
■ CAN2 RX/TX Pin Switching Register (CANSWR)
Figure 23.14-1 CAN2 RX/TX Pin Switching Register (CANSWR)
Address:
CAN0: 00356F
R/W
:
Readable and writable
X
:
Undefined value
-
:
Undefined
■ CAN Switch Register (CANSWR) Contents
Table 23.14-1 Function of Each Bit of the CAN Switch Register
Bit name
bit15 to
Undefined
bit12
RXS23:
bit11
Reception switch
2/3
TXS23:
bit10
Transmission
switch 2/3
RXS01:
bit9
Reception switch
0/1
TXS01:
bit8
Transmission
switch 0/1
CAN1 can be changed the redirection CAN1 RX/TX pin, and shared with CAN0, as shown in Figure
23.14-2. Therefore this feature allows the saving of one external CAN transceiver. This function is selected
by CANSWR register. The same function is provided for CAN2 and CAN3.
516
bit
15
14
13
12
11
RXS TXS RXS TXS
H
-
-
-
-
23
-
-
-
- R/W
If "0" is written to this bit, input of CAN3 is inputted from RX3 pin.
If "1" is written to this bit, input of CAN3 is inputted from RX2 pin.
If "0" is written to this bit, output of CAN3 is outputted from TX3 pin.
If "1" is written to this bit, output of CAN3 is outputted from TX2 pin.
If "0" is written to this bit, input of CAN1 is inputted from RX1 pin.
If "1" is written to this bit, input of CAN1 is inputted from RX0 pin.
If "0" is written to this bit, output of CAN1 is outputted from TX1 pin.
If "1" is written to this bit, output of CAN1 is outputted from TX0 pin.
10
9
8
CANSWR
Initial value
23
01
01
X X X X 0 0 0 0
R/W R/W R/W
Function
B

Advertisement

Table of Contents
loading

Table of Contents