CAN interface setup on Drive AGX Thor vehicle unit

Issue: I am trying to communicate with a Thor platform running DRIVE OS 7.0.3 using a Vector VN5620 and CANoe Interactive Generator (IG), but I am unable to receive CAN FD messages on the Thor side.

Setup

  • DRIVE OS Version: 7.0.3
  • Hardware: Thor + VH2
  • CAN Interface: Vector VN5620
  • Connection: VN5620 connected to P12 on VH2
  • A 120 Ω termination resistor is connected between the VN5620 and VH2.

CANoe Configuration

I configured CAN FD in CANoe and tested both of the following bit-rate settings:

Configuration 1

  • ABR: 500 kbps
  • DBR: 2 Mbps

Configuration 2

  • ABR: 500 kbps
  • DBR: 4 Mbps

Using CANoe Interactive Generator, I can successfully transmit CAN FD messages and see them in the CANoe trace window.

Thor Configuration

On the Thor target, I executed:

Nvshell> cansetbr a 5000

Nvshell> cycliccanon CAN FD

Nvshell> canrxprintenable

However, canrxprintenable does not produce any output and I do not see any received CAN messages.

I also tried the other CAN interfaces:

Nvshell> cansetbr b 5000

Nvshell> cansetbr c 5000

Nvshell> cansetbr d 5000

but none of them receive the CAN FD traffic being transmitted from CANoe.

Questions

  1. How can I determine which CAN interface (a, b, c, or d) is mapped to VH2 connector P12 on a Thor system running DRIVE OS 7.0.3?
  2. Is there any additional configuration required on Thor to enable CAN FD reception?
  3. Are there recommended CAN FD settings for communication through VH2 P12?

Any guidance on verifying the P12-to-CAN interface mapping or troubleshooting CAN FD reception on Thor would be greatly appreciated.

Dear @Adas.Engineer ,
Just to clarify On Thor platforms there is no CAN accessible in the CCPLEX(tegra console).
Can you share the connection pictures. Let me check CAN verification from MCU internally.

what do you see with canrxprintenable 0 ? try start baudrate with 2000?

cansetbr a 2000 → Throws Invalid Command.

cansetbr a 5000 → Worked, after correcting an issue in my CANoe RBS/configuration, I am now able to successfully transmit and receive CAN FD messages from the NvShell terminal but I am still observing some CAN bus errors during communication.

Could please clarify the open points:

  1. What is the recommended way to access CAN/CAN FD messages from the Tegra console?
  2. Is a CAN plugin and rig.json configuration required for this use case?
  3. If there is documentation describing the required setup (CAN plugin, rig configuration, DriveWorks integration, SocketCAN, etc.), could you please share the relevant references or examples?
  4. Is there a recommended method to verify CAN traffic on the Tegra side once communication is confirmed in NvShell?

Any guidance or documentation references would be greatly appreciated.

May I know the what was the mistake earlier? What changes helped to get messages on aurix console?

Note that CAN is not accessible from tegra console and no way to transfer CAN data from MCU to tegra consope. So DW does not support CAN interfaces.

I need to create a new CAN configuration with a single CAN interface using a nominal baud rate of 500 kbps and a CAN FD data rate of 2000 kbps. This helped to get messages on aurix console.

Since we are using the vehicle harness with the native CAN DB9 connection, I would expect there to be a supported method to access and utilize this CAN data.

I came across a document describing CAN access via DriveWorks, but it appears to be outdated. Could you please confirm whether this documentation is still applicable for DRIVE OS 7.0.3 on AGX Thor, or if there is an updated procedure for configuring and accessing CAN FD interfaces?

Receiving and Sending Data — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide

Dear @Adas.Engineer ,
CAN is not accessible from tegra console and no way to send CAN data to tegra console. So DW does not support CAN based sensors on Thor.

I understand that CAN support is currently available only through the FSI interface. Is there a way to pass CAN information from the FSI to the Tegra? If so, could you please point me to any available documentation or references describing this process?

No. There is no support from transfer of CAN info from MCU (or FSI) to tegra. To get CAN data you would need to get a Vector License and write your own applications there.

Could you provide a bit more information about the application you’re referring to? I just need a brief overview of how to obtain CAN data using a Vector license, since we already have a Vector license and are able to send and receive CAN data over the serial interface.

Dear @Adas.Engineer ,
I meant, after you receive CAN data on on MCU, if you want to use/analyze the data, you might have to do it on MCU iteself as it can not be transferred to tegra console.