All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Kyle Crenshaw <kyle.crenshaw@me.com>, linux-can@vger.kernel.org
Subject: Re: Can bus shield set up
Date: Mon, 4 Apr 2016 12:22:23 +0200	[thread overview]
Message-ID: <5702405F.7010003@hartkopp.net> (raw)
In-Reply-To: <EF5F25C2-BEAD-4379-83FC-DF0C656930C5@me.com>

Hello Kyle,

I assume you won't have much fun with these parts:

The CAN bus shield has a SPI connected CAN controller MCP2515 which 
needs to be connected to a SPI capable CPU board (like the RasPi).

The pl2303 just makes a serial interface (no SPI).
The SLCAN protocol is 'more' high level than the SPI.

I assume the serial pins on the shield only connect the RasPi board.

Regards,
Oliver

On 04/04/2016 08:00 AM, Kyle Crenshaw wrote:
>
> I have a canbus shield from elecfreaks.com and a pl2303 rs232 to usb cable hardware , and can-utils software installed.
> I love would like to read the canbus data coming in through the shield by way of usb end of the cable.
>
> Do I set this up with slcan as a can device (sudo ip link add dev slcan0 type can), ( slcand.....), or (slcan_attach...), or by another method I'm not aware of?
>
> I'm running fedora 23 if it matters...
>
> Thanks in advance.--
> 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
>

      reply	other threads:[~2016-04-04 10:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-04  6:00 Can bus shield set up Kyle Crenshaw
2016-04-04 10:22 ` Oliver Hartkopp [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=5702405F.7010003@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=kyle.crenshaw@me.com \
    --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 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.