Target Specification
BOSCH -8/84-
Rev. 1.4CC770
09.11.2006
061.2/2.3 - 15.08.97 K8/EIS - Klose-2969 spec_general_features.fm
The serial communications controller is a highly integrated device that performs serial com-
munication according to the CAN Protocol Version 2.0 A, B. The CAN protocol uses a multi-
master (contention based) bus configuration for the transfer of “communication objects”
between nodes of the network. This multi-master bus is also referred to as CSMA/CR or
Carrier Sense, Multiple Access, with Collision Resolution.
The CC770 performs all serial communication functions such as transmission and recep-
tion of messages, message filtering, transmit search, and interrupt search with minimal
interaction from the host microcontroller, or CPU. The CC770 supports the standard and
extended message frames in CAN Specification 2.0 part B. It has the capability to transmit,
receive, and perform message filtering on extended message frames with a 29-bit message
identifier. Due to the backward compatible nature of CAN Specification 2.0, the CC770 also
fully supports the standard message frames in CAN Specification 2.0 part A.
A communication object consists of an identifier along with control data segments. The con-
trol segment contains all the information needed to transfer the message. The data seg-
ment contains from 0 to 8 bytes in a single message. All communication objects are stored
in the Memory of the corresponding CAN chip for each node. A transmitting node broad-
casts its message to all other nodes on the network. An acceptance filter at each node
decides whether to receive that message. A message is accepted only if a communication
object with a matching message identifier has been set up in the CAN Memory for that
node.
CAN not only manages the transmission and reception of messages but also the error han-
dling, without any burden on the CPU.
CAN features several error detection mechanisms. These include Cyclical Redundancy
Check (CRC) and bit coding rules (“bit stuffing/destuffing“). The polynomial of the CRC has
been optimized for control applications with short messages. If a message was corrupted
by noise during transmission, it is not accepted at the receiving nodes. Current transmis-
sion status is monitored in the control segment of the appropriate communication object
within the transmitting node, automatically initiating a repeated transmission in the case of
lost arbitration or errors. CAN also has built-in mechanisms to locate error sources and to
distinguish permanent hardware failures from occasional soft errors. Defective nodes are
switched off the bus, implementing a fail-safe behaviour (thus, hardware errors will not let
defective nodes control the bus indefinitely).
The message storage is implemented in an intelligent memory, which can be addressed by
the CAN controller and the CPU. The CPU controls the CAN controller by selectively modi-
fying the various registers and bit fields in the Memory. The content of the various bit fields
are used to perform the functions of acceptance filtering, transmit search, interrupt search
and transfer completion.
In order to initiate a transfer, the transmission request bit has to be written to the message
object. The entire transmission procedure and eventual error handling is then done without
any CPU involvement. If a communication object has been configured to receive messages,
the CPU easily reads its data registers using CPU read instructions. The message object
may be configured to interrupt the CPU after every successful message transmission or
reception.
The CC770 features a powerful CPU interface that offers flexibility to directly interface to
many different CPUs. It can be configured to interface with CPUs using an 8-bit multiplexed,
16-bit multiplexed, or 8-bit non-multiplexed address/data bus for Intel and Motorola architec-
tures. A flexible serial interface is also available when a parallel CPU interface is not
required.