Posts

Layers and Software Components used in CAN Bus Protocol Stack

Image
  The seven layers of OSI Model have found multiple uses. The automotive industry has significantly put to use these layers in multiple aspects of vehicle designing and in-vehicle communication. Let’s   have a look at these layers and understand their importance. CAN Bus Physical and Data Link Layer The CAN Bus is defined by the physical and data link layers of the OSI model. In the case of high-speed CAN, ISO 11898-1 describes the data link layer and ISO 11898-2 the physical layer. As seen in the figure   , the role of CAN is frequently described in the 7-layer OSI model. [ source: CSS Electronics] The physical layer of the CAN bus defines factors like cable kinds, electrical signal levels, node requirements, cable impedance, and so on. ISO 11898-2, for example, has a long list of requirements including those listed below: Baud rate: CAN nodes must be connected through a two-wire bus with baud rates of up to 1 Mbit/s (Classical CAN) or 5 Mbit/s (Advanced CAN) ...

CAN Protocol – An Overview

The acronym CAN stands for 'controller area network.' The ISO 11898 standards define the controller area network as an electronic communication bus. Those standards, among other things, specify how communication occurs, how wiring is built, and how messages are created. A CAN bus is the name given to this system in its entirety. A Brief Synopsis of the CAN Bus In simple yet precise terms, The CAN bus is a transmission style bus .  This implies that all broadcasts are "heard" by all nodes. There is no method to transmit a message to a single node; all traffic is picked up by all nodes. The CAN hardware, on the other hand, includes local filtering, allowing each node to respond only to the relevant messages. The modules in this system are wired-and linked to the bus; if just one node drives the bus to a logical 0, the entire bus is in that state, regardless of how many nodes are broadcasting a logical 1. The CAN standard distinguishes four types of messages. To ...