linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Socketcan-users] AM335x CAN/D_CAN
       [not found] <CAHvj1qbb9YJSBLZc1bG6MpEJcjPUtr+37wn3iJUNm_OmpH2SgA@mail.gmail.com>
@ 2012-05-22 19:01 ` Wolfgang Grandegger
  2012-05-23  6:56   ` AnilKumar, Chimata
  2012-06-19  7:58   ` bruce bushby
  0 siblings, 2 replies; 11+ messages in thread
From: Wolfgang Grandegger @ 2012-05-22 19:01 UTC (permalink / raw)
  To: bruce bushby; +Cc: Linux-CAN

Hello,

I switched the discussion to the new Linux-CAN mailing list.

On 05/22/2012 05:50 PM, bruce bushby wrote:
> Greetings
> 
> I'm hoping a list member would be so kind as to offer some basic
> explanations of how one would use the CAN bus provided by AM335x. I
> understand Linux, but struggle with electronics.
> 
> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
> What is the difference between C_CAN and D_CAN?

As I see it, the D_CAN is a more advanced variant of the C_CAN
controller. See also:

http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp

Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
posted recently for mainline inclusion and are currently reviewed.

> http://www.spinics.net/lists/linux-omap/msg67538.html
> Does D_CAN have anything to do with mcp2515?

No, nothing apart from the fact that both are CAN controllers. The
mcp2515 is connected via SPI bus and from another company.

> In order to connect the am335x CAN line to a CAN bus, would I need to
> add a CAN transceiver?

Hardware-wise, yes.

> Is the am335x an "in memory CAN" ... ie I wouldn't need to worry about
> SPI bus performance?

Right. On the AM335x, the D_CAN controller is integrated into the SOC.
There is no SPI involved.

> Any explanations and help much appreciated!

Hope it's useful.

Wolfgang.

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

* RE: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-22 19:01 ` [Socketcan-users] AM335x CAN/D_CAN Wolfgang Grandegger
@ 2012-05-23  6:56   ` AnilKumar, Chimata
  2012-05-23  7:01     ` Wolfgang Grandegger
  2012-06-19  7:58   ` bruce bushby
  1 sibling, 1 reply; 11+ messages in thread
From: AnilKumar, Chimata @ 2012-05-23  6:56 UTC (permalink / raw)
  To: Wolfgang Grandegger, bruce bushby; +Cc: Linux-CAN

Hi Wolfgang,

On Wed, May 23, 2012 at 00:31:06, Wolfgang Grandegger wrote:
> Hello,
> 
> I switched the discussion to the new Linux-CAN mailing list.
> 
> On 05/22/2012 05:50 PM, bruce bushby wrote:
> > Greetings
> > 
> > I'm hoping a list member would be so kind as to offer some basic
> > explanations of how one would use the CAN bus provided by AM335x. I
> > understand Linux, but struggle with electronics.
> > 
> > I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
> > What is the difference between C_CAN and D_CAN?
> 
> As I see it, the D_CAN is a more advanced variant of the C_CAN
> controller. See also:
> 
> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
> 
> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
> posted recently for mainline inclusion and are currently reviewed.

Is there a possibility of pushing my driver into 3.5 kernel?

Regards
AnilKumar

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  6:56   ` AnilKumar, Chimata
@ 2012-05-23  7:01     ` Wolfgang Grandegger
  2012-05-23  7:05       ` Marc Kleine-Budde
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Grandegger @ 2012-05-23  7:01 UTC (permalink / raw)
  To: AnilKumar, Chimata; +Cc: bruce bushby, Linux-CAN

On 05/23/2012 08:56 AM, AnilKumar, Chimata wrote:
> Hi Wolfgang,
> 
> On Wed, May 23, 2012 at 00:31:06, Wolfgang Grandegger wrote:
>> Hello,
>>
>> I switched the discussion to the new Linux-CAN mailing list.
>>
>> On 05/22/2012 05:50 PM, bruce bushby wrote:
>>> Greetings
>>>
>>> I'm hoping a list member would be so kind as to offer some basic
>>> explanations of how one would use the CAN bus provided by AM335x. I
>>> understand Linux, but struggle with electronics.
>>>
>>> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
>>> What is the difference between C_CAN and D_CAN?
>>
>> As I see it, the D_CAN is a more advanced variant of the C_CAN
>> controller. See also:
>>
>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
>>
>> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
>> posted recently for mainline inclusion and are currently reviewed.
> 
> Is there a possibility of pushing my driver into 3.5 kernel?

