|
Re: Serial Ports
Stewart Bell wrote:
> I have a device that transmits data via a serial cable.... My Computer has no
> problem...But a client's transmitted data is trash... all cables are the same
> all settings are the same. Either using an older Windows app or using
> hyper-terminial
> client data trash my computer everything fine.... Any Ideas ?
>
A baud rate mismatch can corrupt data. Normally, this
would be because of user error.
But a very long time ago, a baud rate mismatch could
also be caused by residual divider error in the baud rate
generator. The two devices then end up with a significant
error in the baud clocks they use. But your client's computer
probably isn't that crusty. (More of an issue 30 years ago.)
An RS-232 level shifter not pushing full levels, and the
usage of long data cabling, can also do it. Charge pump
based RS-232 level shifters cannot do as good a job as
the ones that run directly from +12V/-12V. But that only
becomes evident at high baud rates (>38.4K perhaps).
If you're running at 9600 baud, and using a short cable,
there are fewer good excuses. Maybe a bad cable, with a couple
conductors shorted together or something. Or a bad level
shifter, with a weak driver for the bipolar output.
An oscilloscope can be used to verify signal qualities.
Paul
|