首页 DS_FT311D

DS_FT311D

举报
开通vip

DS_FT311D Copyright © 2012 Future Technology Devices International Limited 1 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 Future Technology Devices International Ltd. FT311D (USB Android Host IC)...

DS_FT311D
Copyright © 2012 Future Technology Devices International Limited 1 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 Future Technology Devices International Ltd. FT311D (USB Android Host IC) The FT311D is a Full Speed USB host specifically targeted at providing access to peripheral hardware from an Android platform with a USB device port. The device will bridge the USB port to six user selectable interface types and has the following advanced features:  Single chip USB to selectable interface.  Entire USB protocol handled on the chip. No USB specific firmware programming required.  Interface options selectable via 3 mode select pins.  7 GPIO lines interface option  Basic UART interface with RXD, TXD, RTS, CTS pins option.  TX_ACTIVE signal for controlling transceivers on RS485 interfaces.  4 PWM channels option.  I2C master interface option.  SPI Slave interface option supporting modes 0, 1, 2 and 3 with MSB/LSB options  SPI Master interface option supporting modes 0, 1, 2 and 3 with MSB/LSB options.  USB error indicator pin  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)  12MHz oscillator using external crystal.  Integrated power-on-reset circuit.  +3V3 Single Supply Operation with 5V tolerant inputs.  USB 2.0 Full Speed compatible.  Extended operating temperature range; -40⁰C to 85⁰C.  Available in compact Pb-free 32 Pin LQFP and QFN packages (both RoHS compliant). Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. Future Technology Devices International Ltd will not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH United Kingdom. Scotland Registered Company Number: SC136640 Copyright © 2012 Future Technology Devices International Limited 2 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 1 Typical Applications  Connecting Android phones to USB accessories  Connecting Android tablets to USB accessories  Controlling instrumentation from Android devices.  Home automation via Android devices  Data logging from USB accessories  Connecting serial printing devices to Android devices 1.1 Part Numbers Part Number Package FT311D-32Q1C-x 32 Pin QFN FT311D-32L1C-x 32 Pin LQFP Note: Packing codes for x is: - R: Taped and Reel, QFN 3,000pcs per reel, LQFP 1500 pcs per reel. - (no suffix): Tray packing, 260pcs per tray QFN, 250 pcs per tray LQFP For example: FT311D-32Q1C-R is 3,000pcs QFN taped and reel packing 1.2 USB Compliant At the time of writing this datasheet, the FT311D was still to complete USB compliancy testing. Copyright © 2012 Future Technology Devices International Limited 3 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 2 FT311D Block Diagram UART SPI Master PWMs SPI Slave GPIOS P e rip h e ra l B u s USB Host USBDP USBDM CNFG0 CNFG1 CNFG2 USB Transceiver I2C MASTER In p u t / O u tp u t M u ltip le xe r Figure 2.1 FT311D Block Diagram For a description of each function please refer to Section 4. Copyright © 2012 Future Technology Devices International Limited 4 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 Table of Contents 1 Typical Applications ...................................................................... 2 1.1 Part Numbers...................................................................................... 2 1.2 USB Compliant .................................................................................... 2 2 FT311D Block Diagram ................................................................. 3 3 Device Pin Out and Signal Description .......................................... 6 3.1 Package Symbol .................................................................................. 6 3.1.1 Package PinOut Description ........................................................................................... 6 3.2 Interface Selection ............................................................................. 8 3.2.1 Interface pinout ........................................................................................................... 8 4 Function Description................................................................... 10 4.1 Key Features ..................................................................................... 10 4.2 Functional Block Descriptions ........................................................... 10 4.2.1 Peripheral Interface Modules ....................................................................................... 10 4.2.2 USB Transceivers ....................................................................................................... 10 4.2.3 USB Host .................................................................................................................. 10 4.3 I/O Peripherals Signal Names .......................................................... 10 4.4 Default Mode Strings ........................................................................ 11 5 Peripheral Interfaces ................................................................. 12 5.1 General Purpose Input Output .......................................................... 12 5.2 UART Interface ................................................................................. 12 5.2.1 UART Mode Signal Descriptions ................................................................................... 13 5.3 Pulse Width Modulation .................................................................... 13 5.4 I2C .................................................................................................... 13 5.5 Serial Peripheral Interface – SPI Modes ........................................... 14 5.5.1 SPI Clock Phase Modes ............................................................................................... 14 5.5.2 Serial Peripheral Interface – Slave ............................................................................... 16 5.5.3 Serial Peripheral Interface – SPI Master ........................................................................ 16 6 USB Error Detection .................................................................... 19 7 Absolute Maximum Ratings ........................................................ 20 7.1 DC Characteristics............................................................................. 20 7.2 ESD and Latch-up Specifications ....................................................... 22 8 Application Examples ................................................................. 23 8.1 USB to GPIO Converter ..................................................................... 23 8.2 USB to UART Converter ..................................................................... 24 8.3 USB to PWM Converter ..................................................................... 25 8.4 USB to I2C (Master) Converter .......................................................... 26 Copyright © 2012 Future Technology Devices International Limited 5 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 8.5 USB to SPI (Slave) Converter ........................................................... 27 8.6 USB to SPI (Master) Converter ......................................................... 28 9 Package Parameters ................................................................... 29 9.1 FT311D Package Markings ............................................................... 29 9.1.1 QFN-32 .................................................................................................................... 29 9.1.2 LQFP-32 ................................................................................................................... 30 9.2 FT311D Package Dimensions ............................................................ 31 9.2.1 QFN-32 Package Dimensions ....................................................................................... 31 9.2.2 LQFP-32 Package Dimensions ...................................................................................... 32 9.3 Solder Reflow Profile ........................................................................ 33 10 Contact Information ................................................................... 35 Appendix A – References ........................................................................... 36 Useful utilities and examples firmware ...................................................... 36 Appendix B - List of Figures and Tables ..................................................... 37 Appendix C - Revision History .................................................................... 39 Copyright © 2012 Future Technology Devices International Limited 6 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 3 Device Pin Out and Signal Description 3.1 Package Symbol Figure 3.1 QFN Schematic Symbol Note the pinout is the same for the QFN and LQFP packages. 3.1.1 Package PinOut Description Note: # denotes an active low signal. Pin No. Name Type Description 2 3.3V VREGIN POWER Input 3V3 supply to IC internal 1V8 regulator 3 1.8V VCC PLL IN POWER Input 1V8 supply to IC core 13, 22, 28 VCCIO POWER Input 3V3 supply for the IO cells 7 VREGOUT POWER Output 1V8 output. May be used as input source for pin 3. 1,6,16,19,27 GND POWER Input 0V Ground input. Table 3.1 Power and Ground Copyright © 2012 Future Technology Devices International Limited 7 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 Pin No. Name Type Description 17 USBDP INPUT/OUTPUT USB Data Signal Plus. 18 USBDM INPUT/OUTPUT USB Data Signal Minus. 4 XTIN INPUT Input to 12MHz Oscillator Cell. Connect 12MHz crystal across pins 4 and 5. 5 XTOUT OUTPUT Output from 12MHz Oscillator Cell. Connect 12MHz crystal across pins 4 and 5. 8 TEST1 INPUT For internal use. Pull to GND 9 TEST2 INPUT For factory use. Pull to 3V3. 10 RESET# INPUT Reset input (active low). 20, 21 NC - No connect pins. Leave unterminated. 11 TEST0 OUTPUT Active low signal that may be used to control a switch for enabling power to the USB port pin 1 (VBUS). 12 CNFG0 INPUT Configuration pin 0 used to select between GPIO,UART,PWM,I2C and SPI. Pull to Ground = Logic „0‟(No external resistor needed) Leave Open = Logic „1‟ (Internal Pull up is present) 14 CNFG1 INPUT Configuration pin 1 used to select between GPIO,UART,PWM,I2C and SPI. Pull to Ground = Logic „0‟(No external resistor needed) Leave Open = Logic „1‟ (Internal Pull up is present) 15 CNFG2 INPUT Configuration pin 2 used to select between GPIO,UART,PWM,I2C and SPI. Pull to Ground = Logic „0‟(No external resistor needed) Leave Open = Logic „1‟ (Internal Pull up is present) 32 USB_ERROR# OUTPUT Output signal to indicate a problem with the USB connection Table 3.2 Common Function pins Pin No. Name Type Description 23 IOBUS0 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 24 IOBUS1 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 25 IOBUS2 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 26 IOBUS3 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 Copyright © 2012 Future Technology Devices International Limited 8 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 29 IOBUS4 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 30 IOBUS5 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 31 IOBUS6 INPUT/OUTPUT I/O signal. Function depends on CNFG pin setting. See table 3.4 Table 3.3 Interface Pins Notes: 1. When used in Input Mode, the input pins are pulled to VCCIO via internal 75kΩ (approx.) resistors. 3.2 Interface Selection The FT311D has multiple interfaces available for connecting to external devices. The resources available are GPIO, UART, PWM, I2C(Master), SPI(Slave) and SPI(Master). The selection of what interface the user requires is configured using the CNFG0, CNFG1 and CNFG2 input pins as per table 3.4. CNFG2 CNFG1 CNFG0 Mode GND GND GND GPIO GND GND Leave Open UART GND Leave Open GND PWM GND Leave Open Leave Open I2C (Master) Leave Open GND GND SPI (Slave) Leave Open GND Leave Open SPI (Master) Table 3.4 CBUS Configuration Control Note 1: When left open the pin is a logic 1. Note 2: Mode “110” is a factory test mode and should not be used. Note 3: Mode “111” will default to GPIO mode. 3.2.1 Interface pinout The actual pinout for each interface type is detailed in table 3.5 Pin No Pin Name GPIO UART PWM I2C (Master) SPI (Slave) SPI (Master) 23 IOBUS0 GPIO0 UART_TXD PWM0 I2C_CLK - - 24 IOBUS1 GPIO1 UART_RXD PWM1 I2C_DATA - - 25 IOBUS2 GPIO2 UART_RTS # PWM2 - - - 26 IOBUS3 GPIO3 UART_CTS # PWM3 - SPI_S_SS0 SPI_M_SS0 Copyright © 2012 Future Technology Devices International Limited 9 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 Pin No Pin Name GPIO UART PWM I2C (Master) SPI (Slave) SPI (Master) 29 IOBUS4 GPIO4 UART_TX _ACTIVE - - SPI_S_CLK SPI_M_CLK 30 IOBUS5 GPIO5 - - - SPI_S_MOSI SPI_M_MOSI 31 IOBUS6 GPIO6 - - - SPI_S_MISO SPI_M_MISO Table 3.5 I/O Configuration Copyright © 2012 Future Technology Devices International Limited 10 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 4 Function Description FT311D is FTDIs Android Accessory Mode integrated circuit device or Android Host. The FT311D behaves like a bridge between an Android device and the various I/O available. Selection of various modes is performed using CNFGx pins. 4.1 Key Features Easy to use Android accessory IC translating the Device port of the android tablet into either GPIO, UART, PWM, I2C Master, SPI Slave or SPI Master capabilities 4.2 Functional Block Descriptions The following paragraphs describe each function within FT311D. Please refer to the block diagram shown in Figure 2.1. 4.2.1 Peripheral Interface Modules FT311D has six peripheral interface modules available for selection. Full descriptions of each module are described in Section 5.  GPIO - General purpose I/O pins  UART  PWM  I2C Master  SPI Slave  SPI Master 4.2.2 USB Transceivers USB transceiver cells provide the physical USB device interface supporting USB 1.1 and USB 2.0 standards. Low-speed and full-speed USB data rates are supported. The output driver provides +3.3V level slew rate control signalling, whilst a differential receiver and two single ended receivers provide USB DATA IN, SE0 and USB Reset condition detection. These cells also include integrated internal pull-down resistors as required for host mode. 4.2.3 USB Host These blocks handle the parallel-to-serial and serial-to-parallel conversion of the USB physical layer. This includes bit stuffing, CRC generation. 4.3 I/O Peripherals Signal Names Peripheral Signal Name Outputs Inputs Description GPIO gpio 7 7 General purpose I/O UART uart_txd 1 0 Transmit asynchronous data output uart_rts# 1 0 Request to send control output uart_rxd 0 1 Receive asynchronous data input uart_cts# 0 1 Clear to send control input uart_tx_active 0 1 UART active signal (typically used with RS485) PWM pwm 4 0 Pulse width modulation I2C I2c_scl 0 1 I2C bus serial clock line - slave I2c_sda 1 1 I2C bus serial data line - slave SPI Slave spi_s_clk 0 1 SPI clock input Copyright © 2012 Future Technology Devices International Limited 11 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 spi_s_ss# 0 1 SPI slave select input spi_s_mosi 1 1 SPI master out serial in spi_s_miso 1 0 SPI master in slave out SPI Master spi_m_clk 1 0 SPI clock input – master spi_m_mosi 1 1 Master out slave in - master spi_m_miso 0 1 Master in slave out - master spi_m_ss_0# 1 0 Active low slave select 0 from master to slave 0 Table 4.1 I/O Peripherals Signal Names Note: # is used to indicate an active low signal. 4.4 Default Mode Strings When the USB port is connected to the Android USB port, the Android platform will determine which application to load based on the strings read from the FT311D. These strings are configurable with a Windows utility: FT311Cofiguration.exe available for download from the FTDI website at: http://www.ftdichip.com/Android/FT311Configuration.zip Default values for the strings are set in the device as per Table 4.2 Descriptor String Default Value Manufacturer FTDI Model (depends on GPIO Mode selection): GPIO FTDIGPIODemo UART FTDIUARTDemo PWM FTDIPWMDemo I2C FTDII2CDemo SPI Slave FTDISPISlaveDemo SPI Master FTDISPIMasterDemo Version 1.0 Serial VinculumAccessory1 Description URL http://www.ftdichip.com Table 4.2 Default Descriptor Strings Copyright © 2012 Future Technology Devices International Limited 12 DS_FT311D USB ANDROID HOST IC Datasheet Version 1.0 Document No.: FT_000660 Clearance No.: FTDI# 305 5 Peripheral Interfaces In addition to the USB Host, FT311D contains the following peripheral interfaces:  General Purpose Input Output (GPIO)  Universal Asynchronous Receiver Transmitter (UART)  Four Pulse Width Modulation blocks (PWM)  I2C Master  Serial Peripheral Interface (SPI) Slave  Serial Peripheral Interface (SPI) Master Note: Only one interface may be selected at any time. The modes are selected by setting the CNFGx pins. The following sections describe each peripheral in detail. 5.1 General Purpose Input Output FT311D provides up to 7 configurable Input/Output pins. All pins are independently configurable to be either inputs or outputs. 5.2 UART Interface When the peripheral interface is configured in UART mode, the interface implements a standard asynchronous serial UART port with flow control, for example RS232/422/485. The UART can support baud rates from 300 baud to 6 Mbaud.
本文档为【DS_FT311D】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_902731
暂无简介~
格式:pdf
大小:1019KB
软件:PDF阅读器
页数:40
分类:互联网
上传时间:2013-04-29
浏览量:9