MCP2515 implementation is slow

Pankajkumar Misra (RBEI/EEA2)
2014-11-25T16:19:39Z

Hello Guys,

I have compiled MCP251x.c kernel driver module for Olimex A20-Olinuxino Micro.

The device is working fine for one frame at a time at 500ms. If I send two or more frame at the same time,
CAN is going to bus-off due to overrun errors.
Even if I send one frame at faster rate say, 100ms,results in bus-off.

I am communicating with module with ip commands, cansend & candump.
Also my SPI module is working only at 250K baud, not any other baud.

Any suggestions.

Best Regards,
Pankaj