Vehicle Networks & Communication

CAN-FD Development Guide

A practical engineering reference for building, decoding, testing, simulating, and troubleshooting CAN-FD communication.

Engineering model

How CAN-FD fits together

CAN-FD extends CAN by allowing larger frame payloads and a faster data phase. Reliable development depends on consistent frame configuration, compatible timing, correct interpretation of the DBC, and controlled validation across participating network nodes. Analysis usually combines recorded traffic or CAN dumps with database definitions and, where available, simulation and test tooling.

Core concepts

The parts of a practical CAN-FD setup

01

Frame configuration

The frame configuration determines how CAN-FD communication is interpreted, including the payload capacity and the transition between the arbitration portion and the faster data phase. A mismatch can prevent communication or produce frames that cannot be decoded reliably.

02

Bus timing

CAN-FD timing must be consistent across the communicating nodes. The separate communication phases make timing configuration especially important when integrating a faster data phase with an existing CAN network.

03

Signal and message description

A DBC maps message identifiers and payload contents to signals, nodes, scaling, and metadata. It is the basis for turning captured CAN-FD frames into engineering values and for checking whether generated traffic matches the intended interface.

04

Development and validation environment

A network development environment can combine simulation, test execution, recording, and analysis. CANoe is one supplied example of a tool used to reproduce traffic and inspect behavior around CAN-FD communication.

The CAN-FD engineering model

Treat CAN-FD development as the alignment of communication behavior, configuration, and interpretation rather than as a frame-format task alone.

A CAN-FD exchange has several dependencies: the participating nodes must agree on the communication configuration, the bus must remain stable under the selected timing, and the receiving side must interpret the payload according to the intended message and signal definitions. A valid-looking recording does not by itself prove that the software behavior is correct; the observed traffic must also be compared with expected message presence, values, timing, and routing.

  • CAN-FD provides larger payloads than CAN and supports a faster data phase.
  • CAN remains relevant when CAN-FD traffic must coexist with or be compared against established CAN communication.
  • The DBC provides the semantic mapping from frames to messages, signals, nodes, scaling, and metadata.
  • Recordings and CAN dumps provide evidence of actual traffic, while simulation and testing help exercise expected behavior.

Frame configuration and timing

Start development by making the communication assumptions explicit and verifiable on every participating node.

The arbitration portion determines how communication is coordinated on the bus, while the data phase can operate at a higher rate. The nodes therefore need compatible settings for the relevant phases, payload handling, and frame interpretation. When settings differ, symptoms may include absent frames, error indications, unstable communication, or traffic that appears in a recording but cannot be decoded as expected.

  1. 01

    Define the intended frame behavior

    Record which messages use CAN-FD, the expected payload size, the expected communication phases, and which nodes should transmit or receive them.

  2. 02

    Align node configuration

    Apply compatible CAN-FD and CAN settings to the communicating nodes, then verify that the selected configuration is actually active rather than only present in a project definition.

  3. 03

    Exercise representative traffic

    Transmit and observe frames with the intended payload sizes and timing. Check both successful reception and behavior under bus activity representative of the target use.

  4. 04

    Compare observed and expected results

    Use a recording or CAN dump to compare frame presence, payload interpretation, and communication stability against the defined interface.

Using DBC data for CAN-FD decoding

A DBC is useful only when its definitions match the traffic and the software behavior being investigated.

Decoding connects a captured frame to a message definition and then converts payload content into signal values using the associated layout and scaling. For CAN-FD development, confirm that the message definition represents the actual frame type and payload expectations before interpreting signal values. If the identifier or payload layout is wrong, plausible numerical values can still be misleading.

EvidenceWhat to verifyTypical interpretation
CAN-FD frame in a recordingFrame presence, identifier, payload length, and phase-related configurationThe frame was observed, but successful observation does not prove correct signal interpretation
DBC message definitionMessage identifier, expected payload layout, signals, nodes, and scalingThe definition provides the mapping needed for decoding and interface review
Decoded signal valueRaw payload position and scaling against the DBCA value is meaningful only when the selected message definition matches the observed frame
Repeated message behaviorPresence, sequence, timing pattern, and value changesThe traffic can be compared with expected software behavior and missing-message symptoms
  • Keep the original recording or CAN dump alongside the decoded results so interpretations remain traceable.
  • Distinguish a missing message from a message that is present but incorrectly decoded.
  • When updating a DBC file, record which definitions changed and recheck affected CAN decoding results.
  • Use node information in the DBC to compare intended transmitters and receivers with observed network behavior.

A practical analysis and debug workflow

A disciplined workflow narrows CAN-FD issues by separating absence, instability, routing, and interpretation problems.

  1. 01

    Define the symptom

    State whether the issue is a CAN message missing, CAN bus errors, a CAN gateway issue, or a broader CAN-FD communication issue. Record the expected message, affected network, and operating condition.

  2. 02

    Collect the available evidence

    Gather the relevant BLF recording, ASC recording, CAN dump, and DBC. Preserve timestamps and the original files before converting or filtering data.

  3. 03

    Confirm raw frame presence

    Check whether the expected frame appears at all. If it is absent, investigate transmission, routing, node state, or capture scope before changing signal decoding.

  4. 04

    Check communication stability

    Look for error indications, interruptions, or bus-off events in the available evidence. Correlate their timing with the missing or malformed traffic.

  5. 05

    Decode only after validating the mapping

    Apply the DBC to frames whose identifiers and payload expectations match the database. Compare raw and decoded data rather than relying on decoded values alone.

  6. 06

    Test a focused hypothesis

    Use simulation or a controlled test to vary one relevant condition and observe whether the expected message, signal behavior, or routing changes.

  7. 07

    Document the finding

    Produce an engineering analysis or CAN decoding results that identify the evidence examined, the limits of the conclusion, and the next verification step.

