From: Gianluca <gmattiroli@midsx.ch>
To: linux-can@vger.kernel.org
Subject: Re: socketCAN mcp2515 - rx buffer overflow
Date: Thu, 8 Mar 2012 14:35:26 +0000 (UTC) [thread overview]
Message-ID: <loom.20120308T152308-549@post.gmane.org> (raw)
In-Reply-To: 4F58BE03.5030905@pengutronix.de
Marc Kleine-Budde <mkl <at> pengutronix.de> writes:
> Using an SPI attached CAN controller is a really bad choice. Try is
> upgrading to mx53, which has as far as I know one or even two internal
> flexcan cores, an option for you? Another option is to attach a local
> bus capable controller like the SJA1000 to your CPU, or use an USB
> dongle or a PCMCIA card.
>
> The next thing is the SPI driver on the (mainline) mx51. If I remember
> correctly the mainline kernel doesn't support DMA for the SPI driver
> yet. I don't know if the freescale kernel does. Depending on your kernel
> version there are some knobs to tune the PIO SPI driver, mainly to
> increase the priority of the SPI task.
>
> Last but not least, there is a not yet mainlined improved version of the
> mcp2515 driver around.
>
> regards, Marc
Ok, it does not sound to be stable and safe solution. Maybe using the SJA1000
would be a better choice for our project. Thanks for the help.
Gianluca
prev parent reply other threads:[~2012-03-08 14:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 13:09 socketCAN mcp2515 - rx buffer overflow Gianluca
2012-03-08 14:11 ` Marc Kleine-Budde
2012-03-08 14:35 ` Gianluca [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20120308T152308-549@post.gmane.org \
--to=gmattiroli@midsx.ch \
--cc=linux-can@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox