Skip to contentSkip to conversation

CAN bus on beaglebone black

Xenomai Marko Roganovic 2 participants 3 messages Jul 1, 2014 – Mar 16, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Dear Xenomai users and developers,

I am relatively new to Xenomai, and we are working on a project that uses Beaglebone black platform (3.8.13xenomai kernel). The idea is to port our code that runs on x86 platform and RTAI Linux interface, to Beaglebone black. In a process we decided to switch from RTAI to Xenomai. Most of the job is done relatively with no problems, but now we are facing the challenge how to connect our proprietary hardware to this new Beaglebone black platform. The idea is to use CAN bus, since it best suits real time constraints that we must meet.

As I understood, in rtcan core within Xenomai, there is no support for c_can (d_can) driver which is used on Beaglebone black (we tried kernel driver and it worked with our hardware fine). So I am interested if someone is working on porting this driver to rtcan (or has ported it already). Any help is appreciated.

Marko Roganovic

---
U ovoj e-pošti nema virusa i zlonamjernih programa jer je aktivna avast! antivirusna zaštita.
http://www.avast.com

#1 lore raw
Quoted 9 lines · Marko Roganovic

Dear Xenomai users and developers,

I am relatively new to Xenomai, and we are working on a project that uses Beaglebone black platform (3.8.13xenomai kernel). The idea is to port our code that runs on x86 platform and RTAI Linux interface, to Beaglebone black. In a process we decided to switch from RTAI to Xenomai. Most of the job is done relatively with no problems, but now we are facing the challenge how to connect our proprietary hardware to this new Beaglebone black platform. The idea is to use CAN bus, since it best suits real time constraints that we must meet.

As I understood, in rtcan core within Xenomai, there is no support for c_can (d_can) driver which is used on Beaglebone black (we tried kernel driver and it worked with our hardware fine). So I am interested if someone is working on porting this driver to rtcan (or has ported it already). Any help is appreciated.

Yes, the c_can linux kernel driver needs to be ported to rtcan. This should be rather straight forward. I have done it some time ago for the Flexcan controller.

Wolfgang.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 7 lines · Michael Haberler
Quoted 7 lines

Am 01.07.2014 um 21:37 schrieb Wolfgang Grandegger <[email protected]>:

Quoted 4 lines · Marko Roganovic

Dear Xenomai users and developers,

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

I am relatively new to Xenomai, and we are working on a project that uses Beaglebone black platform (3.8.13xenomai kernel). The idea is to port our code that runs on x86 platform and RTAI Linux interface, to Beaglebone black. In a process we decided to switch from RTAI to Xenomai. Most of the job is done relatively with no problems, but now

we

Quoted 1 line
Quoted 1 line
Quoted 1 line

are facing the challenge how to connect our proprietary hardware to

this

Quoted 1 line
Quoted 1 line
Quoted 1 line

new Beaglebone black platform. The idea is to use CAN bus, since it

best

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

suits real time constraints that we must meet.

As I understood, in rtcan core within Xenomai, there is no support for c_can (d_can) driver which is used on Beaglebone black (we tried

kernel

Quoted 11 lines
Quoted 9 lines
Quoted 3 lines

driver and it worked with our hardware fine). So I am interested if someone is working on porting this driver to rtcan (or has ported it already). Any help is appreciated.

Yes, the c_can linux kernel driver needs to be ported to rtcan. This should be rather straight forward. I have done it some time ago for the Flexcan controller.

Wolfgang.

curious - any news/progress on this front?

Steve recently mentioned that he has done a port:

http://www.xenomai.org/pipermail/xenomai/2015-February/033164.html

Wolfgang.