Difference between revisions of "Serial port"
Line 6: | Line 6: | ||
= USB to Serial Converters = | = 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). | 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. | ||
Many original USB cables from 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 [http://en.wikipedia.org/wiki/MAX232 Maxim MAX232], is required to interface to a RS232 or other interface that uses different signal levels. | 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 [http://en.wikipedia.org/wiki/MAX232 Maxim MAX232], is required to interface to a RS232 or other interface that uses different signal levels. | ||
Line 23: | Line 22: | ||
! Baud min. | ! Baud min. | ||
! max. | ! max. | ||
! Modem | |||
! Drivers | ! Drivers | ||
! Homepage | ! Homepage | ||
Line 34: | Line 34: | ||
| 5,6,7,8 | | 5,6,7,8 | ||
| yes; broken on Mac | | yes; broken on Mac | ||
| | |||
| | | | ||
| | | | ||
Line 54: | Line 55: | ||
| MCS7810 | | MCS7810 | ||
| 2.0 | | 2.0 | ||
| | |||
| | | | ||
| | | | ||
Line 65: | Line 67: | ||
| MCS7720 | | MCS7720 | ||
| 1.1 | | 1.1 | ||
| | |||
| | | | ||
| | | | ||
Line 76: | Line 79: | ||
| MCS7717 | | MCS7717 | ||
| 1.1 | | 1.1 | ||
| | |||
| | | | ||
| | | | ||
Line 87: | Line 91: | ||
| MCS7715 | | MCS7715 | ||
| 1.1 | | 1.1 | ||
| | |||
| | | | ||
| | | | ||
Line 97: | Line 102: | ||
| MCS7710 | | MCS7710 | ||
| 1.1 | | 1.1 | ||
| | |||
| | | | ||
| | | | ||
Line 109: | Line 115: | ||
| MCS7703 | | MCS7703 | ||
| 1.1 | | 1.1 | ||
| | |||
| | | | ||
| | | | ||
Line 125: | Line 132: | ||
| style="text-align:center" | — | | style="text-align:center" | — | ||
| 300 | | 300 | ||
| | | 230400 | ||
| | |||
| Win | | Win | ||
| [http://www.cypress.com/?rID=63304] | | [http://www.cypress.com/?rID=63304] | ||
| HW Handshake supported | | HW Handshake supported only up to 1150200 baud. | ||
|- | |- | ||
Line 135: | Line 143: | ||
| 7,8 | | 7,8 | ||
| style="text-align:center" rowspan="3" | —? | | style="text-align:center" rowspan="3" | —? | ||
| rowspan="3" | | | rowspan="3" |300 | ||
| rowspan="3" | | | rowspan="3" |3 Mbaud | ||
| rowspan="3" | | | rowspan="3" | | ||
| rowspan="3" |Android, Linux, Mac, WinCE, Win XP-8 | |||
| [http://www.cypress.com/?rID=82869] | | [http://www.cypress.com/?rID=82869] | ||
| 1x I<sub>2</sub>C, 1x SPI, 10x GPIO | | 1x I<sub>2</sub>C, 1x SPI, 10x GPIO | ||
Line 160: | Line 169: | ||
| | | | ||
| 7,8 | | 7,8 | ||
| | |||
| | | | ||
| | | | ||
Line 168: | Line 178: | ||
|- | |- | ||
| Prolific | | rowspan="2" | Prolific | ||
| PL- | | PL-2303x | ||
| | | | ||
| 5,6,7,8 | |||
| | | | ||
| 300 | |||
| 115200 | |||
| 6 | |||
| Linux, Mac, WinCE5, WinXP, WinVista-8.1 | |||
| [http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=41&showlevel=0017-0037-0041] | | [http://www.prolific.com.tw/US/ShowProduct.aspx?pcid=41&showlevel=0017-0037-0041] | ||
| There has been critique concerning the quality of the driver (for which OSses?). | |||
|- | |||
| PL-2303RA | |||
| | | | ||
| 5,6,7,8 | |||
| style="text-align:center" | ● (driver!) | |||
| 75 | |||
| 921600 | |||
| 6 | |||
| Linux, Mac, WinCE4.2-7, Win2000, XP, Vista, 8 | |||
| [http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=107&pcid=41] | |||
| With RS232 transceiver; 4x GPIO; Special baud rates seem to require special driver from manufacturer | |||
|- | |- | ||
Line 188: | Line 211: | ||
| | | | ||
| | | | ||
| | |||
| | | | ||
| It seems that fakes of Prolific chips with limited reliability exist.[http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=155&pcid=41 1] | | It seems that fakes of Prolific chips with limited reliability exist.[http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=155&pcid=41 1] | ||
Line 199: | Line 223: | ||
| | | | ||
| 2 Mbps | | 2 Mbps | ||
| | |||
| | | | ||
| [http://www.silabs.com/products/interface/usbtouart/Pages/usb-to-uart-bridge.aspx] | | [http://www.silabs.com/products/interface/usbtouart/Pages/usb-to-uart-bridge.aspx] | ||
Line 204: | Line 229: | ||
|} | |} | ||
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. | |||
== Common Serial to RS232 Line Driver/Receiver Chipset Manufacturers == | == Common Serial to RS232 Line Driver/Receiver Chipset Manufacturers == | ||
* [http://para.maximintegrated.com/results.mvp?fam=rs232 Maxim] | * [http://para.maximintegrated.com/results.mvp?fam=rs232 Maxim] | ||
* [http://www.zywyn.com/ ZyWyn] | * [http://www.zywyn.com/ ZyWyn] |
Revision as of 21:40, 1 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.
Common USB to Serial converter chipsets
Manufacturer | Type | USB | Data Bits | Non-Std 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 | Win | [9] | HW Handshake supported only up to 1150200 baud. | |
CY7C65211 | 2.0 | 7,8 | —? | 300 | 3 Mbaud | 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] | |||||||
Prolific | PL-2303x | 5,6,7,8 | 300 | 115200 | 6 | Linux, Mac, WinCE5, WinXP, WinVista-8.1 | [14] | There has been critique concerning the quality of the driver (for which OSses?). | ||
PL-2303RA | 5,6,7,8 | ● (driver!) | 75 | 921600 | 6 | Linux, Mac, WinCE4.2-7, Win2000, XP, Vista, 8 | [15] | With RS232 transceiver; 4x GPIO; Special baud rates seem to require special driver from manufacturer | ||
Prolific Fake | (PL-2302) | It seems that fakes of Prolific chips with limited reliability exist.1 | ||||||||
SiLabs | CP21xx | 5,6,7,8 | 2 Mbps | [16] | Family of several devices |
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.