Application Note AN_243. FT312D USB Host to UART Cable Application



Similar documents
Application Note AN_241. FTDI_AOA_HyperTerm_User_Manual

Application Note AN_385. FTDI D3XX Driver Installation Guide

Technical Note TN_152. USB 3.0 Compatibility Issues Explained

Application Note AN_149. Upgrading a passive DB9 RS232 Interface to an active USB Interface using an FTDI DB9-USB-RS232 Module

Application Note AN_242

White Paper WP_001. Connecting Peripherals to an Android Platform

Future Technology Devices International Ltd. FTDI Drivers Installation guide for. Windows 7

Technical Note. TN_134 FTDI Android D2XX Driver

Application Note. AN_136_Hi-Speed Mini Module EEPROM Disaster Recovery

Future Technology Devices International Ltd

Determining USB Peripheral Device Class

Future Technology Devices International Ltd. Application Note AN_234. FTDI Drivers Installation guide for. Windows 8

Application Note AN_209. AN_209 PDIUSBD12 to FT120 Migration Guide

UMFT4222PROG FT4222 Programmer Module

Technical Note TN_158. What is the Camera Parallel Interface?

Application Note AN_101. Submitting Modified FTDI Drivers for Windows Hardware Certification

Technical Note TN_146. Creating Android Images for Application Development

Future Technology Devices International Ltd. USB NMC-2.5m. USB to USB Null Modem Cable. Datasheet

Future Technology Devices International Ltd

Application Note AN_299. FT800_FT801_Internal_Clock _Trimming

Application Note AN_276. FT800 Audio File Conversion

Technical Note. TN_147 Java D2xx for Android

FT2232H Mini Module. USB Hi-Speed FT2232H Evaluation Module. Datasheet

FT4232H Mini Module. USB Hi-Speed FT4232H Evaluation Module. Datasheet

Future Technology Devices International Ltd. FTDI Drivers Installation guide for Windows XP

Future Technology Devices International Ltd. USB-Key. Datasheet

TTL-232R-PCB. TTL to USB Serial Converter PCB. Datasheet

TTL-232R. TTL to USB Serial Converter Range of Cables. Datasheet

Technical Note. TN_132 Adding FTDI Devices VCP Driver Support to Android

Command Processor for MPSSE and MCU Host Bus Emulation Modes

C232HD. USB 2.0 Hi-Speed to UART Cable. Datasheet

Application Note AN_185. Vinculum-II UART to USB HID Class Host Bridge

FTDI Chip. VM800P Datasheet Embedded Video Engine Plus Module. VM800P Embedded Video Engine Plus Module Datasheet Version 1.0

USB Hi-Speed Serial/Hub Module. Datasheet

Future Technology Devices International Ltd. USB to RS232 UART Serial Converter PCB. Datasheet

Application Note AN_208. FT311D and FT312D Demo_APK_User_GuideFT311D and FT312D Demo_APK_User_Guide

Future Technology Devices International Ltd USB TO RS422 UART SERIAL CONVERTER PCB. Datasheet. Document Reference No.: FT_000119

Future Technology Devices International Ltd. AN232R-02 FTDIChip-ID for the FT232R and FT245R

VF2F. USB Flash Disk File-to-file Transfer Vinculum Evaluation Kit. Future Technology Devices International Ltd. Preliminary - Subject to Change

Simplified Description of USB Device Enumeration

VDIP1. Vinculum VNC1L Module. Datasheet

C232HM. USB 2.0 Hi-Speed to MPSSE Cable. Datasheet

Vinco Development Module. Datasheet

Future Technology Devices International Ltd. FTDI Drivers Installation guide for Windows XP

Future Technology Devices International Ltd

Application Note AN_250. Configuring FT313H Driver for Embedded Linux

The DB9-USB Family of. UART Converter Modules. Datasheet

Application Note AN_254. FT800 Designs With Visual TFT

Future Technology Devices International Ltd. FTDI Drivers Installation guide for. Windows VISTA

Future Technology Devices International Ltd. Technical Note TN_101

TTL-232R-3V3 USB to TTL Serial Converter Cable

DB9-USB-RS232 Module. Male & Female. Datasheet

Future Technology Devices International Ltd. Windows XP Installation Guide

USB-COM422-PLUS1. Datasheet

Future Technology Devices International Ltd. VF2F2. USB Flash Disk File-to-file Transfer Vinculum Evaluation Kit.

USB-COM422-PLUS2. Datasheet

Future Technology Devices International Ltd. USB to RS232 Serial Converter Range of Cables. Datasheet

USB-COM232-PLUS4. Datasheet

Application Note AN_146. USB Hardware Design Guidelines for FTDI ICs

