linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Marcus Liebhardt <marcus.liebhardt@yujinrobot.com>
Cc: linux-can@vger.kernel.org
Subject: Re: Support of MCP2515 and AM35x High-End CAN controller in (RT-)SocketCAN
Date: Wed, 02 May 2012 10:07:58 +0200	[thread overview]
Message-ID: <4FA0EB5E.6060205@pengutronix.de> (raw)
In-Reply-To: <CAKG=6c4wMX4ZWFKAxN81-Rnf07wG1vqL96q0e78oe+VjsLSNrA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1917 bytes --]

On 05/02/2012 09:51 AM, Marcus Liebhardt wrote:
> Hi everybody!
> 
> Looking for a low-cost solution for a real-time Linux system with CAN
> bus support, I am currently considering the Beaglebone [1] (similar to
> the Beagleboard) with the addition of a CAN bus cape [2]. The later
> provides two MCP2515 CAN controller and also allows the use of the
> integrated CAN controller [3] of the Beaglebone's ARM microprocessor
> (Cortex A8) .

Don't use mcp2515, you won't have any fun with it. Consider using a SoC
with an integrated CAN controller, like the freescale i.mx family or one
of the TIs with an integrated (and supported) CAN cores.

> I am thinking about using a Linux kernel plus the RT-patch
> (CONFIG_PREEMPT_RT), since it seems to be less work then setting up
> Xenomai and the MCP2515 is already supported by SocketCAN. However, I
> am not sure, if this set-up will satisfy our real-time constraints,
> since SocketCAN is not real-time safe. Furthermore, I couldn't find
> information about working solutions of patched Linux kernels on the
> Beaglebord besides this paper [4].
> Hence, I am also looking into the option of using Xenomai on the
> Beaglebone for which I found working examples, such as [4]. However,
> according to this list [5] the MCP2515 is not supported by
> RTcan/RT-SocketCAN. Is this still true?

If you have realtime contraints, do with mainline Linux + PREEMPT_RT and
use a proper CAN controller.

> Furthermore, is there support for the integrated CAN controller (AM35x
> HECC) in SocketCAN and/or RT-SocketCAN?

The Kconfig says that the TI HECC is supported.

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   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2012-05-02  9:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKG=6c5jafRAGjeQscTKLQbSjPFp7UJYwhhcpOS2QoNvy7Cggw@mail.gmail.com>
2012-05-02  7:51 ` Support of MCP2515 and AM35x High-End CAN controller in (RT-)SocketCAN Marcus Liebhardt
2012-05-02  8:07   ` Marc Kleine-Budde [this message]
2012-05-02  8:12   ` Wolfgang Grandegger
2012-05-02  8:17 ` [Socketcan-users] " Gole, Anant
2012-05-03  5:21   ` Marcus Liebhardt
2012-05-03  6:42     ` Yegor Yefremov
2012-05-03  7:13     ` Wolfgang Grandegger
2012-05-03 10:33       ` Wolfgang Grandegger
2012-05-04  2:27         ` Marcus Liebhardt
2012-05-04  6:58           ` Wolfgang Grandegger

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=4FA0EB5E.6060205@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-can@vger.kernel.org \
    --cc=marcus.liebhardt@yujinrobot.com \
    /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;
as well as URLs for NNTP newsgroup(s).