The DB9-USB Family of UART Converter Modules: Datasheet
The DB9-USB Family of UART Converter Modules: Datasheet
The DB9-USB Family of UART Converter Modules: Datasheet
Future Technology Devices International Ltd (FTDI) Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow, G41 1HH, United Kingdom Tel.: +44 (0) 141 429 2777 Fax: + 44 (0) 141 429 2758
Use of FTDI devices in life support and/or safety applications is entirely at the users risk, and the user agrees to defend, indemnify and hold harmless FTDI from any and all damages, claims, suits or expense resulting from such use.
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Introduction
The FTDI DB9-USB-RS232 modules are available in two types DB9-USB-RS232-M and DB9-USB-RS232-F. A DB9-USB-RS232-M can be used to replace a male DB9 connector that is wired in a PC compatible RS232 manner. This module operates at RS232 signal levels. A DB9-USB-RS232-F can be used to replace a female DB9 connector that is wired in a PC compatible RS232 manner. This module operates at RS232 signal levels.
The FTDI DB9-USB-D3 modules are available in two types DB9-USB-D3-M and DB9-USB-D3-F. A DB9-USB-D3-M can be used to replace a male DB9 connector that is wired in a PC compatible RS232 manner. This module operates at 3.3V signal levels. A DB9-USB-D3-F can be used to replace a female DB9 connector that is wired in a PC compatible RS232 manner. This module operates at 3.3V signal levels.
The FTDI DB9-USB-D5 modules are available in two types DB9-USB-D5-M and DB9-USB-D5-F. A DB9-USB-D5-M can be used to replace a male DB9 connector that is wired in a PC compatible RS232 manner. This module operates at 5.0V signal levels. A DB9-USB-D5-F can be used to replace a female DB9 connector that is wired in a PC compatible RS232 manner. This module operates at 5.0V signal levels.
The purposes of these modules is to provide a simple method of adapting legacy serial devices with UART interfaces to modern USB ports by replacing the DB9 connector with this miniaturised module which closely resembles a DB9 connector. This is accomplished by incorporating the industry standard FTDI FT232R USB-Serial Bridge IC. The RS232 level DB9-USB modules include an RS232 level transceiver.
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
DB9-USB modules use a standard USB-MINI-B connector for connection to an upstream host or hub port.
RS232 Level: RS232 level signals, includes modem handshake signals, and capable of transmitting data at rates up to 1 Mega Baud. Digital Level: 3.3V or 5V level signals, includes modem handshake signals, and capable of transmitting data at rates up to 3 Mega Baud.
DB9-USB modules require USB device drivers, available free from www.ftdichip.com, which are used to make DB9-USB modules appear as a Virtual COM Port (VCP). This allows existing serial communications software, such as HyperTerminal, to exchange data through the DB9-USB to a legacy UART peripheral device.
1.3 Background
In the long distant past, there was no standard defined for the connections on a DB9 connector when it was used as an RS232 interface. That changed when IBM introduced the PC-AT. This introduced a generally accepted DB9 RS232 standard and PC peripherals adopted the same pin-out using a 1-to-1 cable connection between the PC and the peripheral. DB9-USB modules have adopted this standard. The DB9 connector wire schemes used by this module either the standard male or standard female wire configuration.
Note that NOT ALL peripheral adopted this standard so it is important for the user to check against the pin-out used for the male and female DB9-USB connectors.
Note: DB9 connectors are also known as DE9 connector since it consists of 9 pins in a size E shell. However DE9 connectors are more commonly referred to as DB9 connector.
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
FTDI FT232R The FTDI FT232R provides the USB-to-Serial conversion. Operating system device drivers are required in order to operate with the FT232R to provide the Virtual COM Port serial functionality.
RS232 Level Shifter The RS232 level shifter converts the signals provided by the FT232R into the voltage levels required by application RS232 interface.
DB9-USB PCB Footprint The DB9-USB pin-out is configured to match the industry standard DB9 footprint. See section 3.
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
1.5 Features
Adds one USB serial port by connecting to the RS232 DB9 footprint of a device Easy placement for an standard Male and Female RS232 DB9 footprint of a device A selection of RS232, 3.3V or 5V UART signal levels. Works with USB 1.1 & 2.0 Host and Hub ports Industry Standard FTDI chip set & device drivers for maximum compatibility Microsoft Windows WHQL-certified, Mac OS X, Linux and Windows CE device drivers Installs as a standard Windows COM port 128 byte transmit buffer, 256 byte receive buffer UART data signals: TxD, RxD, RTS, CTS, DSR, DTR, DCD, RI, GND Powered by USB port. No external power adapter required. Serial port speed up to 1Mbps (RS232 levels) or 3Mbps (3.3V/5V levels) Serial Communication Parameters o o o Parity: None, Even, Odd Data bits: 7, 8 Flow control: RTS/CTS , DSR/DTR, X-ON/X-OFF, None
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Parameter
USB Interface RS232 Interface 12Mbps USB 2.0 Full-Speed
Performance
Standard Windows baud rates (300bps to 921.6Kbps) Custom baud rates (300bps to 1Mbps) through baud rate aliasing. See FTDI Application Note: Configuring FT232R, FT2232 and FT232BM Baud Rates
UART
Standard Windows baud rates (300bps to 921.6Kbps) Custom baud rates (300bps to 3Mbps) through baud rate aliasing.
Table 1.1 Performance Specifications
Product Name
DB9-USB-RS232-M DB9-USB-RS232-F DB9-USB-D3-M DB9-USB-D3-F DB9-USB-D5-M DB9-USB-D5-F
Part Number
DB9-USB-M DB9-USB-F DB9-USB-D3-M DB9-USB-D3-F DB9-USB-D5-M DB9-USB-D5-F
Description
Full Speed USB to 1-Port RS232 level UART module that can replace an RS232 Level UART DB9 male connector Full Speed USB to 1-Port RS232 level UART module that can replace an RS232 level UART DB9 female connector Full Speed USB to 1-Port 3.3V level UART module that can replace 3.3V level UART DB9 male connector Full Speed USB to 1-Port 3.3V level UART module that can replace 3.3V level UART DB9 female connector Full Speed USB to 1-Port 5V level UART module that can replace 5V UART DB9 male connector
Full Speed USB to 1-Port 5V level UART module that can replace 5V UART DB9 female connector Table 1.2 Ordering Information
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
1.4.1
2 3
Installation ................................................................................... 12
4.1 Device Driver Installation ........................................................................... 12 Microsoft Windows Installation .................................................................. 12 Mac OS X, Linux, Windows CE ................................................................... 16 4.1.1 4.1.2
6 7
Troubleshooting ........................................................................... 22
Appendix A References....................................................................................... 25 Appendix B Revision History .............................................................................. 25
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
USB Connections
DB9-USB modules are downstream USB 2.0 Devices. A USB mini B receptacle is mounted inside the modules to facilitate connection to an upstream USB Host or Hub.
Pin Number
1 2 3 4 5 Shield
Pin Type
Power Bidirectional Bidirectional ID Ground Case Ground
Description
VBUS USB Power provided from upstream USB Host or Hub D = USB data signal, negative polarity D+ = USB data signal, positive polarity Not Connected GND = USB signal ground Drain = typically connected to the host PC case
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
UART Connections
The PC compatible accepted electrical connections for male and female UART DB9 connectors are illustrated in Figure 3.1 where the structure on the left is the top view of a male UART DB9 connector and the structure on the right is the top view of a female UART DB9 connector. Assuming a design follows these connection conventions, then an FTDI male or female DB9-USB connector can be used to replace this UART DB9 connector to turn this port into an active USB interface.
GND RI
5 GND 4 DTR 3 TXD 2 RXD 1 DCD 9 RI 8 CTS 7 RTS 6 DSR MALE FEMALE 9 RI 8 CTS 7 TXD RTS 6 DSR DCD RXD DTR GND
5 4 3 2 1
UART Transceiver
UART Transceiver
DTE
PCB
PCB
DCE
Figure 3.1 Male and Female DB9-USB internal connections (top view looking through the module)
Examples and signal directions are shown in Figure 3.2 and Figure 3.3
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
DB9 Pin1 DB9 Pin6 DB9 Pin2 DB9 Pin7 DB9 Pin3 DB9 Pin8 DB9 Pin4 DB9 Pin9 DB9 Pin5
DB9 Pin5 DB9 Pin9 DB9 Pin4 DB9 Pin8 DB9 Pin3 DB9 Pin7 DB9 Pin2 DB9 Pin6 DB9 Pin1
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Pin Number
1 2
Description
DCD = Data Carrier Detect RXD = Receive Data (this is an output from the DB9-USB-X-M to the application Rx input) TXD = Transmit Data
Input
Output
(this is an input to the DB9-USB-X-M from the application Tx output) DTR = Data Terminal Ready
Input
Output
(this is an input to the DB9-USB-X-M from the application DTR output) GND = RS232 signal ground DSR = Data Set Ready
Ground
Ground
Output
Input
(this is an output from the DB9-USB-X-M to the application DSR input) RTS = Request To Send
Input
Output
(this is an input to the DB9-USB-X-M from the application RTS output) CTS = Clear To Send
Output
Input
(this is an output from the DB9-USB-X-M to the application CTS input) RI = Ring Indicator
9 Shield
Input1 Ground
Drain = typically connected to the host PC case Table 2.1 Male DB9 UART Signal Description
10
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Pin Number
Description
DCD = Data Carrier Detect
Output
Input
Output
(this is an input to the DB9-USB-X-F from the application DCD output) RXD = Receive Data (this is an input to the DB9-USB-X-F from the application Tx output, normally labelled RXD in DCE convention) TXD = Transmit Data
Output
Input
(this is an output to the DB9-USB-X-F from the application Rx input, normally labelled TXD in DCE convention) DTR = Data Terminal Ready
Output
Input
(this is an output to the DB9-USB-X-F from the application DSR input, normally labelled DTR in DCE convention) GND = RS232 signal ground DSR = Data Set Ready
Ground
Ground
Input
Output
(this is an input to the DB9-USB-X-F from the application DTR output, normally labelled DSR in DCE convention) RTS = Request To Send
Output
Input
(this is an output to the DB9-USB-X-F from the application CTS input, normally labelled RTS in DCE convention) CTS = Clear To Send
Input
Output
(this is an input to the DB9-USB-X-F from the application RTS output, normally labelled CTS in DCE convention) RI = Ring Indicator
9 Shield
Input Ground
Output
Case Ground Drain = typically connected to the host PC case Table 2.2 Female DB9 UART Signal Description
11
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Installation
Windows Update shown on Windows XP You must have an active Internet connection and the Windows Update Service enabled. 1) Connect the DB9-USB module to your USB Host or Hub. 2) The Found New Hardware Wizard will appear. The first dialog should ask whether it is acceptable to use the Windows Update Service to find the device driver.
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
5) Wait while the driver is found, downloaded, and installed. This step may take a couple minutes depending on the Internet speed. 6) After the files are found and installed, click Finish to complete the installation.
7) Steps 2 through 6 will repeat. The first time installs the basic USB Serial Converter in the USB device tree. The second time installs the Virtual COM Port layer in the Ports tree and assigns the COM port number. 8) When both portions of the device driver have been installed successfully, the following message will appear, indicating that the device is ready.
13
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
COM Port Assignment Next, to determine which COM port has been assigned, open the Windows Device Manager from the System Control Panel.
Click on the Plus + sign next to the Ports tree to list the available COM port. You will see USB Serial Port, followed by a COM assignment. In the figure below, the DB9-USB-RS232 module is assigned to COM3.
Use this COM port number with your application software in order to access the DB9-USB module. If an application requires use of a different COM port number, the assignment may be changed through the Advanced Driver Options settings. From the Device Manager listing above, right-click on the USB Serial Port and select Properties.
14
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
15
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
This will display the various advanced settings. Note the COM port assignment in the upper left. Clicking on the drop-down list will display the available port numbers. Select one that is not in use and click OK on each dialog box to activate the selection. Windows will remember this COM port number.
16
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Electrical details
5.1 USB
Parameter Description Minimum Typical Maximum Units Conditions *Present when USB USB_VCC Input Power Voltage* 4.25 5.0* 5.25 V cable is attached and USB Host or Hub powered. Icc USB current 30 50 mA
5.2 RS232
Parameter Vtrans Description Transmitter output voltage swing Receiver input voltage range ESD HBM Minimum 5 Typical Maximum Units V Conditions RL = 3K
Vrec
2.4
25
KV
**
Vhys
20
25
30
mV
**
**
Vhys
20
25
30
mV
**
17
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Mechanical Details
18
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
7.1 Storage
Parameter T Description Storage Temperature Range Minimum -65 Typical Maximum +85 Units
o
Conditions
7.2 Operating
Parameter T Description Operating Temperature Range Minimum 40 Typical Maximum +85 Units
o
19
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
NOTE: This is a Class B product. In a domestic environment, this product may cause radio interference, in which case the user may be required to take adequate measures.
NOTE: This equipment is currently undergoing testing to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help.
8.2 Safety
The DB9-USB modules are defined as Limited Power Supply (LPS) device, with operating voltages under 60VDC.
8.3 Environmental
The DB9-USB modules are lead-free devices that comply with the following environmental directives: RoHS, WEEE, REACH, PFOS and DecaBDE.
8.4 Reliability
The DB9-USB modules are designed to be a robust USB-Serial module for use in many environments. There are no user-serviceable parts. Any failure will require a replacement of the unit.
20
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
USB to Connector Adapter, Single Port EAR99 No License Required Table 8.1 Import / Export Information
21
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Troubleshooting
Ensure the latest device driver is in use. See www.ftdichip.com If USB devices other than FTDI chips are installed in the system, then check with all manufacturers of these devices for the latest device drivers. Section 4 details driver installation. If the user continues to have driver installation issues, then please refer to the FTDI installation guides http://ftdichip.com/Documents/InstallGuides.htm for additional details. Common Windows Device Driver Troubles: DEVICE TIMES OUT: The default settings of the device driver assume typical data transfers of hundreds to thousands or more bytes at a given time. Some applications, such as a GPS device, only send data in short packets, often only a few bytes. If this is the case, it may be necessary to adjust the driver buffer size and/or latency timer to smaller values. These values can be adjusted through the Advanced driver options. The buffer size can be reduced to 64 bytes. The latency timer can be set as low as 2ms. A setting of 1ms will cause unnecessary USB traffic and could adversely affect data transmission. Advanced driver options are described in http://www.ftdichip.com/Documents/AppNotes/AN_107_AdvancedDriverOptions_AN_000073.pdf
ERRATIC MOUSE POINTER: The device driver defaults to query an attached device to find out whether it is a mouse or modem, consistent with native COM port operation. Some RS232 peripherals constantly send short packets of data, causing the host system to think a mouse or modem has been attached. These short packets will interfere with normal mouse operation causing the pointer to jump around the screen. If this happens, disconnect the RS232 device and uncheck the Serial Enumerator option, also found on the Advanced driver options.
COM PORT IN USE: Windows keeps track of all COM port assignments. If multiple FTDIChip products have been connected to a single system, the COM port number will increase, even if the other devices are not attached. If the higher COM port assignments are not acceptable for the application, known unused COM port numbers should be uninstalled according to the FTDI installation guide: http://ftdichip.com/Documents/InstallGuides.htm.
22
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
10 Contact Information
Head Office Glasgow, UK Future Technology Devices International Limited Unit 1, 2 Seaward Place Centurion Business Park Glasgow, G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 E-mail (Sales) [email protected] E-mail (Support) [email protected] E-mail (General Enquiries) [email protected] Web Site URL http://www.ftdichip.com Web Shop URL http://www.ftdichip.com Branch Office Shanghai, China Future Technology Devices International Limited (China) Room 408, 317 Xianxia Road, ChangNing District, ShangHai, China Tel: +86 (21) 62351596 Fax: +86(21) 62351595 E-Mail (Sales): [email protected] E-Mail (Support): [email protected] E-Mail (General Enquiries): [email protected] Web Site URL: http://www.ftdichip.com Branch Office Taipei, Taiwan Future Technology Devices International Limited (Taiwan) 2F, No 516, Sec. 1 NeiHu Road Taipei 114 Taiwan, R.O.C. Tel: +886 (0) 2 8791 3570 Fax: +886 (0) 2 8791 3576 E-mail (Sales) [email protected] E-mail (Support) [email protected] E-mail (General Enquiries) [email protected] Web Site URL http://www.ftdichip.com Branch Office Hillsboro, Oregon, USA Future Technology Devices International Limited (USA) 7235 NW Evergreen Parkway, Suite 600 Hillsboro, OR 97123-5803 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) [email protected] E-Mail (Support) [email protected] E-mail (General Enquiries) [email protected]
23
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Distributor and Sales Representatives Please visit the Sales Network page of the FTDI Web site for the contact details of our distributor(s) and sales representative(s) in your country.
System and equipment manufacturers and designers are responsible to ensure that their systems, and any Future Technology Devices International Ltd (FTDI) devices incorporated in their systems, meet all applicable safety, regulatory and system-level performance requirements. All application-related information in this document (including application descriptions, suggested FTDI devices and other materials) is provided for reference only. While FTDI has taken care to assure it is accurate, this information is subject to customer confirmation, and FTDI disclaims all liability for system designs and for any applications assistance provided by FTDI. Use of FTDI devices in life support and/or safety applications is entirely at the users risk, and the user agrees to defend, indemnify and hold harmless FTDI from any and all damages, claims, suits or expense resulting from such use. This document is subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Neither the whole nor any part of the information contained in, or the product described in this document, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH, United Kingdom. Scotland Registered Company Number: SC136640.
24
Document Reference No.: FT_000204 DB9-USB Datasheet Version 2.0 Clearance No.: FTDI# 130
Appendix A References
AN_149_Upgrading a DB9 RS232 Interface to USB using an FTDI DB9-USB-RS232 Module
25