LINUX_CAN_Statistics and TPDIAG.wErrorFlag

USB to CAN Interface
User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: LINUX_CAN_Statistics and TPDIAG.wErrorFlag

Post by PEAK-Support » Thu 21. Sep 2023, 09:06

The error doesn't appear when I do transmitest using n=10, but if I do n=10, I get bus off in dmesg command.
Sorry we do not understand what you want to tell us with this information....

please read the API Headers for the error codes. And also use the result(s) of the API calls to see if all is OK - not cat proc/pcan !
You need to check in your code the Error Codes and must react. As i now wrote x times - check your physical lines / terminations / second active CAN node / exact Bitrate Timing etc.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply