|
XC164-16 Datasheet, PDF (331/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units | |||
|
◁ |
XC164-16 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_X41, V2.1
21-31
V2.1, 2004-03
|
▷ |