FTDI Ltd DS_US232R-10(R-100/500) USB to RS232 Adapter cable. Data Sheet

TTL-232R. TTL to USB Serial Converter Range of Cables. Datasheet

Technical Note TN_105

Application Note AN_252. FT800 Audio Primer

Application Note AN_100. Using the FT232R/FT245R with an External Crystal or Oscillator

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

Future Technology Devices International Ltd. FT311D

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

Using Xbee in Serial Communication

PL2303 USB-to-Serial Controller Android USB Host Solution (How to Connect PL2303 Device to Android Tablets & Phones)

SB-2000 USB Radio Interface Operating Manual CG Antenna Co. Ltd.

ELAN DIGITAL SYSTEMS LTD. SL232 PC- CARD USER S GUIDE

ICs. Modules. Cables. FTDI Chip USB Solutions BRIDGING TECHNOLOGIES.

PL-2303 (Chip Rev H, HX, X) USB to Serial Adapter Windows Driver Installer Manual

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

Wifi Web Server Module w TF Socket User s Guide

1 Port FTDI USB to RS232 Null Modem Adapter

USB / Data-Acquisition Module NOW LEAD-FREE

2/4/8 Port USB to Serial Adapter Hub with COM Retention

UC232R ChiPi Minimum Component FT232RL USB to RS232 Converter Cable

Manual Serial PCI Cards

USB TO SERIAL ADAPTER

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

Advanced Data Capture and Control Systems

Future Technology Devices International Ltd. UM245R USB - Parallel FIFO. Development Module. Datasheet

M72. Quectel Cellular Engine. EVB User Guide M72_EVB_UGD_V1.0

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

1-Port R422/485 Serial PCIe Card

Application Note AN_113. Interfacing FT2232H Hi-Speed Devices To I2C Bus

Connector and Cable Specifications

RS-232 to TTL Converter Cables SuperDroid Robots

XPort Universal Demo Board User Guide

Using a Laptop Computer with a USB or Serial Port Adapter to Communicate With the Eagle System

DSO138 oscilloscope program upgrade method

Cable Specifications and Information

Transcription:

Future Technology Devices International Ltd Application Note AN_243 FT312D USB Host to UART Cable Application Document Reference No. FT_000839 Issue Date: 2013-05-21 This application note illustrates how to develop a USB host to UART/RS232 cable for Android Open Accessory. The FT312D USB to serial UART converter chip will be used on this Android application. Future Technology Devices International Limited (FTDI) Unit 1,2 Seaward Place, Glasgow G41 1HH, United Kingdom Tel.: +44 (0) 141 429 2777 Fax: + 44 (0) 141 429 2758 E-Mail (Support): support1@ftdichip.com Web: http://www.ftdichip.com

Table of Contents 1 Introduction... 2 1.1 Block Diagram... 2 1.2 FT312D Feature... 2 2 Application Examples... 4 2.1 USB to RS232... 4 2.2 USB to RS485... 4 2.3 USB to RS422... 5 3 Reference Schematic... 6 4 Manufacture Tool and Software Development... 7 5 Acronyms and Abbreviations... 8 6 Contact Information... 9 Appendix A - List of Figures and Tables... 10 Appendix B - Revision History... 11 1

1 Introduction The FT312D is a dedicated USB Full Speed host bridge chip that has been designed specifically to support Android Open Accessory protocol. The FT312D connects to a USB device on the Android platform, establishes the USB connection, enumerates Open Accessories, and then provides a bridge from the USB host port to a UART interface. All necessary USB and Android Open Accessory protocol is incorporated in the FT312D, so that designers can quickly and easily establish a USB connectivity link and have a basic UART (RXD, TXD, RTS, CTS signals) interface for their end systems. Android Open Accessory Protocol is supported in Android Honeycomb (3.1) and later versions, with the benefit that data can be transmitted and received without additional driver support. This document gives a brief introduction to the features and applications of the FT312D (USB Android Host chip), and demonstrates the USB to UART bridge function. A cable application is used as the specific example. 1.1 Block Diagram Android Devices (Tablet, Phone) USB Device Port Micro USB B Plug and Tethered Cable FT31xD USB Host to Android RS232/485/422 Cable FT31xD USB Host to Basic UART controller RS232/485/422 Converter DB9 Connector RS232/485/422 Application s female DB9 connector/gender Changer/DB9 Cable USB Data TTL Level UART Data RS232/485/422 Level UART Data Power Source 5V/600mA 1.2 FT312D Feature Figure 1 USB Host to Android RS232/485/422 Cable Suitable for use on any Android platform supporting Android Open Accessory Mode (Typically 3.1 onwards, however some platforms may port Open Accessory Mode to version 2.3.4) Basic UART interface with RXD, TXD, RTS, CTS pins option. Provide general HyperTerm UART utility; easily adaptable to a console function. Support CTS/RTS Flow control Support Baud from 300 to 921600 with CTS/RTS flow control Support Baud from 300 to 115200 without flow control Save file and Send file functions FT312D large UART RX buffer size of 5512 bytes for enhanced UART performance. (FT311D RX buffer is 512Byte) USB Plug and Play Provide power source to the Android device via the Y-cable configuration. USB 2.0 Full Speed compatible. USB error and over current indicator. 2

