I have a problem about busOff status ,Does it can AutoReset for just once ? But uninit and init method is not allowed to reset the hardware



if you have activated the parameter PCAN_BUSOFF_AUTORESET, then the API will reset the hardware whenever it notes that the bus is in off state. This check is done when you try to send (CAN_Write) or to receive (CAN_Read) a message, or when you ask for the bus status (CAN_GetStatus). If you don't use those functions periodically then the API has no way to detect the bus off state.uyouu wrote:Does it can AutoReset for just once ?
A re-initialize of a channel does reset the hardware. The only case where this not happen is if the hardware is still connected (i.e. a PCAN-View is connected to the hardware too).uyouu wrote:But uninit and init method is not allowed to reset the hardware