Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

Introduction

Ever since computers were invented, the ability to communicate with them was paramount. The RS 232 serial port became the standard way to do this. Modern computers now use USB ports to communicate together be it a camera, mobile phone or a hard disk drive.

There are programs on the internet that test Serial Ports. The object of this section is to use these programs to test the different USB Serial cables that are candidates to use with Eazylink2.

64 bit

Software

The following windows software was downloaded. 

File NameRelease DateVersionFile Size
PL2303_CableTest_v2.2.1.1.zip2010/02/252.2.1.1753.78KB
COM PORT STRESS TESTMarch 11, 2014.1.4.3 build 907.  

Hardware

The following items were made

NameItemCircuitFunction
Loopback
Connector
To test
individual
Serial Port 
NULL MODEM
adapter

To connect
two Serial
Ports
together

Tested USB Serial Cables

Manufacture

Chip set


PL2303HX
PLUGABLE

Image Added

CH340

FT232R
TRONIX 

FT232R
CHIP-10X 


TUSB3410

PictureImage Added
Where
Purchased
 
COM Port4 365
8/6/14 inc.
VAT £ p+p 
£11.59 £9.98£19.18£23.99

Test & Results

Run as administrator

It was found that unless these programs were "Run as administrator," errors and a Blue Screen Of Death were encountered.

PL-2303 - Cable Test Program Ver 2.2.1.1

Image Removed

This program tests two serial ports, by sending data from one port to the other, changing each parameter settings and reporting the resultsresult of each test.Image Removed

Image AddedImage Added
This screen shot shows a successful test
provided
that
the Check Signal Events
was un-ticked.

Image Removed

The RTS Signal testing ... section failed.
This was due to the cable was a 3 wire type.
This only connects the data pins together

. At least it shows that this program reports errors correctly.

This test will be run again with a fully connected NULL MODEM adapter.

.

The results of 2 USB Serial Cable connected together with a NULL MODEM Cable shows they are all OK.

Both FTDI cables,

Keyspan & Prolific

Keyspan & FTDI

Image AddedImage AddedImage Added

Com Port Stress Test

This program either tests COM Ports individually, or with 2 COM ports as above.Image Removed

Dual USB Serial Cable Results

These results shows the test running at different baud rates with RTS and CTS enabled.

Image Added

If the COM port is faulty, error messages are generated and recorded into a log file. The following screen shot shows COM3 and COM4 connected together with the 3 wire NULL MODEM with RTS CTS selected randomly. As expected, error messages, like the result above were generated.These tests will be repeated when I have the correct NULL MODEM Adapter

Both FTDI Serial cables

115200 baud

Image Added

This is not using any handshaking and has no errors

Image Added

This is using RTS & DTR and has no errors

38400 baud

Image Added

This is using RTS & DTR and has no errors

9600 baud

Image Added

This is using RTS & DTR and has no errors

Keyspan & Prolific Serial cables

38400 baud

Image Added

This is using RTS and DTR, reports errors to start with and then is stable.

Keyspan & FTDI Serial cables

Image Added

This is using RTS and DTR, reports errors to start with and then is stable.

Prolific & FTDI Serial cables

Image Added

This is using RTS and DTR, reports errors to start with and then is stable.

Single USB Serial Cable Results

These results shows the test running at 38400 baud with RTS and CTS enabled. There are different values in the port settings. This had no effect on the speed of transfer. 

USB Serial Port (COM3) FTDI Results

Image Removed
Image Added

Image Removed

There are no errors.

Image Added

Keyspan USB Serial Port (COM5) Results

Image Removed
Image Added

Image Removed

There are no errors.

Image Added

USB Serial Port (COM6) FTDI Results

Image Removed
Image Added
Image Removed
Image Added
There are no errors. 

09/06/2014 Test Results

Just to make sure that the test are the same I ran the same test on all 4 cables one after the other at the same speed.

Keyspan

Tronix FTDI

Image AddedImage Added

CHIPI-X FTDI

Prolific

Image AddedImage Added

There were no errors.

If I ran the Keyspan at a higher speed or with another serial cable, I would get a blue screen.

Keyspan

Image Removed

Tronix FTDI

Image Removed

CHIPI-X FTDI

Image Removed

Prolific

Image Removed

Tabulated Results

So that the results may be compared in a table, here they are but they need checking:-

Manufacture

Chip set

SPEED SET

Image Added

PLUGABLE

Image Added
TRONIX 
Image Added
CHIP-10X 
Image Added

TUSB3410

SPEED
OBTAINED

KB/s 

E
R
R
R

115,200 Image AddedImage Added 2.690

38,400

 Image AddedImage Added 2.840

38,400

Image Added Image Added 2.5514
38,400 Image Added Image Added2.525
38,400Image AddedImage Added  2.347
38,400 Image Added  2.370
38,400   Image Added1.950
38,400  Image Added 1.990
38,400Image Added   2.350
9,600 Image AddedImage Added 1.010

Conclusion

All cables pass the individual single speed test .

The dual serial port test still need to be run.

The Prolific one didn't pass the test when connected to another USB Serial Cable, but this could be due to the incorrect NULL MODEM being usedwith hardware handshaking.

Irrespective at what speed they are set at, the fastest speed is 2.35 KB/s

When running the Keyspan cable with COM Port Stress Test, I get the Blue Screen Of Death after around 10 seconds.

We know that the Keyspan adapter works but if the FTDI adapter can be used instead, it is half the price.