civil-and-structural-engineering
How to Use Can Fd Protocol for High-speed Automotive Networking
Table of Contents
Introduction to CAN FD for High-Speed Automotive Networking
The evolution of vehicle electronics has pushed traditional in-vehicle networking protocols to their limits. As Advanced Driver Assistance Systems (ADAS), infotainment platforms, and electric powertrains demand faster data exchange, the Controller Area Network Flexible Data-rate (CAN FD) protocol has emerged as a critical upgrade. Originally standardized by Bosch and later formalized in ISO 11898-1:2015, CAN FD extends the classic CAN standard to deliver data rates up to 8 Mbps and payloads of 64 bytes per frame—eight times more than conventional CAN. This article provides a comprehensive overview of CAN FD, its architecture, implementation strategies, real-world applications, and the challenges engineers face when deploying it in modern automotive networks.
Understanding CAN FD: Core Principles and Differences from Classic CAN
What Is CAN FD?
CAN FD is an extension of the classic CAN protocol that operates on the same physical layer and bus architecture while adding two key improvements: flexible data rate and larger payloads. In classic CAN, the maximum data field is 8 bytes, and the bit rate is fixed at up to 1 Mbps. CAN FD retains the arbitration phase at the standard bit rate (typically 500 kbps or 1 Mbps) but then switches to a higher bit rate (up to 8 Mbps) during the data phase. This switch is signaled by a special bit inside the frame, allowing existing CAN controllers that lack FD support to detect an error frame and remain silent during FD transmissions.
Another critical difference is the Flexible Data Format (FDF) bit, which distinguishes classic CAN frames from CAN FD frames. The protocol also introduces a Bit Rate Switch (BRS) bit to indicate the change in transmission speed after arbitration. This design ensures backward compatibility with classic CAN, meaning CAN FD nodes can coexist on the same bus with legacy nodes, though FD frames will be ignored by non-FD nodes.
Key Technical Specifications
- Maximum data rate during data phase: Up to 8 Mbps (practical limits depend on bus length and network topology; typically 2–5 Mbps for production vehicles)
- Maximum payload per frame: 64 bytes (vs. 8 bytes in classic CAN)
- Arbitration phase bit rate: Same as classic CAN (1 Mbps max, often 500 kbps)
- Frame format: ISO CAN FD (ISO 11898-1:2015) and non-ISO CAN FD (older implementations, now deprecated)
- CRC length: 17 bits (for payloads up to 16 bytes) or 21 bits (for longer payloads) to ensure robust error detection
For a detailed technical reference, the Bosch CAN FD specification page provides official documentation and white papers.
Advantages of CAN FD in Modern Automotive Systems
Higher Data Throughput and Reduced Bus Load
Because CAN FD sends up to eight times more data per message, the number of frames required for a given set of signals is drastically reduced. This lowers bus arbitration overhead and frees bandwidth for additional messages. For example, a battery management system that previously needed four 8-byte CAN messages to report cell voltages, temperatures, and status can now transmit the same data in a single 64-byte CAN FD frame. This reduction in bus load is critical as the number of electronic control units (ECUs) in vehicles continues to grow—some premium vehicles now have over 100 ECUs.
Support for Bandwidth-Intensive Applications
Systems such as high-resolution radar, lidar, camera modules, and over-the-air (OTA) update managers require higher throughput than classic CAN can provide. CAN FD directly addresses these needs without requiring a complete architectural shift to Ethernet or FlexRay. Many ADAS functions rely on aggregating sensor data from multiple sources; CAN FD’s larger payloads enable more sensor fusion data to be transmitted on a single bus, reducing latency and simplifying wiring.
Backward Compatibility and Incremental Upgrade Path
Automakers can deploy CAN FD incrementally. Classic CAN nodes still operate on the same bus, and CAN FD nodes simply need to be configured to obey the arbitration rules. This allows manufacturers to introduce CAN FD on new ECUs while keeping legacy modules unchanged — a major advantage over protocols like Ethernet, which often require a new backbone. The backward compatibility feature is defined by the ISO standard; the physical layer (CAN transceiver) typically supports both modes. For example, the TJA1145 transceiver from NXP can seamlessly operate in classic or FD mode.
Improved Protocol Efficiency
CAN FD also reduces protocol overhead per byte of useful data. The bit overhead for a 64-byte frame is proportionally smaller than for eight 8-byte frames, resulting in better effective throughput for the same bus bandwidth. This efficiency gain is especially beneficial for diagnostic communication (UDS on CAN FD) and flash programming over a network, where large blocks of data must be transferred in the shortest possible time.
Implementing CAN FD in Automotive Networks
Hardware Requirements and Selection
To build a CAN FD network, each ECU must have a CAN FD-capable controller and a CAN FD transceiver. Many modern microcontrollers, such as the Infineon Aurix TC3xx, NXP S32K, and STMicroelectronics SPC58 series, integrate CAN FD controllers. The transceiver must support the higher data rates; standard high-speed CAN transceivers may not handle bit rates above 1 Mbps reliably. Recommended transceivers include the NXP TJA1145, TJA1151, and the Texas Instruments TCAN4550 (which also includes a SPI interface for adding CAN FD to non-CAN systems).
Engineers must also consider signal integrity. At 5–8 Mbps, the CAN bus behaves more like a transmission line. Termination resistors, stub lengths, and connector quality become critical. The National Instruments white paper on CAN FD basics provides practical guidelines for hardware setup and testing.
Network Topology and Design Considerations
The classic CAN bus topology—a linear bus with termination at each end—is maintained for CAN FD. However, the maximum bus length is reduced at higher bit rates. As a rule of thumb, for data phase bit rates of 2 Mbps, the bus length can be up to 50 meters; for 5 Mbps, it is limited to about 20 meters; and for 8 Mbps, the length is typically under 10 meters. Stub lengths must be kept as short as possible (usually under 0.3 meters) to minimize reflections. Using a bus star topology with active hubs (repeaters) can extend the network, but adds latency and cost.
Configuration and Bit Timing
CAN FD requires careful configuration of the arbitration bit rate and data bit rate. Both rates must be synchronized across all FD nodes. The simplest method is to use a predefined set of parameters from the CAN in Automation (CiA) specification or the manufacturer’s recommended values. Tools like Vector CANalyzer or PCAN-USB FD allow engineers to monitor the bus and adjust timing. Common settings include:
- Arbitration: 500 kbps, sample point at 80–87.5%
- Data phase: 2 Mbps or 4 Mbps, sample point at 70–75%
It is crucial to verify that all nodes on the bus can tolerate the bit timing tolerance specified by ISO 11898-1:2015. The re-synchronization jump width (SJW) and phase buffer segments must be chosen to handle oscillator tolerances—typically ±0.1% or better for the data phase.
Software and Firmware Adaptation
Existing classic CAN software stacks need modifications to handle the larger payloads and the optional BRS bit. Most real-time operating systems (RTOS) used in automotive (e.g., AUTOSAR) now support CAN FD. The driver must detect FD frames, manage the larger data field, and ensure that the message ID and DLC (Data Length Code) are correctly interpreted. AUTOSAR defines a CAN FD Interface module and a CAN FD Transceiver Driver that abstract the hardware specifics.
Diagnostic protocols like UDS (ISO 14229) have been extended to work over CAN FD, allowing faster ECU reprogramming and data logging. For instance, a UDS "RequestDownload" over CAN FD can transfer large software modules in fewer messages, cutting flash programming time by 70% compared to classic CAN.
Testing and Validation of CAN FD Networks
Physical Layer Testing
As with any high-speed bus, physical layer testing is essential. Use an oscilloscope with differential probes to measure the CAN FD signal at each node. Key parameters to verify: differential voltage levels (dominant: 1.5–3.0 V; recessive: 0.0–0.5 V), bit timing accuracy (especially the data phase), and signal quality (overshoot, undershoot, ringing). The eye diagram method is common; the bit time during the data phase should be clearly open with enough margin.
Also perform compliance testing according to ISO 11898-2 (transceiver specification) and ISO 11898-5 (high-speed medium access unit). Many vendors offer test suites. For example, the CAN in Automation (CiA) association provides a CAN FD conformity test specification (CiA 601-series).
Protocol and Conformance Testing
Protocol testing ensures that all nodes correctly handle arbitration, error frames, and the FD-specific bits. Use a CAN FD bus analyzer (e.g., Vector VN1630, Kvaser USBcan FD) to capture and decode frames. Verify that the BRS bit is set during the data phase and that the CRC matches. Also test error scenarios: bit errors, stuff errors, and CRC errors. CAN FD controllers must be able to detect and handle errors within the same bit time.
Interoperability Testing
Because backward compatibility is a key feature, you must test networks that mix classic CAN and CAN FD nodes. The classic CAN nodes should generate error frames when they see an FD frame (due to the dominant CRC delimiter violation), but the CAN FD node should be able to ignore these error frames and retransmit if needed. Some controllers have a special "FD-passive" mode to handle such cases. Ensure all nodes are configured consistently to avoid bus-off conditions.
Challenges and Engineering Considerations
Cost and Component Availability
While CAN FD controllers are now commonplace, transceivers that support the full 8 Mbps data phase are still more expensive than classic high-speed transceivers. Additional filtering and isolation circuitry may be needed for automotive EMC compliance. For low-volume production or retrofit applications, the upfront cost can be significant. However, as adoption increases, prices are expected to converge with classic CAN.
Complexity of Timing Analysis
Network engineers face a steep learning curve when transitioning from classic CAN to CAN FD. The bit timing is more sensitive, and the interaction between the arbitration rate and data rate requires careful analysis. Tools like Vector CANoe provide simulation environments where timing and latency can be modeled before physical deployment. Without proper simulation, bus errors or unexpected timeouts may occur, especially under heavy load.
Integration with Legacy Systems
Many existing vehicles still rely on classic CAN. Retrofitting CAN FD often requires upgrading gateway modules that route messages between different bus domains. These gateways must be able to translate between classic CAN and CAN FD formats—truncating or padding payloads and recalculating CRCs. This translation can introduce latency and complexity. In some cases, it may be simpler to keep the legacy bus as classic CAN and add a separate CAN FD subnet for new ECUs.
Electromagnetic Compatibility (EMC)
Higher bit rates inherently produce higher-frequency emissions. CAN FD at 5–8 Mbps may cause radiated emissions that exceed automotive CISPR 25 class limits unless proper shielding and filtering are implemented. Common-mode chokes, ferrite beads, and careful PCB layout are vital. Many automotive transceivers now feature "slew rate control" for the data phase to reduce EMI. Engineers should allocate time for EMC testing early in the design cycle.
Real-World Use Cases and Applications
ADAS and Autonomous Driving
Modern ADAS units must process data from multiple cameras, radars, and lidar sensors. While much of the high-bandwidth sensor data is handled via Ethernet or SerDes, the aggregated object lists and fusion results can be sent over CAN FD to the central domain controller at high speed. For example, a camera module that detects lane markings, vehicles, and pedestrians can transmit an object list of several hundred bytes in a single CAN FD frame, compared to dozens of classic CAN frames. This reduces bus contention and ensures lower latency for actuation commands.
Electric Vehicle (EV) Battery Management
EV battery management systems (BMS) require real-time monitoring of cell voltages, temperatures, and state-of-charge per module. A 96-cell battery pack might need to report 96 voltages, 32 temperatures, and status flags. Classic CAN would require multiple frames per module, increasing bus load and introducing sample time skew. With CAN FD, a single frame per module can carry all the data, enabling faster and more accurate state estimation. Many EV manufacturers, including Tesla (up to Model 3), have adopted CAN FD for their BMS communication.
Over-the-Air (OTA) Updates
OTA updates are a growing requirement for automotive software lifecycles. A single ECU firmware image can be 10 MB or more. Using classic CAN at 500 kbps, transferring 10 MB would take over three minutes. With CAN FD at 4 Mbps, the same transfer takes under 30 seconds. The reduced flash time means less vehicle downtime and lower risk of interruption during updates. The UDS protocol over CAN FD (ISO 15765-4) is the standard mechanism for OTA.
Infotainment and Gateway Systems
Modern head units aggregate data from multiple sources—vehicle diagnostics, smartphone mirroring, surround-view cameras. CAN FD provides a high-speed backbone for these data streams without the cost and complexity of full Ethernet. Many Tier-1 suppliers like Bosch and Continental now offer gateway modules that combine CAN FD with Ethernet, bridging the two domains for future architectures.
Comparison with Other High-Speed Automotive Protocols
CAN FD vs. FlexRay
FlexRay is a deterministic, time-triggered protocol with data rates up to 10 Mbps and payloads up to 254 bytes. It offers higher determinism and fault tolerance but at higher cost and complexity. CAN FD is simpler, cheaper, and more widely adopted in production. FlexRay has lost momentum in recent years, while CAN FD continues to expand into areas previously served by FlexRay, such as chassis control and powertrain.
CAN FD vs. Automotive Ethernet
Ethernet (100BASE-T1, 1000BASE-T1) offers far higher bandwidth (100 Mbps–1 Gbps) and is the protocol of choice for bandwidth-hungry applications like raw camera video and high-speed diagnostics. However, Ethernet requires more expensive silicon, specialized connectors, and a switched topology, increasing weight and cost. CAN FD fills the gap between classic CAN and Ethernet, providing a cost-effective intermediate solution for moderate-bandwidth, real-time communication.
Future Outlook and Standardization
The automotive industry is moving toward a domain-based and zonal architecture, where high-speed backbone networks (often Ethernet) connect to zone gateways that use CAN FD for local communication to sensors and actuators. The next evolution, CAN XL (currently under development by CiA), aims to support data rates up to 20 Mbps and payloads up to 2048 bytes, blending CAN FD’s simplicity with Ethernet-like throughput. However, CAN FD will remain the primary protocol for the next decade due to its maturity, tool support, and installed base.
International standards bodies continue to refine the CAN FD specification. ISO 11898-1:2015 is the current base, with amendments addressing bus lengths, timing, and EMC. The CiA 601 series provides test specifications for CAN FD transceivers. For the latest updates, refer to CiA's CAN FD knowledge page and the ISO 11898-1 official standard.
Conclusion
CAN FD protocol represents a pragmatic and powerful upgrade to classic CAN, enabling high-speed data transfer without abandoning the proven simplicity and robustness of the CAN bus. Its backward compatibility, larger payloads, and higher data rates make it an ideal choice for modern automotive systems that require both real-time performance and cost efficiency. From ADAS and battery management to OTA updates and infotainment, CAN FD provides the bandwidth needed for today’s vehicles while serving as a foundation for future innovations. Successful deployment demands careful attention to hardware selection, bit timing, signal integrity, and testing. As the automotive industry continues its shift toward software-defined vehicles, mastering CAN FD implementation will remain a core skill for embedded engineers.