English
Language : 

XC161 Datasheet, PDF (272/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
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.
Source CAN Bus
Destination CAN Bus
Gateway
Source
Gateway
Gateway
Destination
Pointer to Source
Message Object
Pointer to Destination
Message Object
Node = <s>
Node = <d>
MMC = ‘100’
MMC = ‘100’
CANPTR = <d>
CANPTR = <s>
FSIZE = ‘00000’
FSIZE = ‘00000’
DIR = ‘0’
DIR = ‘1’
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> = ‘0’
Set if SRREN<d> = ‘1’ Set if SRREN<d> = ‘0’
Unchanged
Unchanged
Set if RXIE<s> = ‘1’
Set if RXIE<d> = ‘1’
DATA
ID
DLC
TXRQ
RMTPND
NEWDAT
INTPND
Updated if
RMM<d> = ‘1’
Updated if
RMM<d> = ‘1’
Remote Frame
Remote Request
(SRREN<d> = ‘1’)
Remote Frame
Data Frame (SRREN<d> = ‘0’)
MCA05488
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.
User’s Manual
TwinCAN_X1, V2.1
21-32
V2.2, 2004-01