Yes, I think we should push it forward, even if the C_CAN part remains
untested for the moment. IIRC, the patch series is already in a good
shape. I personally do also not have a board with a C_CAN controller at
hand. Marc, what is your opinion?

Wolfgang.

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  7:01     ` Wolfgang Grandegger
@ 2012-05-23  7:05       ` Marc Kleine-Budde
  2012-05-23  8:06         ` Wolfgang Grandegger
  2012-05-23  8:07         ` Robert Schwebel
  0 siblings, 2 replies; 11+ messages in thread
From: Marc Kleine-Budde @ 2012-05-23  7:05 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: AnilKumar, Chimata, bruce bushby, Linux-CAN

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

On 05/23/2012 09:01 AM, Wolfgang Grandegger wrote:
> On 05/23/2012 08:56 AM, AnilKumar, Chimata wrote:
>> Hi Wolfgang,
>>
>> On Wed, May 23, 2012 at 00:31:06, Wolfgang Grandegger wrote:
>>> Hello,
>>>
>>> I switched the discussion to the new Linux-CAN mailing list.
>>>
>>> On 05/22/2012 05:50 PM, bruce bushby wrote:
>>>> Greetings
>>>>
>>>> I'm hoping a list member would be so kind as to offer some basic
>>>> explanations of how one would use the CAN bus provided by AM335x. I
>>>> understand Linux, but struggle with electronics.
>>>>
>>>> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
>>>> What is the difference between C_CAN and D_CAN?
>>>
>>> As I see it, the D_CAN is a more advanced variant of the C_CAN
>>> controller. See also:
>>>
>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
>>>
>>> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
>>> posted recently for mainline inclusion and are currently reviewed.
>>
>> Is there a possibility of pushing my driver into 3.5 kernel?
> 
> Yes, I think we should push it forward, even if the C_CAN part remains
> untested for the moment. IIRC, the patch series is already in a good
> shape. I personally do also not have a board with a C_CAN controller at
> hand. Marc, what is your opinion?

I don't have any of the *_CAN hardware. But the driver looks quite good.
I'm quite busy at the moment, but currently we've the merge window. I'll
do a review now, anyway. Wolfgang can I have your Acked-by?

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 --]

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  7:05       ` Marc Kleine-Budde
@ 2012-05-23  8:06         ` Wolfgang Grandegger
  2012-05-23  8:27           ` AnilKumar, Chimata
  2012-05-23  8:07         ` Robert Schwebel
  1 sibling, 1 reply; 11+ messages in thread
From: Wolfgang Grandegger @ 2012-05-23  8:06 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: AnilKumar, Chimata, bruce bushby, Linux-CAN

On 05/23/2012 09:05 AM, Marc Kleine-Budde wrote:
> On 05/23/2012 09:01 AM, Wolfgang Grandegger wrote:
>> On 05/23/2012 08:56 AM, AnilKumar, Chimata wrote:
>>> Hi Wolfgang,
>>>
>>> On Wed, May 23, 2012 at 00:31:06, Wolfgang Grandegger wrote:
>>>> Hello,
>>>>
>>>> I switched the discussion to the new Linux-CAN mailing list.
>>>>
>>>> On 05/22/2012 05:50 PM, bruce bushby wrote:
>>>>> Greetings
>>>>>
>>>>> I'm hoping a list member would be so kind as to offer some basic
>>>>> explanations of how one would use the CAN bus provided by AM335x. I
>>>>> understand Linux, but struggle with electronics.
>>>>>
>>>>> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
>>>>> What is the difference between C_CAN and D_CAN?
>>>>
>>>> As I see it, the D_CAN is a more advanced variant of the C_CAN
>>>> controller. See also:
>>>>
>>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
>>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
>>>>
>>>> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
>>>> posted recently for mainline inclusion and are currently reviewed.
>>>
>>> Is there a possibility of pushing my driver into 3.5 kernel?
>>
>> Yes, I think we should push it forward, even if the C_CAN part remains
>> untested for the moment. IIRC, the patch series is already in a good
>> shape. I personally do also not have a board with a C_CAN controller at
>> hand. Marc, what is your opinion?
> 
> I don't have any of the *_CAN hardware. But the driver looks quite good.
> I'm quite busy at the moment, but currently we've the merge window. I'll
> do a review now, anyway. Wolfgang can I have your Acked-by?

