Difference between revisions of "Serial port"

From sigrok
Jump to navigation Jump to search
Line 349: Line 349:
* Analog Devices [http://www.analog.com/static/imported-files/data_sheets/ADM222_232A_242.pdf]
* Analog Devices [http://www.analog.com/static/imported-files/data_sheets/ADM222_232A_242.pdf]
* [http://para.maximintegrated.com/results.mvp?fam=rs232 Maxim]
* [http://para.maximintegrated.com/results.mvp?fam=rs232 Maxim]
* Texas Instruments [http://www.ti.com/product/sn75lv4737a]
* [http://www.zywyn.com/ ZyWyn]
* [http://www.zywyn.com/ ZyWyn]

Revision as of 00:35, 2 December 2013


Serial Ports are a common way to communicate with devices. The most common serial ports, as used by devices like Metex/Voltcraft multimeters, are RS-232 interfaces.


USB to Serial Converters

To operate devices that have RS-232 or TTL serial interfaces on computers that have only USB interfaces, converters are available. Many different chipsets exist that have slightly different properties, often supporting only a subset of what common UARTs like the 8250/16550A can do. Please note that a chipset-specific driver for the respective operating system is required (sometimes included in the OS already, e.g. mostly for Linux). Chipset and driver need to be seen as a union. The problems with some chipsets mostly seem to be more related to the quality of the driver than that of the hardware. Many original USB cables from OEM manufacturers use these converters, too, either with the chip manufacturer's or a custom USB ID.

Most of the USB to serial converter chipsets deliver 3.3 V or 5V TTL level signals and an additional converter chip between signal levels usually called a Line Driver/Receiver, e.g. a Maxim MAX232, is required to interface to a RS232 or other interface that uses different signal levels.

The RS232 standard allows quite a huge span of 3 to 15 V resp. -3 to -15 V for the two signal levels. Some RS232 devices won't work on USB-RS232 converters because these converters tend to be at the lower end of these voltages and the devices need need a higher RS232 signal voltage to work, e.g. to drive optocouplers in the interface. Sometimes a device might work on a converter of type A and won't on a converter of type B, depending on the chips used and other parameters chosen by the manufacturer.

USB to Serial converter chipsets

Manufacturer Type USB Data Bits Custom baud Baud min. max. Modem Drivers Homepage Remarks
 Asix (former MOSChip) MCS7840 2.0 5,6,7,8 yes; broken on Mac [1] 4 serial ports
MCS7820 2.0 [2] 2 serial ports
MCS7810 2.0 [3] 1 serial port
MCS7720 1.1 [4] 2 serial ports
MCS7717 1.1 [5] 1 serial, 1 parallel port and 3-port USB hub; out of production
MCS7715 1.1 [6] 1 serial, 1 parallel port
MCS7710 1.1 [7] 1 serial port; out of production


MCS7703 1.1 [8] 1 serial port; out of production


 Cypress CY7C64225 2.0 8 300 230400 4 Win [9] HW Handshake supported only up to 1150200 baud.
CY7C65211 2.0 7,8 —? 300 3 Mbaud 4 Android, Linux, Mac, WinCE, Win XP-8 [10] 1x I2C, 1x SPI, 10x GPIO
CY7C65213 2.0 7,8 [11] 8 x GPIO
CY7C65215 2.0 7,8 [12] 2 serial ports, 2x I2C, 2x SPI, 17x GPIO
FTDI many 7,8 [13] FTDI chips have 2 different driver models, one allowing bit-banging and other exotic features with appropriate chips.
FT230X 2.0 7,8 183.1 3 Mbaud 2 Linux, Mac, WinCE 4.2-6, WinXP-8, others [14]
FT231X 2.0 7,8 183.1 3 Mbaud 6 Linux, Mac, WinCE 4.2-6, WinXP-8, others [15]
FT232H 2.0 7,8 183.1 12 Mbaud 6 Linux, Mac, WinCE 4.2-6, WinXP-8, others [16] Allows many protocols, including UART, JTAG, I2C, SPI, FT1248, bit-bang
FT234X 2.0 7,8 183.1 3 Mbaud 2 Linux, Mac, WinCE 4.2-6, WinXP-8, others [17]
FT4234H 2.0 7,8 183.1 12 Mbaud 6 Linux, Mac, WinCE 4.2-6, WinXP-8, others [18] 4x UART, 2x MPSSE (FTDI), 32x GPIO
Microchip MCP2200 2.0 8; others? 300 1 Mbaud 2 Linux, WinXP, WinVista, Win7 [19] 8x GPIO; custom baud rates set in non-std way using DLL/USB cmd. There exists information on the net that it is based on a PIC18F14K50 microcontroller.
Prolific PL-2303x 5,6,7,8 300 115200 6 Linux, Mac, WinCE5, WinXP, WinVista-8.1 [20] There has been critique concerning the quality of the driver (for which OSses?).
PL-2303HX 1.1 5,6,7,8 ● (driver!) 75 6 (12) Mbps 6 Linux, Mac, WinCE4.2-7, Win2000, XP, Vista, 8 [21] 4x GPIO, 4x Aux GPIO; >115200 baud without control lines; Custom baud rates seem to require special driver from manufacturer
PL-2303RA 1.1 5,6,7,8 ● (driver!) 75 921600 6 Linux, Mac, WinCE4.2-7, Win2000, XP, Vista, 8 [22] With RS232 transceiver; 4x GPIO; Custom baud rates seem to require special driver from manufacturer
Prolific Fake (PL-2303) It seems that fakes of Prolific chips with limited reliability exist.1
SiLabs CP21xx 5,6,7,8 2 Mbps [23] Family of several devices
Texas Instruments TUSB3410 2.0 5,6,7,8 50 (I)/1200 2 Mbps 6 Linux?, Mac?; Win [24] Integrated 8052 microcontroller, I2C, IrDA up to 115200 baud, auto handshake, internal test & diagnostics, 4x GPIO; Linux and Mac drivers seem to require (free)
WCH IC CH340x, CH341x 2.0 8 50 2 Mbps 6 Win98-Win7; (Linux) [25] IrDA SIR, ...

Modem: Not all USB to serial converters support all lines used for modem status and hardware handshake. 6 means that RTS, CTS, DTR, DSR, DCD, and RI are present. 4 means that RTS, CTS, DTR, DSR are present, 2 means RTS, CTS only.

The list above tries to include all manufacturers of such converter chips. It does not include all variants because some manufacturers have over 100!

Common Serial to RS232 Line Driver/Receiver Chipset Manufacturers