CAN Basics

Standard CAN frame format | Extended CAN frame structure

This page compares standard CAN frame format vs extended CAN frame format and mentions various fields used in standard CAN frame format and extended CAN frame structures.

Standard CAN Frame Format fields

Figure-1 depicts standard CAN frame structure. Following table-1 describes fields used in standard CAN frame format. It uses 11 bit identifier.

FieldsDescription
SOFStart of Frame bit. It marks start of message. It is used to synchronize nodes on the CAN bus.
IdentifierIt is 11 bit (binary) in size. It establishes priority of message. Lower the value, higher is the priority.
RTRIt stands for Remote Transmission Request bit. This field is dominant when node requires information from another remote node. All the nodes receive request and all the nodes receive reply. Specific node processes the request based on identifier and transmits the reply.
IDEStands for Identifier Extension bit. It indicates standard CAN frame is being transmitted with no extension.
r0It is reserved for future use.
DLCStands for Data length code. It is 4 bits in size. It indicates number of bytes to be transmitted over the CAN bus.
DataIt contains upto 64 bits of application data.
CRCIt is used for error detection. It is 16 bits in size. It holds checksum for application data preceding to it.
ACKIt is 2 bits in size. It contains first bit as ack bit and second bit as delimiter. Each node uses this to show integrity of its data. Node receiving correct message overwrites this bit in original received message with dominate bit as mentioned above to indicate error free message has been transmitted. The node receiving erroneous message leaves this bit as recessive. Moreover it discards the message and hence prompts the sending node to re-transmit the message after re-arbitration process.
EOFStands for End of Frame. It is 7 bits in size. It marks end of CAN frame or message.
IFSstands for Interframe space. It is 7 bits in size. It contains time required by controller to move correctly received frame to its proper position in message buffer area.


Extended CAN Frame format fields

Figure-2 depicts extended CAN frame structure. Following table-2 describes fields used in extended CAN frame format. It uses 29 bit identifier.

FieldsDescription
SRRIt stands for Substitute Remote Request. This bit replaces RTR bit of standard CAN message location as placeholder in this extended CAN format.
IDEIt functions as recessive bit in identifier extension. It indicates that more identifier bits are followed. 18 bit extension follows IDE.
r1It is additional reserved bit for future use.

Note: Illustrated Pictures and Tables are taken from Internet sources for better understanding.

REVIEW: The Mahindra XUV700 will cause havoc for everyone.

Domestic automaker Mahindra has reportedly removed several features starting from the entry-level MX variant to the top-spec AX7 L. The company has removed the rear parking sensors, height-adjustable driver seat, follow-me-home headlamps, and rear spoiler from the entry-level MX variants. The Mahindra XUV700 AX3 variants will no longer get a rear wiper and defogger, and selective unlock for the…

Published by Ponnarasu Periyasamy

Automotive Testing Engineer from India

2 thoughts on “CAN Basics

    1. IFS stands for Interframe space. It’s 7 bit frame. I’ll update the every frame details in this blog. Thank you for asking questions. it’ll help me to improve the quality of this blog.

      Like

Leave a comment

Design a site like this with WordPress.com
Get started