
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-32
V2.2, 2004-01
TwinCAN_X1, V2.1
MMC
<d>
= ‘100’:
The operation with a normal mode gateway message object for incoming (remote)
frames on the destination side is illustrated in
.
Figure 21-18 Remote Frame Transfer in Normal Gateway Mode, MMC
<d>
= ‘100’
The gateway object on the destination side, setup as transmit object, can receive remote
frames. If bit SRREN
<d>
in the associated gateway control register MSGFGCRn is
cleared, a remote frame with matching identifier is directly answered by the CAN
destination node controller. For this purpose, control bits TXRQ
<d>
and RMTPND
<d>
are
set to ‘10’, which immediately initiates a data frame transmission on the destination CAN
bus if CPUUPD
<d>
is reset. When bit SRREN
<d>
is set to ‘1’, a remote frame received on
the destination side is transferred via the gateway and transmitted again by the CAN
source node controller.
A transmit request for the gateway message object on the source side, initiated by the
CPU via setting TXRQ
<s>
, generates always a remote frame on the source CAN bus
system.
MCA05488
FSIZE = ‘00000’
CANPTR = <d>
MMC = ‘100’
Node = <s>
DIR = ‘0’
DATA
ID
DLC
TXRQ
RMTPND
NEWDAT
INTPND
Copy if IDC<d> = ‘1’
Copy if DLCC<d> = ‘1’
Set if SRREN<d> = ‘1’
Set if SRREN<d> = ‘1’
Unchanged
Set if RXIE<s> = ‘1’
Set if RXIE<d> = ‘1’
Unchanged
Set if SRREN<d> = ‘0’
Set if SRREN<d> = ‘0’
FSIZE = ‘00000’
CANPTR = <s>
MMC = ‘100’
Node = <d>
DIR = ‘1’
DATA
ID
DLC
TXRQ
RMTPND
NEWDAT
INTPND
Updated if
RMM<d> = ‘1’
Updated if
RMM<d> = ‘1’
Pointer to Source
Message Object
Pointer to Destination
Message Object
Remote Frame
Data Frame (SRREN<d> = ‘0’)
Remote Frame
Remote Request
(SRREN<d> = ‘1’)
Gateway
Destination
Gateway
Source
Gateway
Destination CAN Bus
Source CAN Bus