On Wed, Aug 24, 2016 at 09:07:36PM +0200, Asutosh Satapathy wrote: > Hello All, > > This is my first ever mail to this mailing list. I apologize in advance if > my mail is not adhering to the etiquettes of this mailing list. Having said > that, > > Context: I have recently started working with xenomai 2.6.4 for serial > communication. My program needs to read and write to an IMU. The serial card > supports higher baud rate. I do an insmod to load the xeno_16550A.ko driver > for the serial port at 230400 baud base. And then when I run the program, > error occurs. But the program runs fine for 115200 baud base. > > Problem: To restate, my program works fine for serial communication at baud > rate of 115200. But I am getting errors when I try to read data at a higher > baud-rate i.e. 230400 and higher. > > Errors: 1. rt_dev_read : Input/Output Error > 2. rt_dev_read : Broken Pipe > > Questions: > 1. Is there a driver limitation on the baudrate? I was not able to find any > documentation regarding this. > 2. If there are no limitations, any suggestions on this? > 2.1. Why am I getting the error while trying to read the data and not when I > am trying to open the port.
Does the port work at 230400 using the linux driver? How are you changing the baud base? -- Len Sorensen _______________________________________________ Xenomai mailing list [email protected] https://xenomai.org/mailman/listinfo/xenomai
