CAN Bus Error Counter

How can I test and view the CAN bus mttcan error counters?

We have a custom carrier board with a TCAN1043 CAN bus transceiver. We are able to send and receive data, but have not seen the error counters increase from 0.
I want to verify that the error counters work (as shown with ifconfig can0).
I’ve tried grounding CAN_H while sending/receiving CAN bus data, but the error counts shown with ifconfig stay at zero.
Is there something else I need to do? Our CAN bus analyzer doesn’t support inserting bad CRC or error conditions but we will get one with more features if necessary.

hello neil.lefebvre,

just for testing, there might be bit errors if you have configure the higher bitrates.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.