Skip to content

PCAN-USB X6 not resetting using bus.reset() #1668

Answered by zariiii9003
BartoszFEV asked this question in Q&A
Discussion options

You must be logged in to vote

Looks like PcanBus.reset is not correctly implemented. It calls the "CAN_Reset" function of the PCAN Basic API, but that one says Calling this method ONLY clear the queues of a Channel. A reset of the CAN controller doesn't take place.

PcanBus.reset should instead uninitialize and initialize the channel.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@BartoszFEV
Comment options

@zariiii9003
Comment options

@BartoszFEV
Comment options

@BartoszFEV
Comment options

Answer selected by BartoszFEV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants