Linux CAN drivers development
 help / color / mirror / Atom feed
* AW: Receiving messages issue
@ 2013-06-25  7:43 Michael Luxen
  2013-06-25 12:00 ` Gerhard Bertelsmann
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Luxen @ 2013-06-25  7:43 UTC (permalink / raw)
  To: Luka Rahne, Marc Kleine-Budde; +Cc: linux-can@vger.kernel.org

Hello Marc, hello Luca, 

what I can confirm is that I've seen the message lost issue some weeks ago on a Raspberry Pi with MCP2515.

The solution for me was to use the async MCP2515 driver from Andre B. Oliveira mentoned by Marc below and furthermore to optimize the SPI interface to get less latency here.
This modifications for the Raspberry Pi are documented here:
http://www.elinux.org/RPi_CANBus

Whith these modifications I didn't see any message lost at busload above 50%@500kbit/s!

Currently I'm fighting with the same MCP251x driver on my BeagleBone Black where I've seen the same message lost problem yesterday. Now, I'm compiling a new kernel with the async MCP2515 driver and hopefully I can get the same good results to get my 3rd/4th CAN-Interface working on the BeagleBone Black.

Regards
Mike

-----Ursprüngliche Nachricht-----
Von:	Marc Kleine-Budde <mkl@pengutronix.de>
Gesendet:	Mo 24.06.2013 15:42
Betreff:	Re: Receiving messages issue
Anlage:	signature.asc
An:	Luka Rahne <luka.rahne@gmail.com>; 
CC:	linux-can@vger.kernel.org; 
> On 06/24/2013 02:26 PM, Luka Rahne wrote:
> > I am using MCP2515 with  i.MX27
> 
> MCP2515 is the second worst CAN hardware I know. Only MCP2510 is worse.
> 
> You can try Andre B. Oliveira's async mcp2515 driver. It's here:
> 
> http://git.pengutronix.de/?p=mkl/linux.git;a=shortlog;h=refs/heads/can/mcp2515-a
> sync
> 
> regards,
> Marc
> -- 
> Pengutronix e.K.                  | Marc Kleine-Budde           |
> Industrial Linux Solutions        | Phone: +49-231-2826-924     |
> Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
> 
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-05 10:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25  7:43 AW: Receiving messages issue Michael Luxen
2013-06-25 12:00 ` Gerhard Bertelsmann
2013-06-25 12:58   ` wg
2013-06-25 13:36   ` Marc Kleine-Budde
2013-07-05 10:04     ` Luka Rahne
2013-07-05 10:07     ` Luka Rahne
2013-07-05 10:18       ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox