Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MKR hangs when I try to re-use CAN with same CS and INT Pin because of interrupt pin resource management #12

Open
mvSarma opened this issue Dec 11, 2019 · 0 comments

Comments

@mvSarma
Copy link

mvSarma commented Dec 11, 2019

When I call CAN.end() and call CAN.begin() again, it gets stuck at SPI.usingInterrupt()

I noticed that calling the undocumented API SPI.notUsingInterrupt() before detachInterrupt() in ACAN2515::end() is actually fixing this issue for SAMD.

@mvSarma mvSarma changed the title MKR hangs when I try to re-use CAN with same CS Pin because of interrupt pin resource management MKR hangs when I try to re-use CAN with same CS and INT Pin because of interrupt pin resource management Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant