From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <553D4E9F.2060907@grandegger.com> Date: Sun, 26 Apr 2015 22:46:23 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] RT-CAN driver for C_CAN,D_CAN cores ready List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Haberler , xenomai Hi Michael, thanks for your contribution. Could you please send it as inline patch to this mailing list to simplify the review and integration. Thanks, Wolfgang. On 04/20/2015 01:01 AM, Michael Haberler wrote: > here is the RT-CAN driver by Steve Battazzo for (among others) the > Beaglebone: https://github.com/mhaberler/xeno_d_can/commits/for-xenomai-2 > > I've reconstructed the history as Steve based this on the 3.8 c_can driver. > The problems Steve originally noted are resolved. > > Please let me know if anything is missing for a merge into Xenomai 2. > > - Michael > > > Usage: > > blacklist the Linux drivers in /etc/modprobe.d/can-blackist.conf: > > blacklist c_can_platform > > blacklist c_can > > blacklist can_dev > > > enable the can pins using the universal overlay ( > https://github.com/cdsteinkuehler/beaglebone-universal-io) > > > config-pin overlay cape-universal > > config-pin P9.24 can > > config-pin P9.26 can > > > # load the rtcan mods > > modprobe xeno_can > > modprobe rtcan_can > > > # start the rtcan interface > > rtcanconfig rtcan1 -b 1000000 start > > rtcansend rtcan1 --verbose --identifier=0x1 0x04 0x01 0x00 0x00 0x0f 0xff > 0xe7 0x00 > _______________________________________________ > Xenomai mailing list > Xenomai@xenomai.org > http://www.xenomai.org/mailman/listinfo/xenomai > >