linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can bus shield set up
@ 2016-04-04  6:00 Kyle Crenshaw
  2016-04-04 10:22 ` Oliver Hartkopp
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Crenshaw @ 2016-04-04  6:00 UTC (permalink / raw)
  To: linux-can


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.

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

* Re: Can bus shield set up
  2016-04-04  6:00 Can bus shield set up Kyle Crenshaw
@ 2016-04-04 10:22 ` Oliver Hartkopp
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Hartkopp @ 2016-04-04 10:22 UTC (permalink / raw)
  To: Kyle Crenshaw, linux-can

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
>

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

end of thread, other threads:[~2016-04-04 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04  6:00 Can bus shield set up Kyle Crenshaw
2016-04-04 10:22 ` Oliver Hartkopp

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).