CAN-FD Overview

Micael Coutinho,autosarbswcan

CAN is the most widely used automotive protocol. Learn here about the variant CAN-FD (CAN Flexible Data-Rate)

It's a fact. CAN is the most popular automotive protocol. It's one of the cheapest options, provides very baud rates and is reliable in the noisy mess that is a vehicle. Even though other protocols give CAN a run for its money, such as LIN (you can learn about it in What is LIN (opens in a new tab)), by being cheaper and good enough if your application does not require a huge message throughput, and FlexRay (you can explore it further in What is FlexRay (opens in a new tab)), which is more expensive but faster.

When we overviewed CAN, in the article CAN Protocol Overview (opens in a new tab), we have already explored some limitations of CAN, such as the limited baud rate, of 1Mbps, and the inability to communicate data in a predictive manner, as it only supports event-based communication. Today, we'll cover two variants of CAN, CAN-FD (CAN Flexible Data-rate) and TTCAN (Time-Triggered CAN), which mitigate these two different issues and add a bit more to the value of this already pretty capable protocol. Today, we'll take a look at CAN-FD.

With the number of functionalities in a vehicle ever-increasing, it is normal to see CAN starting to struggle with high bus loads. The baud-rate (1Mbps) and data frame length (8 bytes) are starting to pose a limitation on the communication for many different vehicles. To delay the inevitable passing of CAN into history, CAN-FD was born. Its main benefits are:

Now, let's turn our heads into the CAN-FD frames. There are a few new fields added, when comparing it with regular CAN, but nothing too serious that our extra baud-rate in the data stage cannot compensate for. Below, we can find a comparison between CAN and CAN-FD's messages, with hidden stuff bits for better comprehension:

CAN vs CAN-FD frames { w: 792, h: 252 }

CAN vs CAN-FD frames

The parameters, one by one:

Lastly, let's discuss in which circumstances the CAN and CAN-FD protocols and nodes can coexist: either you have an entirely capable CAN-FD system, which allows you to mix both protocols, or CAN-FD nodes can switch from classic CAN to avoid error frames from the classic CAN nodes. Some classic CAN nodes can also be switched offf in certain circumstances to avoid errors and allow for a full CAN-FD capable system during certain periods.

Alright, now that you are a CAN-FD master, we hope you stick around for when we cover CAN-TT. See you next time!

© AutosarToday —@LinkedIn