Which risks should a CAN-bus test plan cover?
Answer
Cover identifier priority, payload encoding, timing, bus load, duplicate or missing frames, counters, checksums, error states and recovery from disconnection. Verify behaviour during arbitration pressure and malformed traffic, plus compatibility between nodes and database versions. Safety-relevant signals need explicit stale-data, timeout and safe-state expectations.
Strong answer includes
- includes load, arbitration and error recovery
- checks signal-database compatibility
- defines safe handling of stale or invalid data
Practical example
A vehicle ECU is updated with a new CAN database (DBC) that renumbers one signal's scaling factor, but a downstream node still uses the old database. The test plan catches this only because it explicitly checks cross-node database version compatibility; without that check, the two nodes would have silently disagreed on a torque value in the field.