2
2
II. METHODOLOGY
A CAN system sends messages using a serial bus
network. With every node connected to every other node
in the network, the need for a central controller for the
entire network is made redundant.
2.1 Architectural overview
The CAN controller designed for this thesis has
been implemented on the lines of a Basic CAN Controller,
with a few modifications to it. The functional block
diagram for the controller is as shown in the following.
Fig1: Block diagram of CAN controller. The various functional blocks in the diagram are described
as follows:
The CAN Protocol Controller receives • Host CPU: This is the interfacing application which
unformatted message from the microprocessor, frames the provides the CAN controller with the data to be
messages as per the protocol specifications and also de- transmitted across the CAN bus and also reads the received
frames the received CAN message frames. The digital messages from the controller
signals transmitted by the protocol controller are converted • Interface: The interface between the host application and
into electrical signals compatible with the CAN differential the CAN controller consists of an 8-bit data bus to transfer
transmission medium by the CAN Transceiver which is the message to the controller’s transmit buffer, an 8-bit
also designed as a separate entity. The integration of these data read bus which reads the messages received from the
individual blocks would constitute the entire CAN controller’s receive buffers and status signals to perform
Controller. The automobile industry developed several the requisite handshaking for these operations
electronic systems to meet the growing demand for greater
safety, comfort, convenience and compliance requirements
for improved pollution control and reduced fuel
consumption. As a result the complexity of these control
systems and the need to exchange data among them
required more and more hard-wired, dedicated signal lines.
This prompted the replacement of the existing mode of
wiring by a network architecture where all the nodes in the
network communicate through a common bus.