I just tried to compile check the patches but they do not apply properly
:(. AnilKumar, for what kernel tree are the patches you posted? They
should be against David Miller's net-next tree?

Wolfgang.

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  7:05       ` Marc Kleine-Budde
  2012-05-23  8:06         ` Wolfgang Grandegger
@ 2012-05-23  8:07         ` Robert Schwebel
  2012-05-23  8:08           ` Marc Kleine-Budde
  1 sibling, 1 reply; 11+ messages in thread
From: Robert Schwebel @ 2012-05-23  8:07 UTC (permalink / raw)
  To: Marc Kleine-Budde
  Cc: Wolfgang Grandegger, AnilKumar, Chimata, bruce bushby, Linux-CAN

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

Hi Marc,

On Wed, May 23, 2012 at 09:05:09AM +0200, Marc Kleine-Budde wrote:
> > Yes, I think we should push it forward, even if the C_CAN part
> > remains untested for the moment. IIRC, the patch series is already
> > in a good shape. I personally do also not have a board with a C_CAN
> > controller at hand. Marc, what is your opinion?
>
> I don't have any of the *_CAN hardware. But the driver looks quite
> good.  I'm quite busy at the moment, but currently we've the merge
> window. I'll do a review now, anyway. Wolfgang can I have your
> Acked-by?

We have a BeagleBone in the PTX Lab, with an AM3359, which has the CAN
port on the extension header. Does that help?

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  8:07         ` Robert Schwebel
@ 2012-05-23  8:08           ` Marc Kleine-Budde
  2012-05-23  8:10             ` Robert Schwebel
  0 siblings, 1 reply; 11+ messages in thread
From: Marc Kleine-Budde @ 2012-05-23  8:08 UTC (permalink / raw)
  To: Robert Schwebel
  Cc: Wolfgang Grandegger, AnilKumar, Chimata, bruce bushby, Linux-CAN

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

On 05/23/2012 10:07 AM, Robert Schwebel wrote:
> Hi Marc,
> 
> On Wed, May 23, 2012 at 09:05:09AM +0200, Marc Kleine-Budde wrote:
>>> Yes, I think we should push it forward, even if the C_CAN part
>>> remains untested for the moment. IIRC, the patch series is already
>>> in a good shape. I personally do also not have a board with a C_CAN
>>> controller at hand. Marc, what is your opinion?
>>
>> I don't have any of the *_CAN hardware. But the driver looks quite
>> good.  I'm quite busy at the moment, but currently we've the merge
>> window. I'll do a review now, anyway. Wolfgang can I have your
>> Acked-by?
> 
> We have a BeagleBone in the PTX Lab, with an AM3359, which has the CAN
> port on the extension header. Does that help?

Sure \o/, if our soldermaster can attach it to our CAN network.

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 --]

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  8:08           ` Marc Kleine-Budde
@ 2012-05-23  8:10             ` Robert Schwebel
  0 siblings, 0 replies; 11+ messages in thread
From: Robert Schwebel @ 2012-05-23  8:10 UTC (permalink / raw)
  To: Marc Kleine-Budde
  Cc: Wolfgang Grandegger, AnilKumar, Chimata, bruce bushby, Linux-CAN

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

On Wed, May 23, 2012 at 10:08:18AM +0200, Marc Kleine-Budde wrote:
> >> I don't have any of the *_CAN hardware. But the driver looks quite
> >> good.  I'm quite busy at the moment, but currently we've the merge
> >> window. I'll do a review now, anyway. Wolfgang can I have your
> >> Acked-by?
> >
> > We have a BeagleBone in the PTX Lab, with an AM3359, which has the
> > CAN port on the extension header. Does that help?
>
> Sure \o/, if our soldermaster can attach it to our CAN network.

I'll ask him when he's in the office :-)

However, you might need to port mainline linux to it first...

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

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

* RE: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  8:06         ` Wolfgang Grandegger
@ 2012-05-23  8:27           ` AnilKumar, Chimata
  2012-05-23  8:40             ` Wolfgang Grandegger
  0 siblings, 1 reply; 11+ messages in thread
From: AnilKumar, Chimata @ 2012-05-23  8:27 UTC (permalink / raw)
  To: Wolfgang Grandegger, Marc Kleine-Budde; +Cc: bruce bushby, Linux-CAN

Hi Wolfgang,

On Wed, May 23, 2012 at 13:36:13, Wolfgang Grandegger wrote:
> On 05/23/2012 09:05 AM, Marc Kleine-Budde wrote:
> > On 05/23/2012 09:01 AM, Wolfgang Grandegger wrote:
> >> On 05/23/2012 08:56 AM, AnilKumar, Chimata wrote:
> >>> Hi Wolfgang,
> >>>
> >>> On Wed, May 23, 2012 at 00:31:06, Wolfgang Grandegger wrote:
> >>>> Hello,
> >>>>
> >>>> I switched the discussion to the new Linux-CAN mailing list.
> >>>>
> >>>> On 05/22/2012 05:50 PM, bruce bushby wrote:
> >>>>> Greetings
> >>>>>
> >>>>> I'm hoping a list member would be so kind as to offer some basic
> >>>>> explanations of how one would use the CAN bus provided by AM335x. I
> >>>>> understand Linux, but struggle with electronics.
> >>>>>
> >>>>> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
> >>>>> What is the difference between C_CAN and D_CAN?
> >>>>
> >>>> As I see it, the D_CAN is a more advanced variant of the C_CAN
> >>>> controller. See also:
> >>>>
> >>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
> >>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
> >>>>
> >>>> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
> >>>> posted recently for mainline inclusion and are currently reviewed.
> >>>
> >>> Is there a possibility of pushing my driver into 3.5 kernel?
> >>
> >> Yes, I think we should push it forward, even if the C_CAN part remains
> >> untested for the moment. IIRC, the patch series is already in a good
> >> shape. I personally do also not have a board with a C_CAN controller at
> >> hand. Marc, what is your opinion?
> > 
> > I don't have any of the *_CAN hardware. But the driver looks quite good.
> > I'm quite busy at the moment, but currently we've the merge window. I'll
> > do a review now, anyway. Wolfgang can I have your Acked-by?
> 
> I just tried to compile check the patches but they do not apply properly
> :(. AnilKumar, for what kernel tree are the patches you posted? They
> should be against David Miller's net-next tree?

I have generated the patch series with "v3.4-rc6". I can quickly spin patches with
the latest tip

Regards
AnilKumar

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-23  8:27           ` AnilKumar, Chimata
@ 2012-05-23  8:40             ` Wolfgang Grandegger
  0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Grandegger @ 2012-05-23  8:40 UTC (permalink / raw)
  To: AnilKumar, Chimata; +Cc: Marc Kleine-Budde, bruce bushby, Linux-CAN

On 05/23/2012 10:27 AM, AnilKumar, Chimata wrote:
> Hi Wolfgang,
> 
> On Wed, May 23, 2012 at 13:36:13, Wolfgang Grandegger wrote:
>> On 05/23/2012 09:05 AM, Marc Kleine-Budde wrote:
>>> On 05/23/2012 09:01 AM, Wolfgang Grandegger wrote:
>>>> On 05/23/2012 08:56 AM, AnilKumar, Chimata wrote:
>>>>> Hi Wolfgang,
>>>>>
>>>>> On Wed, May 23, 2012 at 00:31:06, Wolfgang Grandegger wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I switched the discussion to the new Linux-CAN mailing list.
>>>>>>
>>>>>> On 05/22/2012 05:50 PM, bruce bushby wrote:
>>>>>>> Greetings
>>>>>>>
>>>>>>> I'm hoping a list member would be so kind as to offer some basic
>>>>>>> explanations of how one would use the CAN bus provided by AM335x. I
>>>>>>> understand Linux, but struggle with electronics.
>>>>>>>
>>>>>>> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
>>>>>>> What is the difference between C_CAN and D_CAN?
>>>>>>
>>>>>> As I see it, the D_CAN is a more advanced variant of the C_CAN
>>>>>> controller. See also:
>>>>>>
>>>>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
>>>>>> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
>>>>>>
>>>>>> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
>>>>>> posted recently for mainline inclusion and are currently reviewed.
>>>>>
>>>>> Is there a possibility of pushing my driver into 3.5 kernel?
>>>>
>>>> Yes, I think we should push it forward, even if the C_CAN part remains
>>>> untested for the moment. IIRC, the patch series is already in a good
>>>> shape. I personally do also not have a board with a C_CAN controller at
>>>> hand. Marc, what is your opinion?
>>>
>>> I don't have any of the *_CAN hardware. But the driver looks quite good.
>>> I'm quite busy at the moment, but currently we've the merge window. I'll
>>> do a review now, anyway. Wolfgang can I have your Acked-by?
>>
>> I just tried to compile check the patches but they do not apply properly
>> :(. AnilKumar, for what kernel tree are the patches you posted? They
>> should be against David Miller's net-next tree?
> 
> I have generated the patch series with "v3.4-rc6". I can quickly spin patches with
> the latest tip

That would be nice. We need the patches against:

  git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git

Thanks,

Wolfgang.

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

* Re: [Socketcan-users] AM335x CAN/D_CAN
  2012-05-22 19:01 ` [Socketcan-users] AM335x CAN/D_CAN Wolfgang Grandegger
  2012-05-23  6:56   ` AnilKumar, Chimata
@ 2012-06-19  7:58   ` bruce bushby
  1 sibling, 0 replies; 11+ messages in thread
From: bruce bushby @ 2012-06-19  7:58 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: Linux-CAN

Hi Wolfgang/Oliver

Thank you for your response, much appreciated!! Clearly I've got some
reading to do :)

Regards
Bruce Bushby





On Tue, May 22, 2012 at 8:01 PM, Wolfgang Grandegger <wg@grandegger.com> wrote:
> Hello,
>
> I switched the discussion to the new Linux-CAN mailing list.
>
> On 05/22/2012 05:50 PM, bruce bushby wrote:
>> Greetings
>>
>> I'm hoping a list member would be so kind as to offer some basic
>> explanations of how one would use the CAN bus provided by AM335x. I
>> understand Linux, but struggle with electronics.
>>
>> I have read this discussion: http://comments.gmane.org/gmane.linux.can/1142
>> What is the difference between C_CAN and D_CAN?
>
> As I see it, the D_CAN is a more advanced variant of the C_CAN
> controller. See also:
>
> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/c_can/c_can.asp
> http://www.semiconductors.bosch.de/en/ipmodules/can/canipmodules/d_can/d_can.asp
>
> Patches to add D_CAN support to the Linux-CAN C_CAN driver have been
> posted recently for mainline inclusion and are currently reviewed.
>
>> http://www.spinics.net/lists/linux-omap/msg67538.html
>> Does D_CAN have anything to do with mcp2515?
>
> No, nothing apart from the fact that both are CAN controllers. The
> mcp2515 is connected via SPI bus and from another company.
>
>> In order to connect the am335x CAN line to a CAN bus, would I need to
>> add a CAN transceiver?
>
> Hardware-wise, yes.
>
>> Is the am335x an "in memory CAN" ... ie I wouldn't need to worry about
>> SPI bus performance?
>
> Right. On the AM335x, the D_CAN controller is integrated into the SOC.
> There is no SPI involved.
>
>> Any explanations and help much appreciated!
>
> Hope it's useful.
>
> Wolfgang.

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

end of thread, other threads:[~2012-06-19  7:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAHvj1qbb9YJSBLZc1bG6MpEJcjPUtr+37wn3iJUNm_OmpH2SgA@mail.gmail.com>
2012-05-22 19:01 ` [Socketcan-users] AM335x CAN/D_CAN Wolfgang Grandegger
2012-05-23  6:56   ` AnilKumar, Chimata
2012-05-23  7:01     ` Wolfgang Grandegger
2012-05-23  7:05       ` Marc Kleine-Budde
2012-05-23  8:06         ` Wolfgang Grandegger
2012-05-23  8:27           ` AnilKumar, Chimata
2012-05-23  8:40             ` Wolfgang Grandegger
2012-05-23  8:07         ` Robert Schwebel
2012-05-23  8:08           ` Marc Kleine-Budde
2012-05-23  8:10             ` Robert Schwebel
2012-06-19  7:58   ` bruce bushby

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