shanebkennedy at eircom.net wrote:
>Hi, Y'all, and thanks for the help last time round. I have another problem
>... same project, also ttyS* related...the o/p defaults to low, so the
>other device doesn't see a start bit !, just the data bits. Any
>suggestions ?
>>That's a bit low level. I don't think software has control
over the UART in this regard? How are you measuring this?
Note RS232 uses inverted logic wrt the data pins only.
So +12V = logical 0 (start), while -12V = logical 1 (stop).
A line will transition from -12 to +12 for the start bit,
and stay at -12 when nothing is being transmitted.
What higher level settings are you using?
Have you set CLOCAL in options.c_cflag ?
What flow control, baud, parity, stop bits, ...
Pádraig.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!