English
Language : 

XC164-16 Datasheet, PDF (337/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
Bit SRREN determines, whether a remote frame, received on the destination side, is
transferred through the gateway to the source node or is directly answered by a data
frame generated on the destination side.
The functionality of the shared gateway mode is optimized to support different scenarios:
• a data source, connected with CAN node A, transmits continuously data frames,
which have to be automatically emitted on the destination CAN bus by CAN node B.
The corresponding transfer state transitions are 1 - 2 - …
• a data source, connected with CAN node A, transmits continuously data frames,
which have to be emitted by CAN node B upon a matching remote frame received
from the destination CAN bus.
The corresponding transfer state transitions are 7 - 4 - 2 - …
• a data source, connected with CAN node A, transmits a data frame upon a matching
remote frame, which has been triggered by a matching remote frame received by
CAN node B. The respective data frame has to be emitted again on the destination
CAN bus by CAN node B.
The corresponding transfer state transitions are 5 - 6 - 1 - 3 - …
Depending on the application, the shared gateway message object can be initialized as
receive object on the source side or transmit object on the destination side via an
appropriate configuration of NODE, DIR, GDFS and SRREN. The various transfer states
are illustrated in Figure 21-22.
Data Frame Transmission, SRREN = ‘1’
3
Transmit Object
Destination Side
TXRQ Set
4
Remote Frame Reception,
SRREN = ‘0’
Transmit Object
Destination Side
TXRQ Reset
1
Data Frame
Reception,
GDFS = ‘1’
2
Data Frame
Transmission,
SRREN = ‘0’
7
Data Frame
Reception,
GDFS = ‘0’
5
Remote Frame
Reception,
SRREN = ‘1’
Receive Object
Source Side
TXRQ Reset
6
Remote Frame Transmission
Receive Object
Source Side
TXRQ Set
MCA05492
Figure 21-22 Transfer States in Shared Gateway Mode
User’s Manual
TwinCAN_X41, V2.1
21-37
V2.1, 2004-03