English
Language : 

XC164-16 Datasheet, PDF (334/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
Source CAN Bus
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
Destination CAN Bus
Gateway
Source
Gateway
Gateway
Destination
Node = <s>
MMC = ‘100’
CANPTR = <d>
FSIZE = ‘00001’
DIR = ‘0’
DATA
ID
DLC
TXRQ = ‘10’
RMTPND = ‘01’
NEWDAT = ‘01’
INTPND
Pointer to next addressed
Destination Message Object
Copy by SW if Required
Copy by SW if Required
Set by SW
Reset by SW
Reset by SW
Reset by SW
Reset by SW
Unchanged
Unchanged
Set if RXIE<d> = ‘1’
Node = <d>
MMC<sl> = ‘011’
CANPTR<sl>
Node = <d>
MMC<ba> = ‘010’
CANPTR<ba>
FSIZE = ‘00001’
DIR = ‘1’
DATA
ID
DLC
TXRQ = ‘01’
RMTPND = ‘01’
NEWDAT
INTPND
Pointer to
Base
Object
FIFO
Remote Frame
Copy Remote Request by SW
(CPUUPD<d> = ‘10’)
Remote Frame
Data Frame (CPUUPD<d> = ‘01’)
MCA05489
Figure 21-19 Data Frame Transfer in Normal Gateway Mode with a 2 Stage FIFO on
the Destination Side (MMC<d> = ‘01x’)
Remote frames, received on the destination side by a FIFO element, cannot be
automatically passed to the source side. Therefore, the SRREN<d> control bits,
associated to the FIFO elements on the destination side, have to be cleared in order to
answer incoming remote frames with matching identifiers directly with a data frame.
Buffered transfers of remote requests from the destination to the source side can be
handled by a software routine operating on the FIFO buffered gateway configuration for
data frame transfers. The elements of the FIFO buffer on the destination side should be
configured as transmit message objects with CPUUPD<d> = ‘10’. An arriving remote
User’s Manual
TwinCAN_X41, V2.1
21-34
V2.1, 2004-03