Simulation and test strategy

Simulation is most valuable when it reproduces the specific traffic and failure condition needed to test a hypothesis.

A useful CAN-FD test setup defines the messages under test, the expected node behavior, the relevant timing and payload conditions, and the evidence that will determine pass or failure. CANoe can support development, simulation, test, and analysis activities, but the quality of the result still depends on the configuration, input data, and expected behavior defined by the engineer.

  • Use simulation to reproduce expected message production when all physical nodes are not available.
  • Use controlled traffic to test whether a receiver responds to the intended identifier, payload, and signal conditions.
  • Use recordings as reference evidence, not as an automatic specification of correct behavior.
  • Include negative cases such as a missing message, unstable communication, incorrect routing, or a payload that does not match the DBC.
  • Capture enough context to distinguish a test setup limitation from a defect in the software or network behavior.
ActivityPrimary questionUseful evidence
SimulationCan the relevant network behavior be reproduced under controlled conditions?Generated and observed CAN-FD traffic with the selected configuration
Decode checkDoes the DBC produce the intended engineering interpretation?Raw frames, DBC definitions, and CAN decoding results
Integration testDoes the component exchange the expected messages with surrounding nodes?Message presence, payload behavior, and routing observations
Troubleshooting analysisWhere does observed behavior diverge from the expected model?BLF recording, ASC recording, CAN dump, and documented findings

Gateway and integration considerations

A network gateway can change what is visible on another network, so routing must be analyzed separately from frame generation and decoding.

When a message is missing or modified, establish whether the source node produced the expected frame, whether the network gateway forwarded it, and whether the destination side observed the intended result. A message may be present on one network and absent on another, or its payload and timing may differ after routing. The DBC should be checked for the network and node context relevant to each observation.

  1. 01

    Inspect the source side

    Confirm whether the originating message appears with the expected identifier, payload, and repetition behavior.

  2. 02

    Inspect the gateway boundary

    Compare traffic before and after the network gateway when evidence from both sides is available. Look for absence, modification, or changed timing.

  3. 03

    Inspect the destination side

    Verify that the receiving network observes the expected message and that the DBC used for decoding matches that network context.

  4. 04

    Separate routing from application behavior

    If the source is correct but the destination is not, focus on gateway behavior and network conditions before changing application signal logic.

Inputs and engineering outputs

Traceable inputs make CAN-FD findings easier to reproduce and review.

InputRole in the workflowResult it supports
BLF recordingTimestamped bus communication for detailed observationEngineering analysis and CAN decoding results
ASC recordingText-based bus communication for inspection and comparisonEngineering analysis and traffic review
CAN dumpRaw or exported CAN frames for focused investigationFrame presence checks and decoding work
DBCMessage, signal, node, scaling, and metadata definitionsCAN decoding results and DBC review
  • Preserve the original input before filtering, converting, or annotating it.
  • Record the DBC version or state used for each decoding result.
  • Tie every conclusion in the engineering analysis to an observable frame, timing pattern, configuration detail, or controlled test result.
  • When a corrected interface definition is required, produce a DBC file with the changed message and signal information clearly reviewed.

Engineering pitfalls

Common mistakes

  1. Treating CAN-FD as only a larger CAN payload

    CAN-FD also introduces a faster data phase and related configuration dependencies. A payload definition alone is not enough to establish compatibility.

  2. Decoding before checking frame presence

    If the expected frame is absent, changing signal scaling or DBC definitions cannot restore communication. First determine whether the frame reached the capture point.

  3. Assuming a valid DBC proves correct traffic

    A DBC describes intended message and signal interpretation; it does not prove that the observed identifier, payload, transmitter, or timing matches the intended interface.

  4. Changing several configuration values at once

    Multiple simultaneous changes destroy diagnostic evidence. Controlled changes make it easier to distinguish timing, compatibility, routing, and software behavior.

  5. Ignoring the network gateway boundary

    Traffic on one network does not guarantee equivalent traffic on another. Compare source and destination observations before assigning the issue to a node or decoder.

  6. Treating a recording as the complete system state

    A BLF recording, ASC recording, or CAN dump reflects the selected capture point and period. Missing context can make absence or timing conclusions uncertain.

FAQ

CAN-FD questions

What distinguishes CAN-FD from CAN during development?
CAN-FD supports larger payloads and a faster data phase than CAN. Development therefore has to validate both the message content and the configuration that controls communication across the relevant phases.
Why can a CAN-FD frame be present but decode incorrectly?
The frame may be interpreted with the wrong DBC message, identifier, payload expectation, signal layout, or scaling. Confirm raw frame characteristics and database alignment before trusting decoded values.
How should a missing CAN-FD message be investigated?
First confirm the expected message, capture scope, and operating condition. Then check raw frame presence, source behavior, communication stability, gateway routing, and only afterward the DBC decoding path.
What evidence is useful for a CAN-FD communication issue?
Relevant BLF recordings, ASC recordings, CAN dumps, the DBC used for interpretation, configuration details, and controlled test or simulation results are useful. Preserve raw evidence so decoded conclusions can be checked.
When is a gateway issue a likely explanation?
It becomes more plausible when the source network shows the expected message but the destination network does not, or when the message is present after routing with an unexpected payload or timing pattern. Evidence from both sides is needed where possible.

Engineering support

Discuss a CAN-FD Project

Need focused support for CAN-FD analysis, decoding, simulation, testing, or gateway troubleshooting? Share the available recordings, CAN dump, and DBC for an engineering review grounded in observable traffic.