[REBOL] Re: Serial Ports question
From: ryan::practicalproductivity::com at: 29-Sep-2006 11:37
Hmmm, let me guess, 3 wire serial. My best shot is to try to send zeros
at the lowest possible baud rate until it eventually decides to wake
up. As you probably know, the OS breaks up your transmition, so I
wouldnt put high hopes on reliability. It all comes down to the
particulars of the design, the only way to if or how well its going to
work is to test it, or maybe analyze the schematic.
Given the ports idle state is negative (I assume your right), requiring
it high for 1 second is a bad design. It simply wasn't meant to be used
Greg Schwarz wrote:
>Thank you for your input.
>The PC com ports are in idle mode (low readly to send a start bit), opening
>and closing the port does not change this level.
>I can set the com port high (like a very long start bit) if I write it in C
>and call it from rebol.
>I have noticed the cpu use goes very high when I use call.
>Has anyone else seen this?
>>I dont think so, but I really dont know what the awake setting does.
>>Classically though, you set the dtr line to do something like that so I
>>wouldnt expect it in the protocol handler. As I recall, the TX is high
>>(+ voltage) once the serial port is activated, which btw is logic level
>>0 on serial ports. So, I would expect to just open the port and wait 1..
>>Greg Schwarz wrote:
>>>Has anyone got a good list a of the functions with serial ports?
>>>I need to put the TX line high for one second to wake up data logger.
>>>Below is part of the list of options, is the awake option used for this?
>>Practical Productivity Solutions
>>To unsubscribe from the list, just send an email to
>>lists at rebol.com with unsubscribe as the subject.
Practical Productivity Solutions