question about PCAN USB and CAN states triggers
Posted: Wed 25. Sep 2019, 15:00
Hello,
In some Internet sources I've found that CAN Controller state can be changed based on the following thresholds
Thanks!
In some Internet sources I've found that CAN Controller state can be changed based on the following thresholds
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)?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.
Thanks!