CAN Driver

Overview

The NVIDIA DRIVE Orin series System on a Chip (SoC) integrates four Controller Area Network (CAN) controllers for automotive applications. There are based on the Bosh Tim-Tiggered Controller Area Network (MTTCAN). Among these four CAN controllers, two CAN controllers are from Orin CCPLEX exported as the instances of SocketCAN at the Linux system level, and the other two are from a dedicated hardware IP of Functional Safety Island (FSI)in Orin SoC. The interfaces of FSI CAN are not visible on Linux systems. Combined with the CAN controllers from a safety MCU (Aurix TC397X B-Step), a total of six CAN controllers are available on the NVIDIA DRIVE Orin Developer Kit (P3710). A simplified block diagram of CAN interfaces in NVIDIA DRIVE Orin Developer Kit available at Figure 1-2 in DRIVE AGX Orin Product Brief

Linux TegraCAN

Linux releases support two instances of NVIDIA Tegra® Controller Area Network (TegraCAN). The CAN controller for Tegra family devices is the Bosch MTTCAN controller IP(mttcan@.

TegraCAN implements MTTCAN SocketCAN driver in Linux kernel to provide two SocketCAN interfaces, CAN0 and CAN1, TegraCAN control CCPLEX CAN controller directly through CPU without IVC involvments The SocketCAN interface is similar to network interfaces in Linux kernel. SocketCAN documentation is available in Linux kernel documentation online at:

<Top>/drive-linux/kernel/source/oss_src/kernel/Documentation/devicetree/bindings/net/can/

For information about TegraCAN limitations, see the Release Notes.

FSI CAN

The NVIDIA DRIVE OS Linux SDK releases a demo reference version of FSI binary . The functionality of FSI features ,including CAN, is limited. To integrate and build fully functional FSI stacks, including CAN, on the NVIDIA DRIVE Orin platform, contact NVIDIA representatives and refer to the "FSI Integration Guide" topic in the NVIDIA DRIVE OS Linux PDK Developer Guide.

AURUX CAN

A close box Aurix AFW FW is released with the NVIDIA DRIVE OS Linux SDK. The details of CAN commands supported in Aurix AFW FW are in Using the MCU Console.