Suitable for TTL, RS232, RS422, or RS485 depending on the transceiver used in conjunction with the FT312D. FT312D data sheet may be downloaded from: http://www.ftdichip.com/support/documents/datasheets/ics/ds_ft312d.pdf 3

2 Application Examples The following sections illustrate possible applications of the FT312D. 2.1 USB to RS232 Figure 2 Application Example Showing USB to RS232 2.2 USB to RS485 Figure 3 Application Example Showing USB to RS485 4

2.3 USB to RS422 Figure 4 Application Example Showing USB to RS422 5

3 Reference Schematic Figure 5 FT312D USB to RS232 Reference schematic 6

4 Manufacture Tool and Software Development Document Reference No.: FT_000839 The manufacture configuration utility may be downloaded from: http://www.ftdichip.com/support/utilities/ft312d_configuration_v010000.zip And the user guide, AN_236 User Guide for FT312D Configuration, is available for download at: http://www.ftdichip.com/support/documents/appnotes/an_236_userguide_for_ft312d_confi guration_utility.pdf FTDI provide the Android Open Accessory Hyperterm utility via Google Play. Reference software is provided free of charge, as-is, with no warranties or guarantees. https://play.google.com/store/search?q=pub:future Technology Devices International Ltd A complete user manual is available for download at: http://www.ftdichip.com/support/documents/appnotes/an_241_ftdi_aoa_hyperterm_user _Manual.pdf Critical: Note that the reference software and production version of the FT312D were developed so that the Android device strings correlate. If customers are interested in providing their own Hyper Terminal application software with addition feature and benefits, then it is critical that these strings correlate for proper functionality. Further reference material is provided below if designers choose this type of development. A complete programmer guide, following the Standard Google Android Open Accessory Protocol is available for download at: http://www.ftdichip.com/support/documents/programguides/ft31xd_android_programmer_g uide(ft_000532).pdf FTDI also provide sample code for an Android Open Accessory application that may be downloaded from: http://www.ftdichip.com/support/softwareexamples/android/android.zip http://www.ftdichip.com/support/documents/appnotes/an_208_ft31xd_demo_apk_user_g uide.pdf Additional reference material may also be found at the links below. Google Android Open Accessory ADK: http://developer.android.com/tools/adk/index.html FTDI Chip s Android Support Page: http://www.ftdichip.com/android.htm 7

5 Acronyms and Abbreviations Document Reference No.: FT_000839 Terms ADK Android AOA HyperTerm UART USB Description Accessory Development Kit Linux-based operating system designed primarily for touch screen mobile devices Android Open Accessory COM Port Communication Tool Universal Asynchronous Receiver/Transmitter Universal Serial bus Table 1 Acronyms and Abbreviations 8

6 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) E-mail (Support) E-mail (General Enquiries) sales1@ftdichip.com support1@ftdichip.com admin1@ftdichip.com Branch Office Tigard, Oregon, USA Future Technology Devices International Limited (USA) 7130 SW Fir Loop Tigard, OR 97223-8160 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) E-Mail (Support) E-Mail (General Enquiries) us.sales@ftdichip.com us.support@ftdichip.com us.admin@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 8797 1330 Fax: +886 (0) 2 8751 9737 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) tw.sales1@ftdichip.com tw.support1@ftdichip.com tw.admin1@ftdichip.com Branch Office Shanghai, China Future Technology Devices International Limited (China) Room 1103, No. 666 West Huaihai Road, Shanghai, 200052 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) cn.sales@ftdichip.com cn.support@ftdichip.com cn.admin@ftdichip.com Web Site http://ftdichip.com 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 user s 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 9

Appendix A - List of Figures and Tables List of Figures Document Reference No.: FT_000839 Figure 1 USB Host to Android RS232/485/422 Cable... 2 Figure 2 Application Example Showing USB to RS232... 4 Figure 3 Application Example Showing USB to RS485... 4 Figure 4 Application Example Showing USB to RS422... 5 Figure 5 FT312D USB to RS232 Reference schematic... 6 List of Tables Table 1 Acronyms and Abbreviations... 8 10

Appendix B - Revision History Revision History Initial Release 21 st May, 2013 11