acan2515 icon indicating copy to clipboard operation
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

Open mvSarma opened this issue 5 years ago • 0 comments

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 avatar Dec 11 '19 09:12 mvSarma