[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 485 serial port read delay and send/receive turnaround
Curiouser and curiouser:
we also tried using an RS232 port and a 232->485 convertor. Using ioctl's
to set/reset the RTS line didn't quite work because
of characters still in the write fifo. What was strange was that any call
to usleep() would get rounded up to the next 20 milliseconds. IE: a call
to usleep(1) would delay for 20ms.
Where does this 20ms come from? Can I reprogram that timer for something
like 2-5 ms?
HID Corporation - Engineering
11674 N. Huron Street
Denver, CO 80234-2924