CAN Bus

Enable Javascript for TOC.

Basics

Can Frames:
Field Bits Comment
Start of frame 1
Identifier 11 or 29 on extended format
Remote transmission (RTR) 1 signalizes an request
ID extension (IDE) 1
Reserved 1 FD frame bit (FDF) in "CAN FD"
Data lengtd code (DLC) 4
Data field 0-8 byte
CRC 15
CRC delimiter 1 gives you time to check the CRC on receiver side
ACK slot 1 written by the receiver
ACK delimiter 1
End of frame 7
Source: Youtube

Implementations

DeviceNet

DeviceNet is a CAN based Layer 7 protocol, which was originally developed by Allen Bradley. Operation of DeviceNet is based on an object-oriented communications model. DeviceNet is maintained by the "Open DeviceNet Vendor Association (ODVA)" and can be implemented free of license. (www.odva.org) DeviceNet is widely used in US factory automation.

Source: Vector - Protocol Selection Guide, p2

CANOpen

Source: WEBINAR: Unitronics Vision - CANOpen (Youtube) Source: Vector - CANOpen Introduction Source: Wikipedia - CANOpen

CAN/CANOpen Implementations

J1939

J1939 Implementations

ISO-TP (Transport Layer) - ISO 15765-2

OSI Layer 3 and 4 protocol, to manage packet sizes up to 4095 bytes of payload. The addressing (CAN IDs) is not changed. The additional protocol overhead is 1 or 2 bytes in each packet (so data is reduced to 7 or 6 bytes per packet) and an additional return package (flow control frame).

ISO-TP Implementations

can-isotp implementation of hartkopp

CAN Kingdom

see https://www.kvaser.com/difference-can-open-can-kingdom/ https://www.kvaser.com/wp-content/uploads/2014/02/ck301p.pdf