acan2515
acan2515 copied to clipboard
MKR hangs when I try to re-use CAN with same CS and INT Pin because of interrupt pin resource management
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.