Hi,
In my embedded linux application I've written a modbus interface (RS485)
on /dev/ttyS1 (cfmakeraw) the RTS is used to enable/disable the RS485
driver.
I use the ioctl(fd[c], TIOCMSET, &status) fucntion.to change RTS'
Before sending I enable RTS, send all data, (the RS485 echo's all)
wait until all data is received, and then disable RTS.
The problem is that the RTS is sometimes dropped to slow, up to 5ms,
witch is to long (because I get an answer from the polled device withing
3ms)
but sometimes also fas, lesser then 500us.
What is the cause of this ?
I work with an i386 40MHz cpu at 9600 baud
[EMAIL PROTECTED]
--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.