We have interfaced the external CAN Controller MCP2515 over SPI with NXP T1042 controller in linux enviornment. The transimission and reception of the message frames works correctly. But currently facing one strange issue.
When transmission/reception of the messages going on, in between the CAN interface going down and unable to receive the messages. The interface become hang. After that if interface is down and up, again the message transmission reception works correctly and after sometime again same behaviour.
Same behaviour with connected two CAN interface. ( on our board two can interface available ).
when seen the /proc/interrupt the count is not increasing of the interrupts and also not seen the errors in the can statistics.
We are using kernel 4.1.
Anyone help us on this issue ?