We were unable to communicate via CANBUS so we disconnected everything and started troubleshooting. After restarting the system (with no physical connections to the CANBUS PORT) we observed the following :
In particular, the CANBUS is receiving large amounts of “packets”, all of which are errors. When we connected an oscilloscope to the pins, we also see large amounts of activity. As you can see, out of 19.8 GB of “data” that is being received on CAN0, virtually all of it are error packets. Meanwhile, no packets are being transmitted by the CAN (TX packets is 0). Once again, this is with nothing connected to the port. Our theory is that there is some sort of interference occurring within the product, however any feedback or advice would be appreciated. Thank you.
The error is intermittent. We were unable to reproduce it on can0 again, but after a few tries, it eventually happened on can1.
When we took can1 down (via ifconfig) and back up again, the errors stopped accumulating and we were able to send on can1 without any errors. But we’re not sure if it will stay this way or if it will go through producing errors again after a while.
could you please setup a terminal to gather the logs when you’ve reproduce the CAN issue, i.e. $ dmesg --follow
please also share the error messages for reference, thanks
sorry, I check those attachments, 2022-08-09*.jpg but not see any related failures.
could you please have code block to attach logs to the discussion thread directly?
for example, <code>LOGs...</code>
it’s pin configurations, you may have customer usage to select GPIO or SFIO, please see-also pinmux spreadsheets.
this may also due to hardware issue, please review your CAN networks. thanks