All of lore.kernel.org
 help / color / mirror / Atom feed
From: "François Beaulier" <fbeaulier@orange.fr>
To: info@gerhard-bertelsmann.de
Cc: Tom Evans <tom_usenet@optusnet.com.au>, linux-can@vger.kernel.org
Subject: Re: Linux board with 10 CANs
Date: Mon, 18 May 2015 13:13:21 +0200	[thread overview]
Message-ID: <5559C951.60705@orange.fr> (raw)
In-Reply-To: <45240.212.149.48.43.1431942011.squirrel@webmail.rdts.de>

Le 18/05/2015 11:40, Gerhard Bertelsmann a écrit :
> Hi Francois,
> Am Mo, 18.05.2015, 11:25, schrieb François Beaulier:
>> Hi Tom,
>>
>> Freescale MPC574X chips are MCUs, you can't run Linux on them.
>> Vybrid SOCs have 2 CANs max.
>> I know the MCP2515 may work in some situation but it depends on kernel
>> latency and that is very unpredictable.
>> What is helping in QSPI ? the main problem beeing latency between MCP
>> irq and effective SPI transfer ?
> Yes, latency is the main problem with the MCP2515 connected via SPI.
> But I have no doubt that it would be possible using a BeagleBone Black
> with it's two integrated PRUs (2x200 MHz MCUs). If you connect 4 MCP2515
> to each PRU they could be served even at 1MBit @ full speed. With
> the already 2 integrated CAN controller you can easily have 10 CANs.
>
> The only concern that I have is the latency/overhead of the SocketCAN
> API with 10 CANs at high packet rates on 1 GHz ARM ...
>
> Regards
>
> Gerd
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Hi Gerhard,

Yes i agree it should work with AM335x PRUs.
MCP2515 can easily be well managed with any MCU, whether it is a PRU or 
a Cortex-M like those inside the Vybrid or the iMX6 soloX.
The problem is the associated socketcan Linux driver.
It is probably simpler to write the driver when the MCU is inside the 
SOC than it is when the MCU is connected with SPI because we can 
directly read / write values through shared memory (+ use of semaphores).
But still, there is a new driver to write !

Regards,

Francois

  reply	other threads:[~2015-05-18 11:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-15  7:56 Linux board with 10 CANs François Beaulier
2015-05-15  8:20 ` Yegor Yefremov
2015-05-15  8:50   ` François Beaulier
2015-05-15  9:11   ` Marc Kleine-Budde
2015-05-15  9:33     ` François Beaulier
2015-05-15 10:24       ` Andri Yngvason
2015-05-15 12:40         ` François Beaulier
2015-05-15 12:47           ` Marc Kleine-Budde
2015-05-15 13:04             ` AW: [BULK]Re: " Uwe Wilhelm (PEAK-System)
2015-05-15 13:17               ` Marc Kleine-Budde
2015-05-15 13:20                 ` AW: " Uwe Wilhelm (PEAK-System)
2015-05-15 14:18               ` François Beaulier
2015-05-15 12:38       ` Gerhard Uttenthaler
2015-05-15 12:48         ` Marc Kleine-Budde
2015-05-15 13:54 ` Bernd Krumboeck
2015-05-18  9:07   ` François Beaulier
2015-05-18 13:31     ` Bernd Krumboeck
2015-05-20 11:35       ` Gediminas Simanskis
2015-05-21  3:19         ` Bernd Krumboeck
2015-05-15 15:24 ` Tom Evans
2015-05-18  9:25   ` François Beaulier
2015-05-18  9:40     ` Gerhard Bertelsmann
2015-05-18 11:13       ` François Beaulier [this message]
2015-05-18 12:56       ` Tom Evans

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=5559C951.60705@orange.fr \
    --to=fbeaulier@orange.fr \
    --cc=info@gerhard-bertelsmann.de \
    --cc=linux-can@vger.kernel.org \
    --cc=tom_usenet@optusnet.com.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.