Hi,
does CAN_PARAM_AUTOBUSON also have an effect when the interface goes error-passive?
I am using CanApi4 Version 4.1.2 (with Driver Version 4.1.3.16213, HW is PCAN-USB X6 with FW 3.2.0)
Martin
CAN_PARAM_AUTOBUSON in case of Error-Passive
Re: CAN_PARAM_AUTOBUSON in case of Error-Passive
Hello,
no, CAN_PARAM_AUTOBUSON only takes effect when a device goes BUS-OFF. Here the description of it in the help file:
no, CAN_PARAM_AUTOBUSON only takes effect when a device goes BUS-OFF. Here the description of it in the help file:
In order to clear a bus-passive or bus-warning error, you have to call the function CAN_ResetHardware. Check the help file for more information (PCAN-API 4 Documentation, page 51)Configures the driver to automatically set the status of the CAN controller to buson,
after it goes to bus-off.
Best regards,
Keneth
Keneth