English
Language : 

XC161 Datasheet, PDF (271/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> = ‘000’:
The operation with a standard message object on the destination side is illustrated in
Figure 21-17.
Source CAN Bus
Destination CAN Bus
Gateway
Source
Gateway
Gateway
Destination
Node = <s>
MMC = ‘100’
CANPTR = <d>
FSIZE = ‘00000’
DIR = ‘0’
DATA
ID
DLC
TXRQ = ‘01’
RMTPND = ‘01’
NEWDAT = ‘10’
INTPND
Pointer to Destination
Message Object
Copy
Copy if IDC<s> = ‘1’
Copy if DLCC<s> = ‘1’
Reset
Set if GDFS<s> = ‘1’
Reset
Unchanged
Set
Set
Set if RXIE<s> = ‘1’ Set if RXIE<d> = ‘1’
Node = <d>
MMC = ‘000’
CANPTR = <d>
FSIZE = ‘00000’
DIR = ‘1’
DATA
ID
DLC
TXRQ
RMTPND
NEWDAT = ‘10’
INTPND
Pointer to
Destination
Message
Object
Data Frame
Copy Data Frame
Data Frame (GDFS<s> = ‘1’)
MCA05487
Figure 21-17 Data Frame Reception in Normal Gateway Mode with a Standard
Destination Message Object (MMC<d> = ‘000’)
A matching data frame, arrived at the source node, is automatically copied to the
destination node’s message object addressed by CANPTR<s>. Bitfield CANPTR<d> is
loaded with the destination message object number. Regardless of control bit
SRREN<d>, remote frames, received on the destination node, are not transferred to the
source side, but can be directly answered by the destination message object. For this
purpose, control bitfields 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 to
‘01’.
User’s Manual
TwinCAN_X1, V2.1
21-31
V2.2, 2004-01