DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

CAN Bus
Note
SW Release Applicability: This module is available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

About This Module

The CAN bus module provides access to the CAN bus typically used for communication between different ECUs and devices/sensors in a vehicle. Also part of this module is a CAN data interpreter, supporting communication in DBC format and extendable by the user for additional formats.

CAN bus sensor

The CAN sensor module is defined in CAN.h. It provides an abstracted interface to send, receive and filter CAN messages. Extended CAN frame format is supported. CAN FD (Flexible Data-Rate) messages for longer 64 byte messages and data bit rate switching is supported.

The supported interfaces are:

  • can.socket interface for system CAN bus, including system virtual socket CAN.
  • can.aurix interface for CAN over Aurix.
  • can.virtual interface for reading CAN data from binary logs.

CAN message interpreter

The CAN interpreter module is defined in Interpreter.h. It supports the DBC communication format and can be extended to additional formats by the user.

Relevant Tutorials

Samples