Hi Leandro,

Leandro Gentili wrote:
> Dear Wolfgang,
> 
> First at all I would like to give my congratulations for such great work you 
> and Socketcan's staff are doing.

You are welcome.

> I've been following the mailing list since the beginning and finally I'm 
> starting my first Socketcan project that will use TWO can bus ports.
> In this project I have two controller options for my baseboard: mpc2515 and 
> SJA1000. Both of them could work for my project, but I would like to know 
> your opinion about what's the best of them in terms like:
> - Driver Features, Functionality and Community support.
> - Source code maturity.
> - Future kernel upgrades or code maintenance.

Both drivers are available in the mainline kernel and are at the same
level concerning the three items above, more or less.

> - Board porting and debugging.

For both you need some adaption for an embedded board. SPI might be a
bit more tricky, but that's a minor issue.

> I have the feeling that the MPC2515 is easier physically to be interfaced, 
> but the SJA1000 driver is more mature in the socketcan project and due the 
> interface is parallel could have a better performance. Also, would be easier 
> to debug because, less software layers (no spidev driver).

Performance might be a problem, especially if it should operate at
1MB/s. Some users reported packet losses with the MPC251x due to little
buffering in the hardware and slower device access via SPI and work queue.

Wolfgang.
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to