Skip to content

Conversation

@maidnl
Copy link
Contributor

@maidnl maidnl commented Jan 9, 2026

This PR disable the error interrupt conditions for canfd, it aims to fix issue #514.
When interrupt conditions are enabled the error isr is continuously firing preventing the application to run: in particular when the CAN is completely disconnected it seems that application is completely frozen, while instead it is continuously handling the same error isr.
Disabling the error conditions is the simplest way to avoid that: the write function will detect problems and returns error, giving the application the possibility to run.
With this change it has been observed that occasionally the write function does not return an error when the CAN bus is disconnected. This seems to be an acceptable compromise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

2 participants