CAN troubleshooting

CAN network timing issue

Messages arrive late, too often, out of order, or not within the expected timeout window. This guide helps establish whether the deviation comes from the recorded evidence, CAN configuration, message definition, network gateway behavior, or communicating software.

Start the diagnostic workflow

Observable symptoms

What the failure can look like

Possible causes

Boundaries worth checking first

01

Incorrect expected period or timeout in the receiving software

The receiver may evaluate a valid message against an incorrect period or timeout expectation. The bus can therefore contain consistent traffic while the application reports a timing failure.

  • CAN
  • DBC
02

Unexpected CAN message scheduling or priority interaction

A message may be transmitted later or less regularly than intended when other CAN traffic receives priority. This produces timestamp gaps or latency without necessarily removing the message from the bus.

  • CAN
03

Network gateway forwarding delay or ordering behavior

A network gateway can introduce delay or alter the relative arrival time of forwarded messages. A message may be correctly produced on one side of the gateway but violate the expected timing on the receiving side.

  • CAN
04

Mismatch between the DBC and the implemented message definition

If the DBC identifies the wrong message, node, or expected timing metadata, decoding and timing checks can be applied to the wrong traffic. The resulting finding may resemble a bus timing defect while the recording itself is consistent.

  • CAN
  • DBC
05

CAN and CAN-FD configuration or interpretation mismatch

Traffic using CAN-FD may be interpreted as ordinary CAN, or the analysis configuration may not match the recorded communication. This can cause missing, misclassified, or apparently irregular observations.

  • CAN
  • CAN-FD
06

Recording or analysis timestamp limitation

A recording, export, or analysis workflow may represent timestamps with insufficient consistency for the timing question. Apparent jitter or ordering changes must be compared with the original recording and another analysis path before assigning the issue to the vehicle network.

  • CANoe
  • CANalyzer
  • python-can

Ordered investigation

Diagnostic workflow

  1. 01

    Define the failing timing contract

    Use the problem description to record the affected message, expected period or timeout, relevant operating condition, and whether the finding concerns absence, delay, jitter, or ordering. This prevents a general network observation from being compared with an undefined expectation.

    • CAN
  2. 02

    Verify the evidence and time basis

    Inspect the BLF recording, ASC recording, or CAN dump for timestamp continuity, duplicated records, incomplete intervals, and the exact affected message. This rules out an evidence or export problem before changing vehicle configuration.

    • CANoe
    • CANalyzer
    • BLF
  3. 03

    Compare raw traffic with the DBC

    Use the DBC to identify the message, signals, node information, and any expected timing metadata, then compare that definition with the raw CAN frames. This narrows whether the symptom is caused by incorrect identification or actual frame timing.

    • CAN
    • DBC
  4. 04

    Measure timing across repeated occurrences

    Calculate timestamp differences for the affected message over a representative interval and separate missing intervals, late arrivals, and ordering changes. Compare the result across the available recordings or operating conditions without assuming one observation proves the root cause.

    • CANoe
    • CANalyzer
    • python-can
  5. 05

    Separate local bus timing from gateway timing

    Where traffic is available on both sides of a network gateway, compare the same message's occurrence and timestamp relationship at each side. A deviation introduced after forwarding narrows the investigation toward gateway behavior rather than the original producer.

    • CAN
  6. 06

    Reproduce the timing condition with controlled analysis

    Use CANoe, CANalyzer, or a python-can workflow to replay, monitor, or analyze the affected traffic under the reported condition. Reproduction can distinguish a repeatable communication behavior from a recording-specific observation, but it does not by itself identify the responsible software component.

    • CAN
    • CANoe
    • CANalyzer

Verification gates

Technical checks

Check timestamp continuity

Read consecutive timestamps around each reported timing failure and verify that the recording interval contains continuous evidence rather than a logging gap.

Expected

Timestamps advance consistently, and the interval covers the complete timeout or ordering event.

If failed

An incomplete or irregular recording may explain the finding; obtain a complete BLF recording, ASC recording, or CAN dump before changing the network.

Check message period

For the affected CAN message, compare timestamp differences across multiple consecutive occurrences with the expected period from the problem description and applicable DBC information.

Expected

The measured intervals remain within the stated expectation for the relevant condition.

If failed

Variable or excessive intervals point toward message scheduling, priority interaction, gateway forwarding, or an incorrect expectation; compare traffic at the relevant network location.

Check timeout evidence

Measure the longest interval in which the expected message is absent and compare it with the receiver's stated timeout threshold.

Expected

The message is present before the timeout threshold expires, or a reported timeout is supported by a corresponding absence interval.

If failed

A late frame indicates a latency or scheduling problem; no frame indicates a missing-message path or recording gap, while a mismatch with the threshold indicates an expectation problem.

Check frame identity against the DBC

Compare the recorded message identity and payload interpretation with the DBC message, signal, and node definitions used for analysis.

Expected

The selected DBC entry identifies the recorded message and produces consistent decoded values and timing interpretation.

If failed

A DBC mismatch can create a false timing or stale-signal finding; correct the analysis definition or obtain the applicable DBC before assigning the issue to CAN behavior.

Check message order

Sort the affected frames by their recorded timestamps and compare the observed order with the expected relationship described in the problem context.

Expected

Related frames appear in the expected order, with timestamps that support that order.

If failed

An order deviation narrows the investigation toward gateway forwarding, producer scheduling, or timestamp handling; verify the same relationship in an independent recording or network location.

Check CAN versus CAN-FD interpretation

Confirm that the recording and analysis path classify each affected frame consistently as CAN or CAN-FD and that the selected tool configuration matches the communication being examined.

Expected

Frames are recognized under the correct communication type without unexplained missing or malformed records.

If failed

A classification or configuration mismatch can make valid traffic appear absent or irregular; correct the analysis setup and repeat the timing comparison.

From evidence to action

Resolution paths

Correct the timing expectation or DBC

If the traffic is consistent but the receiver or analysis uses an incorrect period, timeout, message identity, or DBC interpretation, align the expectation and DBC with the agreed network behavior. Re-run the same evidence checks to confirm that the reported failure is no longer produced.

Correct message scheduling or priority behavior

If repeated measurements show that the producer transmits late or irregularly, inspect the responsible software's transmission scheduling and CAN priority configuration. The local correction may require software changes and an integration test under the operating condition that reproduces the deviation.

Investigate the network gateway path

If timing changes across a network gateway, compare forwarding behavior and configuration on both sides. Resolution may require the gateway owner, supplier, or OEM to change forwarding logic or timing assumptions; a local recording analysis cannot establish that change by itself.

Fix CAN or CAN-FD analysis configuration

If the communication type or analysis configuration is inconsistent, correct the tool or python-can workflow and regenerate the timing measurements. Preserve the original recording so the corrected interpretation can be compared with the initial finding.

FAQ

Questions that shape the investigation

How can I tell whether the issue is a missing message or a late message?
Measure the complete interval around the reported timeout. If the expected message appears after the threshold, it is late; if it does not appear in a complete recording interval, investigate a missing-message path or recording coverage. A gap in the recording must be ruled out first.
Can an incorrect DBC create a CAN timing issue?
Yes. If the DBC identifies the wrong message, node, or expected timing information, the analysis may evaluate the wrong traffic or decode a valid frame incorrectly. Compare the raw CAN dump with the exact DBC entry before treating the result as a network defect.
Why should timing be checked at both sides of a network gateway?
A message can have acceptable timing before forwarding and violate the receiving side's expectation afterward. Comparing the same message on both sides helps localize where the deviation is introduced, although it does not alone identify the responsible gateway implementation.
What evidence is most useful for a timing investigation?
A problem description with the expected behavior, a complete BLF recording, ASC recording, or CAN dump covering the failure, and the DBC used for interpretation provide the basic comparison set. The recording must include enough time before and after the event to evaluate periods, gaps, and ordering.
Does a single late frame prove a network timing defect?
No. One late frame may reflect a transient recording issue, an incorrect timestamp interpretation, gateway behavior, scheduling interaction, or a real communication deviation. Repeated measurements under the reported condition are needed to narrow the cause.

Diagnostic support

Discuss a CAN Project

Need a focused engineering analysis of CAN timing evidence? Provide the observed behavior and available recordings for a structured diagnostic review.