Page 1 of 1

question about PCAN USB and CAN states triggers

Posted: Wed 25. Sep 2019, 15:00
by pavlumik
Hello,

In some Internet sources I've found that CAN Controller state can be changed based on the following thresholds
CAN_STATE_ERROR_ACTIVE <- RX/TX error count < 96.
CAN_STATE_ERROR_WARNING <- RX/TX error count < 128.
CAN_STATE_ERROR_PASSIVE <- RX/TX error count < 256.
CAN_STATE_BUS_OFF <- RX/TX error count >= 256.
is this applicable thresholds for PCAN-USB and peak_usb driver in Linux kernel? If yes, is there possibility to get these thresholds lower (so even single error in CAN Controller/line can be detected with Error Frames)?

Thanks!

Re: question about PCAN USB and CAN states triggers

Posted: Wed 25. Sep 2019, 16:28
by S.Grosjean
Hello,

Unfortunately the PCAN-USB doesn't allow to change these counter limits.

Regards,