MCP2515 blocks tx/rx after receives can frame during trasmission
I'm using MCP2515 with linux kernel driver. I discovered that if I'm trasmitting CAN frames at certain rate (in my case 2ms) and I start to receive CAN frames at the same rate (or maybe slower, I noticed that it does not really matter) the can communication stucks. Using the oscilloscope I noticed that the interrupt seems to remaining unmanaged.
After some investigation I found this: https://community.nxp.com/thread/456907
I applied the modification suggested at the end of the thread (change the driver using IRQF_TRIGGER_LOW | IRQF_ONESHOT for interrupt registration) and I solved my issue. Now i think it is interesting to understand why this change fixes this issue. Is there any who can help me?