English
Language : 

XC161CJ_02 Datasheet, PDF (44/78 Pages) Infineon Technologies AG – 16-Bi t Single-Chip Microcontroller Preliminary
XC161
Derivatives
Preliminary
Functional Description
3.13
TwinCAN Module
The integrated TwinCAN module handles the completely autonomous transmission and
reception of CAN frames in accordance with the CAN specification V2.0 part B (active),
i.e. the on-chip TwinCAN module can receive and transmit standard frames with 11-bit
identifiers as well as extended frames with 29-bit identifiers.
Two Full-CAN nodes share the TwinCAN module’s resources to optimize the CAN bus
traffic handling and to minimize the CPU load. The module provides up to 32 message
objects, which can be assigned to one of the CAN nodes and can be combined to FIFO-
structures. Each object provides separate masks for acceptance filtering.
The flexible combination of Full-CAN functionality and FIFO architecture reduces the
efforts to fulfill the real-time requirements of complex embedded control applications.
Improved CAN bus monitoring functionality as well as the number of message objects
permit precise and comfortable CAN bus traffic handling.
Gateway functionality allows automatic data exchange between two separate CAN bus
systems, which reduces CPU load and improves the real time behavior of the entire
system.
The bit timing for both CAN nodes is derived from the master clock and is programmable
up to a data rate of 1 Mbit/s. Each CAN node uses two pins of Port 4, Port 7, or Port 9 to
interface to an external bus transceiver. The interface pins are assigned via software.
clock fCAN
control
address
decoder
interrupt
control
TwinCAN module kernel
CAN
node A
CAN
node B
CAN
message object buffer
TwinCAN control
TXDCA
RXDCA
port
control
TXDCB
RXDCB
Figure 9 TwinCAN Module Block Diagram
Data Sheet
40
V1.0, 2002-03