English
Language : 

XC164-16 Datasheet, PDF (308/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 BOFF is set when the transmit error counter exceeded the error limit of 255 and
the respective CAN node controller has been logically disconnected from the
associated CAN bus.
The CAN frame counter can be used to check the transfer sequence of message objects
or to obtain information about the time instant, a frame has been transmitted or received
from the associated CAN bus. CAN frame counting is performed by a 16-bit counter,
which is controlled by register AFCR/BFCR. Bitfield CFCMD defines the operation mode
and the trigger event incrementing the frame counter:
• After correctly transmitted frames,
• after correctly received frames,
• after a foreign frame on the CAN bus (not transmitted/received by the CAN node
itself),
• at beginning of a new bit time.
The captured frame counter value is copied to the CFCVAL field of the associated
MSGCTRn register at the end of the monitored frame transfer. Flag CFCOV is set on a
frame counter overflow condition (FFFFH to 0000H) and an interrupt request is generated
if bit CFCIE is set to ‘1’.
User’s Manual
TwinCAN_X41, V2.1
21-8
V2.1, 2004-03