
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-35
V2.2, 2004-01
TwinCAN_X1, V2.1
frame with matching identifier should initiate an interrupt service request for the
addressed FIFO message object. The associated interrupt service routine may copy the
message identifier and the data length code from the received remote frame to a receive
message object linked with the source side CAN node. In any case, TXRQ of the
selected receive message object must be set to ‘10’ initiating the transmission of a
remote frame on the source side.
Figure 21-20 Remote Frame Transfer in Normal Gateway Mode with a 2-stage FIFO
on the Destination Side
FIFO
CANPTR<sl>
MMC<sl> = ‘011’
Node = <d>
MCA05490
FSIZE = ‘00001’
CANPTR = <d>
MMC = ‘100’
Node = <s>
DIR = ‘0’
DATA
ID
DLC
TXRQ = ‘01’
RMTPND = ‘01’
NEWDAT = ‘10’
INTPND
Copy if DLCC<s> = ‘1’
Reset
Reset
Set
Set if RXIE<s> = ‘1’
Set if RXIE<d> = ‘1’
Set
Unchanged
Set if GDFS<s> = ‘0’
FSIZE = ‘00001’
CANPTR<ba>
MMC<ba> = ‘010’
Node = <d>
DIR = ‘1’
DATA
ID
DLC
TXRQ
RMTPND
NEWDAT = ‘10’
INTPND
Data Frame (GDFS<s> = ‘1’)
Data Frame
Copy Data Frame
Gateway
Destination
Gateway
Source
Gateway
Destination CAN Bus
Source CAN Bus
Pointer to
Base
Object
Pointer to next addressed
Destination Message Object
Copy
Copy if IDC<s> = ‘1’