How to read CAN 5 and 6 through AURIX

Hi,

I’m trying to redirect CAN messages on CAN 5 and 6 though AURIX. In your documentation DS-07982-001_v06.pdf on page 41 says that 0-6x CAN (A-F): Aurix and Tegra (4 Aurix only, 2 shared), also on page 35 there is a diagram how they are connected.

For a test I used your canbus_logger sample, and tried to run it (./sample_canbus_logger --driver=can.aurix --params=ip=10.42.0.146,bus=e) but I get an error:

" AurixCAN: expected bus={a,b,c,d} to be set to a valid CAN bus
Driveworks exception thrown: DW_INVALID_ARGUMENT: AurixCAN: bus parameter is invalid"

I was reading your documentation but I can’t find a way to redirect the messages through AURIX …
Is there a document somewhere or guidlines how to do that?

Thanks in advace,

Anja

Dear anja,

Could you please help to check below link for your topic? Thanks.

https://devtalk.nvidia.com/default/topic/1032296/faq/drivepx2-easycan-setup-guide/

Dear Steve,

Tnx for the quick answer. I already tried this guide and it works for the Aurix bus a,b,c and d perfectly, but for e and f it gives the error I mentioned above (" AurixCAN: expected bus={a,b,c,d} to be set to a valid CAN bus Driveworks exception thrown: DW_INVALID_ARGUMENT: AurixCAN: bus parameter is invalid").

Is there a difference between accessing those two buses (e and f) on Aurix?

Dear anja,

Could you please refer to below link for your question?
https://docs.nvidia.com/drive/nvvib_docs/index.html#page/NVIDIA%20DRIVE%20Linux%20SDK%20Development%20Guide%2FConfiguration%2Fautosar_config_usage_dpx.html%23

Anja,

Did you encounter the clock drift / synchronization errors when setting up the Aurix? What version of driveworks do you have installed on your host / target?