I am trying to communication with my DRIVE AGX Xavier using EasyCAN.(DRIVE Software 8.0)
The transmission from DRIVE AGX will succeed with the following command, but the reception will not be successful.
Could you let me know if you did run “aurix_configure_easy_can.py” python script?
Yes, I ran it before “aurix_tegra_a_can_send_receive.py”.
The following is the procedure that I performed the test.
Using"Vector VN1630A", connect the DRIVE Xavier's CAN harness to the PC.
Turn on the DRIVE Xavier. Then, the PC starts receiving CAN ID 0x113 and 0x110.
Run "sample_canbus_logger" with DRIVE Xavier. Then, the PC starts receiving CAN ID 0x6FF.
Transmit data(e.g. ID=0x001, cycle=100 msec, data = [00 00]) from the PC to the same CAN channnel as ID 0x6FF was received. However, data sent from the PC is not displayed in "sample_canbus_logger".
Exit "sample_canbus_logger" and execute "aurix_tegra_a_send_receive.py". The PC will receive ID 0x4A4 and 0x14A4, but the data sent from the PC will not be displayed in "aurix_tegra_a_send_receive.py".
After executing "aurix_configure_easy_can.py", execute "aurix_tegra_a_send_receive.py" again, but the result is same.
The Tegra CAN port has nothing to do with EasyCAN; EasyCAN is a mapping of CAN over Ethernet between Aurix and Tegra; TegraCAN is direct use of CAN ports on Tegra using SocketCAN as the stack. There is also no concept of TegraCAN port (since there’s no IP stack).
If you wants to test TegraCAN you can just connect a CAN adaptor (e.g., PeakCAN) from a host to the correct CAN harness port to directly receive CAN packets at the Tegras.