While I’m relatively new to Python, I’m trying to get some Python test code to run on a Raspberry Pi 3B and talk CAN to a device under test. I have a 2 CAN FD HAT for the communication. But, I’m seeing something strange.
I have the two ports tied together in order to continuously monitor can1 and the bus. I send my commands through can0 to the DUT. However, whenever can1 reports a message, the data length is OK, but the message repeats the 1st byte twice, and the last byte is dropped. Here is an example message:
cansend can0 123#12345678
can1 123  12 12 34 56
Has anyone experienced anything like this before. Any suggestions as to where I should start looking?