View Single Post
Old 02-17-2006, 09:02 AM   #128
pippolippi
Constant Bitrate
 
Join Date: Feb 2006
Posts: 113
Quote: Originally Posted by Vicne
Can we have a reliable communication without the CTS input and use it for another purpose ?

Of course you can, I do it all the time.
In windows you set the correct flags in DCB in a call to SetCommState, with synaser you call the config method passing false as hardflow (and softflow too, but that's another matter).
Quote:
We could also send this remote to the ACC of the PC power supply (M1 ATX in my case) so that PC hibernates when HU stops and resumes when HU starts :-)
Note : if RTS/CTS aren't mandatory for handshaking, can I use the RTS output for another purpose too ?

I think you can, though I never did that (in a project I'm using a serial port as a single digital input, but I don't use it for communication).
Windows api for writing the control lines is EscapeCommFunction and GetCommModemStatus for reading, synaser has the properties RTS and DTR (write only) and CTS,DSR (read only).
pippolippi is offline   Reply With Quote