All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] RT-CAN question (was: CAN bus on beaglebone black)
@ 2015-03-19  9:57 Michael Haberler
  2015-03-19 18:44 ` Steve B
  2015-03-21  8:57 ` Wolfgang Grandegger
  0 siblings, 2 replies; 14+ messages in thread
From: Michael Haberler @ 2015-03-19  9:57 UTC (permalink / raw)
  To: xenomai

status:

I have Steve Batazzo's driver running on the beaglebone, using a stock
Xenomai kernel from Robert Nelson's repo (linux-image-3.8.13-xenomai-r71
from http://repos.rcn-ee.net/debian/), current driver out of tree at
https://github.com/mhaberler/rtcan-bb branch mah

I also have a preliminary HAL driver for machinekit which talks to a
Trinamic motor over RT-CAN just fine (beaglebone for now, x86 once I get a
CAN PCI card).

I'm working with Steve to get the driver polished and hope we can inject it
into the Xenomai foodchain eventually, after which it will be eventually
picked up by Robert's periodic builds, and the whole thing becomes an
'apt-get install' - affair. But we're not there yet.


I have a few questions on RT-CAN (I guess really RTDM):

- can the RTDM API (
https://xenomai.org/documentation/trunk/html/api/group__userapi.html) be
used from a normal Posix thread (non-RT) just alike? from the rtcansend*
utilities src it looks like at least for setup, even if the send/receive
ops are done in an RT thread.

- socket-CAN and RT-CAN interworking: I assume this is an either-or affair,
right? (background: for some jobs the RT-CAN features are overkill, and in
that case something like the python-can binding would be convenient to use)

- in case the above answers are 'yes' and 'no, it's either/or': anybody
aware of Python bindings for RTDM?

sorry for the noobish questions, climbing the learning curve

- Michael

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

end of thread, other threads:[~2015-03-21 14:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19  9:57 [Xenomai] RT-CAN question (was: CAN bus on beaglebone black) Michael Haberler
2015-03-19 18:44 ` Steve B
2015-03-20  6:15   ` Michael Haberler
2015-03-20  6:58     ` Michael Haberler
2015-03-20  7:26       ` Michael Haberler
2015-03-20  7:54         ` Jan Kiszka
2015-03-20  8:02           ` Michael Haberler
2015-03-20 17:42             ` Steve B
2015-03-20 18:16               ` Gilles Chanteperdrix
2015-03-20 18:28                 ` Steve B
2015-03-20 18:39                   ` Gilles Chanteperdrix
2015-03-21  8:48                 ` Wolfgang Grandegger
2015-03-21  8:57 ` Wolfgang Grandegger
2015-03-21 14:56   ` Michael Haberler

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.