[Xenomai] Xenomai and USB input

Gregory Dymarek gregd72002 at gmail.com
Mon Apr 14 18:00:35 CEST 2014


Hi,

I'm trying to understand the impact of using USB device as input for
Xenomai implementation.

The setup is:
- controller running linux 3.10 (xenomai 2.6) on ARM
- GPIO output
- GPIO input
- USB input

My current thinking is to create 4 threads, one of each: the
controller, GPIO out, GPIO in, USB in.

The controller, GPIO input and output have to be pretty much in sync
and running together at the same rate (i.e. 50Hz). There is no hard
constrain on the USB input but would need to be read at least at half
the rate of the controller rate.

How does reading the USB device affect the setup, are there any
problems with it?
Also, could someone provide some guidelines on what the best setup
would be please?

Thanks,
Gregory




More information about the Xenomai mailing list