All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Blomdell <anders.blomdell@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: Xenomai-help@domain.hid
Subject: Re: [Xenomai-help] rt usb
Date: Tue, 02 Oct 2007 10:57:28 +0200	[thread overview]
Message-ID: <470207F8.1010309@domain.hid> (raw)
In-Reply-To: <4701FBE2.7010309@domain.hid>

Jan Kiszka wrote:
> Roland Tollenaar wrote:
>> Hi,
>>
>> I was just wondering whether any work was going on for real-time usb?
>>
>> This would enable the use of PCI adaptors over USB so that PCI-IO cards 
>> (like the peak-can card) can be used from laptops. CAN over USB is also 
>> rather valuable.
> 
> http://developer.berlios.de/projects/usb4rt
> https://gna.org/projects/usb20rt
> 
> Both projects are generally not directly usable and are currently in a 
> dormant state.
> 
>> Is any documentation available which clarifies why usb is a problem and 
>> how big the problem is (perhaps I can risk it?:) )
> 
> No longer at hand (a former student of mine did his diploma thesis about 
> usb4rt). Generally, there is no real show-stopper, we "just" need a 
> real-time-aware stack that provides appropriate API (e.g. to 
> preallocated required resources) and that is bug-free... :)
One problem with USB is the inherent 1ms(full speed)/125us(high speed) cycles,
which (AFAICT) prohibits closing a control loop any faster than that. On top of
that at least some USB I/O-cards (somewhat off-topic, since post was about CAN
over USB) tend to pack multiple values into one USB-packet, which leads to
larger delays.

I would investigate Ethernet-CAN gateways, perhaps brew my own using
http://www.hitex.com/str9-comstick/

/Anders


-- 
Anders Blomdell                  Email: anders.blomdell@domain.hid
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden


      parent reply	other threads:[~2007-10-02  8:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-02  6:41 [Xenomai-help] rt usb Roland Tollenaar
2007-10-02  8:05 ` Jan Kiszka
2007-10-02  8:35   ` Roland Tollenaar
2007-10-02  8:52     ` Jan Kiszka
2007-10-02  8:57   ` Anders Blomdell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=470207F8.1010309@domain.hid \
    --to=anders.blomdell@domain.hid \
    --cc=Xenomai-help@domain.hid \
    --cc=jan.kiszka@domain.hid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.