Lauener Nathan wrote: > Hi, > I am using Xenomai to read data from different sensors in real time from > user space. So far I am reading position data from a device attached to > a serial port. The CPU load is at about 1%. I also have a > microcontroller attached via USB to read encoder data. The USB device is > a USB-to-serial converter. As soon as I open the (USB-)serial port with > normal systemcalls and read the incoming data my CPU load skyrockets to > over 90%. I only read about 30 bytes every 100ms. > I ran the application on a much newer computer also to rule out any > buggy hardware. The results stayed the same. Intensively searching the > mailing list and provided documentation have not helped solve the > problem. > I'm using Xenomai 2.1.0 with kernel 2.6.15.6. Xenomai is compiled into > the kernel. I also use the driver xeno_16550A loaded as module. The > USB-to-serial bridge used is a CP2101 from Silabs.
Is there any IRQ conflict between the USB host controller and some RT-device? Please check /proc/interrupts and /proc/xenomai/irq. Which process is consuming your CPU time? At system or at user level? Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
