I’m working on implementing the CAN bus from the TX2’s SPE to send a consistent message every second. I have the logic worked out and I am able to get a message sending consistently, but I am unable to set a new frame ID for the CAN message.
From the CAN-app demo code, the frame had the ID 0xA5. I used this until I found the proper ID we will be needed, which is 0x80.
However, when I try to send a message with the ID set to 0x80, the message never goes through and I run into an error. Is there a list of certain ID’s that I can use when sending messages? I looked through the code that is used to send the messages, but I have no been able to find anything that would explain this issue.
could you please test with cangen to specify can_id to test again?
for example, to send CAN messages, $ cangen -L <Data_length> -I <CAN_ID> -D <Data_Bytes> DEVICE
To filter out unknowns, can you start with linux kernel? I mean connect can 0 and can1 and do the loop back experiment with 0x80 ID from the linux kernel. This will take SPE out of the picture. That way we may know where is the problem.