Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Future Technology Devices International Ltd FT232H Single Channel HiSpeed USB to Multipurpose UART/FIFO IC The FT232H is a single channel USB 2.0 HiSpeed (480Mb/s) to UART/FIFO IC. It has the capability of being configured in a variety of industry standard serial or parallel interfaces. The FT232H has the following advanced features: Single channel USB to serial / parallel ports with a variety of configurations. Entire USB protocol handled on the chip. No USB specific firmware programming required. USB 2.0 Hi-Speed (480Mbits/Second) and Full Speed (12Mbits/Second) compatible. Multi-Protocol Synchronous Serial Engine (MPSSE) to simplify synchronous serial protocol (USB to JTAG, I2C, SPI (MASTER) or bit-bang) design. UART transfer data rate up to 12Mbaud. (RS232 Data Rate limited by external level shifter). USB to asynchronous 245 FIFO mode for transfer data rate up to 8 Mbyte/Sec. USB to synchronous 245 parallel FIFO mode for transfers upto 40 Mbytes/Sec Supports a proprietary half duplex FT1248 interface with a configurable width, bidirectional data bus (1, 2, 4 or 8 bits wide). CPU-style FIFO interface mode simplifies CPU interface design. Fast serial interface option. FTDI‟s royalty-free Virtual Com Port (VCP) and Direct (D2XX) drivers eliminate the requirement for USB driver development in most cases. Adjustable receive buffer timeout. Option for transmit and receive LED drive signals. Bit-bang Mode interface option with RD# and WR# strobes Highly integrated design includes 5V to 3.3/+1.8V LDO regulator for VCORE, integrated POR function Asynchronous serial UART interface option with full hardware handshaking and modem interface signals. Fully assisted hardware or X-On / X-Off software handshaking. UART Interface supports 7/8 bit data, 1/2 stop bits, and Odd/Even/Mark/Space/No Parity. Auto transmit enable control for RS485 serial applications using the TXDEN pin. Operational mode configuration and USB Description strings configurable in external EEPROM over the USB interface. Configurable I/O drives strength (4, 8, 12 or 16mA) and slew rate. Low operating and USB suspend current. Supports self powered, bus powered and highpower bus powered USB configurations. UHCI/OHCI/EHCI host controller compatible. USB Bulk data transfer mode (512 byte packets in Hi-Speed mode). +1.8V (chip core) and +3.3V I/O interfacing (+5V Tolerant). Extended -40°C to 85°C industrial operating temperature range. Compact 48-pin Lead Free LQFP or QFN package Configurable ACBUS I/O pins. Copyright © 2011 Future Technology Devices International Limited 1 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 1 Typical Applications Single chip USB to UART (RS232, RS422 or RS485) USB to FIFO USB Instrumentation USB Industrial Control USB EPOS Control USB to FT1248 USB MP3 Player Interface USB to JTAG USB FLASH Card Reader / Writers USB to SPI Set Top Box - USB interface USB to I2C USB Digital Camera Interface USB to Bit-Bang USB Bar Code Readers USB to Fast Serial Interface USB to CPU target interface (as memory) 1.1 Driver Support The FT232H requires USB device drivers (listed below), available free from http://www.ftdichip.com, to operate. The VCP version of the driver creates a Virtual COM Port allowing legacy serial port applications to operate over USB e.g. serial emulator application TTY. Another FTDI USB driver, the D2XX driver, can also be used with application software to directly access the FT232H through a DLL. Royalty free VIRTUAL COM PORT (VCP) DRIVERS for... Royalty free D2XX Direct Drivers (USB Drivers + DLL S/W Interface) Windows 7 and Windows 7 64-bit Windows 7 and Windows 7 64-bit Windows Vista and Vista 64-bit Windows Vista and Vista 64-bit Windows XP and XP 64-bit Windows XP and XP 64-bit Windows XP Embedded Windows XP Embedded Windows 2000, Server 2003, Server 2008 Windows 2000, Server 2003, Server 2008 Windows CE 4.2, 5.0, 5.2 and 6.0 Windows CE 4.2, 5.0, 5.2 and 6.0 Mac OS-X Mac OS-X Linux (2.6.9 or later) Linux (2.6.9 or later) 1.2 Part Numbers Part Number Package FT232HL -xxxx 48 Pin LQFP FT232HQ-xxxx 48 Pin QFN Note: Packaging codes for xxxx is: - Reel: Taped and Reel (LQFP = 1500 pieces per reel, QFN = 3000 pieces per reel) -Tray: Tray packing, (LQFP = 250 pieces per tray, QFN =260 pieces per tray) Please refer to section 8 for all package mechanical parameters. Copyright © 2011 Future Technology Devices International Limited 2 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 1.3 USB Compliant The FT232H is fully compliant with the USB 2.0 specification and has been given the USB-IF Test-ID (TID) 40770005. The timing of the rise/fall time of the USB signals is not only dependant on the USB signal drivers, it is also dependant system and is affected by factors such as PCB layout, external components and any transient protection present on the USB signals. For USB compliance these may require a slight adjustment. This timing can be modified through a programmable setting stored in the same external EEPROM that is used for the USB descriptors. Timing can also be changed by adding appropriate passive components to the USB signals. 1.4 Applicable Documents The following application and technical documents can be downloaded by clicking on the appropriate links below: AN_108 – Command Processor For MPSSE and MCU Host Bus Emulation Modes AN_113 – Interfacing FT2232H Hi-Speed Devices To I2C Bus AN_114 – Interfacing FT2232H Hi-Speed Devices To SPI Bus AN_129 – Interfacing FT2232H Hi-Speed Devices to a JTAG TAP AN_135 – MPSSE Basics AN_167_FT1248 Parallel Serial Interface Basics Copyright © 2011 Future Technology Devices International Limited 3 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 2 FT232H Block Diagram Figure 2.1 FT232H Block Diagram A full description of each function is available in section 4. Copyright © 2011 Future Technology Devices International Limited 4 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Table of Contents 1 Typical Applications ...................................................................... 2 1.1 Driver Support .................................................................................... 2 1.2 Part Numbers...................................................................................... 2 1.3 USB Compliant .................................................................................... 3 1.4 Applicable Documents ........................................................................ 3 2 FT232H Block Diagram ................................................................. 4 3 Device Pin Out And Signal Descriptions ........................................ 7 3.1 Schematic Symbol............................................................................... 7 3.2 FT232H Pin Descriptions .................................................................... 8 3.3 Signal Description ............................................................................... 9 3.4 ACBUS Signal Option ......................................................................... 12 3.5 Pin Configurations ............................................................................ 13 3.5.1 FT232H pins used in an UART interface......................................................................... 13 3.5.2 FT232H pins used in an FT245 Synchronous FIFO Interface ............................................. 14 3.5.3 FT232H pins used in an FT245 Style Asynchronous FIFO Interface ................................... 15 3.5.4 FT232H can be configured as a Synchronous or Asynchronous Bit-Bang Interface. ............. 16 3.5.5 FT232H pins used in an MPSSE .................................................................................... 17 3.5.6 FT232H Pins used as a Fast Serial Interface .................................................................. 18 3.5.7 FT232H Pins Configured as a CPU-style FIFO Interface ................................................... 19 3.5.8 FT232H Pins Configured as a FT1248 Interface .............................................................. 20 4 Function Description................................................................... 21 4.1 Key Features ..................................................................................... 21 4.2 Functional Block Descriptions ........................................................... 22 4.3 FT232 UART Interface Mode Description........................................... 23 4.3.1 RS232 Configuration .................................................................................................. 23 4.3.2 RS422 Configuration .................................................................................................. 24 4.3.3 RS485 Configuration .................................................................................................. 25 4.4 FT245 Synchronous FIFO Interface Mode Description ...................... 26 4.4.1 FT245 Synchronous FIFO Read Operation ..................................................................... 27 4.4.2 FT245 Synchronous FIFO Write Operation ..................................................................... 27 4.5 FT245 Style Asynchronous FIFO Interface Mode Description ............ 28 4.6 FT1248 Interface Mode Description .................................................. 29 4.6.1 Bus Width Protocol Decode ......................................................................................... 30 4.6.2 FT1248: 1-bit interface ............................................................................................... 31 4.7 Synchronous and Asynchronous Bit-Bang Interface Mode ................ 33 4.7.1 Asynchronous Bit-Bang Mode ...................................................................................... 33 4.7.2 Synchronous Bit-Bang Mode ........................................................................................ 33 Copyright © 2011 Future Technology Devices International Limited 5 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.8 MPSSE Interface Mode Description. .................................................. 35 4.8.1 4.9 Fast Serial Interface Mode Description ............................................. 37 4.9.1 Outgoing Fast Serial Data ........................................................................................... 38 4.9.2 Incoming Fast Serial Data ........................................................................................... 38 4.9.3 Fast Serial Data Interface Example .............................................................................. 39 4.10 CPU-style FIFO Interface Mode Description ................................... 40 4.11 RS232 UART Mode LED Interface Description ................................ 42 4.12 Send Immediate / Wake Up (SIWU#) ............................................ 43 4.13 FT232H Mode Selection .................................................................. 44 4.14 Modes Configurations .................................................................... 45 5 Devices Characteristics and Ratings ........................................... 46 5.1 Absolute Maximum Ratings............................................................... 46 5.2 DC Characteristics............................................................................. 47 5.3 ESD Tolerance ................................................................................... 49 6 FT232H Configurations ............................................................... 50 6.1 USB Bus Powered Configuration ....................................................... 50 6.2 USB Self Powered Configuration ....................................................... 51 6.2.1 6.3 7 Self Powered application example 2 ............................................................................. 52 Oscillator Configuration .................................................................... 53 EEPROM Configuration................................................................ 54 7.1 EEPROM Interface ............................................................................. 54 7.2 Default EEPROM Configuration.......................................................... 55 8 9 MPSSE Adaptive Clocking ............................................................................................ 36 Package Parameters ................................................................... 57 8.1 FT232HQ, QFN-48 Package Dimensions ............................................ 57 8.2 FT232HL, LQFP-48 Package Dimensions ........................................... 58 8.3 Solder Reflow Profile ........................................................................ 59 Contact Information ................................................................... 61 Appendix A – List of Figures and Tables .................................................... 63 List of Tables ............................................................................................. 63 List of Figures ............................................................................................ 64 Appendix B – Revision History ................................................................... 65 Copyright © 2011 Future Technology Devices International Limited 6 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3 Device Pin Out And Signal Descriptions The 48-pin LQFP and 48-pin QFN have the same pin numbering for specific functions. This pin numbering is illustrated in the schematic symbol shown in Figure 3.1 3.1 Schematic Symbol Figure 3.1 FT232H Schematic Symbol Copyright © 2011 Future Technology Devices International Limited 7 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.2 FT232H Pin Descriptions This section describes the operation of the FT232H pins. Both the LQFP and the QFN packages have the same function on each pin. The function of many pins is determined by the configuration of the FT232H. The following table details the function of each pin dependent on the configuration of the interface. Each of the functions is described in the following table (Note: The convention used throughout this document for active low signals is the signal name followed by #). Pins marked * are EEPROM selectable FT232H Pin Pin functions (depends on configuration) ASYNC Serial (RS232) TXD SYNC 245 FIFO D0 STYLE ASYNC 245 FIFO D0 ASYNC Bit-bang D0 SYNC Bit-bang D0 ADBUS1 RXD D1 D1 D1 ADBUS2 RTS# D2 D2 D2 16 ADBUS3 CTS# D3 D3 17 ADBUS4 DTR# D4 18 ADBUS5 DSR# 19 ADBUS6 20 ADBUS7 21 ACBUS0 25 ACBUS1 26 ACBUS2 27 ACBUS3 28 ACBUS4 29 ACBUS5 30 ACBUS6 31 ACBUS7 32 ACBUS8 33 ACBUS9 Pin # 13 Pin Name ADBUS0 14 15 FT1248 MPSSE TCK/SK Fast Serial interface FSDI CPU Style FIFO D0 MIOSI0 D1 TDI/DO FSCLK D1 MIOSI1 D2 TDO/DI FSDO D2 MIOSI2 D3 D3 TMS/CS D3 MIOSI3 D4 D4 D4 GPIOL0 D4 MIOSI4 D5 D5 D5 D5 GPIOL1 D5 MIOSI5 DCD# D6 D6 D6 D6 GPIOL2 D6 MIOSI6 RI# D7 D7 D7 D7 GPIOL3 FSCTS ** TriSt-UP ** TriSt-UP ** TriSt-UP ** TriSt-UP D7 MIOSI7 RXF# RXF# ACBUS0 ACBUS0 GPIOH0 CS# SCLK TXE# TXE# WRSTB# WRSTB# GPIOH1 A0 SS_n RD# RD# RDSTB# RDSTB# GPIOH2 RD# MISO WR WR ACBUS3 ACBUS3 GPIOH3 WR ACBUS3 SIWU# SIWU# SIWU# SIWU# GPIOH4 SIWU# ACBUS4 CLKOUT ACBUS5 OE# PWRSAV# * TXDEN ** ACBUS1 ** ACBUS2 * RXLED# * TXLED# ** ACBUS5 ** ACBUS6 PWRSAV# ** ** ACBUS5 ACBUS5 ACBUS6 ACBUS6 ACBUS6 GPIOH6 PWRSAV# PWRSAV# PWRSAV# *** GPIOH7 GPIOH5 ** ACBUS0 ** ACBUS1 ** ACBUS2 ** ACBUS3 SIWU# ** ** ACBUS5 ACBUS5 ACBUS5 ** ** ACBUS6 ACBUS6 PWRSAV# PWRSAV# PWRSAV# ** ACBUS8 ACBUS8 ** ** ** ** ** ** ** ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ** ** ** ** ** ** ** ** ACBUS9 ACBUS9 ACBUS9 ACBUS9 ACBUS9 ACBUS9 ACBUS9 ACBUS9 ACBUS6 ACBUS9 Pins marked ** default to tri-stated inputs with an internal 75KΩ (approx) pull up resistor to VCCIO. Pin marked *** default to GPIO line with an internal 75KΩ pull down resistor to GND. Using the EEPROM this pin can be enabled USBVCC mode instead of GPIO mode. Copyright © 2011 Future Technology Devices International Limited 8 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.3 Signal Description The operation of the following FT232H pins are the same regardless of the configured mode:Pin No. 40 Name Type ** POWER VREGIN input 37 VCCA 38 VCORE +5.0V or 3V3 power supply input. +1.8V output. Should not be used output POWER output +1.8V output. Should not be used. POWER ** 39 POWER Description VCCD 12, 24, 46 VCCIO 8 VPLL output or input POWER input POWER Input 3 VPHY 4,9,41 AGND 10,11,22,23,35,36,47,48 GND POWER Input POWER Input POWER Input +3.3V output or input. +3.3V input. I/O interface power supply input +3.3V input. Internal PLL power supply input. It is recommended that this supply is filtered using an LC filter. (See figure 6.1) +3.3V input. Internal USB PHY power supply input. Note that this cannot be connected directly to the USB supply. A +3.3V regulator must be used. It is recommended that this supply is filtered using an LC filter.(See figure 6.1) 0V Ground input. 0V Ground input. Table 3.1 Power and Ground ** If pin 40 (VREGIN) is +5.0V, pin 39 becomes an output and If pin 40 (VREGIN) is 3V3 pin 39 becomes an input. Pin No. Name Type Description 1 OSCI INPUT 2 OSCO OUTPUT 5 REF INPUT Current reference – connect via a 12KΩ resistor @ 1% to GND. 6 DM INPUT USB Data Signal Minus. 7 DP INPUT USB Data Signal Plus. 42 TEST INPUT IC test pin – for normal operation must be connected to GND. 34 RESET# INPUT Reset input (active low). Oscillator input. Oscillator output. Table 3.2 Common Function pins Copyright © 2011 Future Technology Devices International Limited 9 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Pin No. Name Type 45 EECS I/O 44 EECLK OUTPUT Description EEPROM – Chip Select. Tri-State during device reset. Clock signal to EEPROM. Tri-State during device reset. When not in reset, this outputs the EEPROM clock. EEPROM – Data I/O. Connect directly to Data-in of the EEPROM and to Data-out of the EEPROM via a 2.2K resistor. Also, pull Data-Out of the EEPROM to VCCD via a 10K resistor for correct operation. Tri-State during device reset. Table 3.3 EEPROM Interface Group 43 EEDATA I/O Pin No. Name Type 13 ADBUS0 Output Configurable Output Pin, the default configuration is Transmit Asynchronous Data Output. 14 ADBUS1 Input Configurable Input Pin, the default configuration is Receiving Asynchronous Data Input. 15 ADBUS2 Output 16 ADBUS3 Input Configurable Input Pin, the default configuration is Clear To Send Control Input / Handshake Signal. 17 ADBUS4 Output Configurable Output Pin, the default configuration is Data Terminal Ready Control Output / Handshake Signal. 18 ADBUS5 Input Configurable Input Pin, the default configuration is Data Set Ready Control Input / Handshake Signal. 19 ADBUS6 Input Configurable Input Pin, the default configuration is Data Carrier Detect Control Input. Description Configurable Output Pin, the default configuration is Request to Send Control Output / Handshake Signal. 20 ADBUS7 Input Configurable Input Pin, the default configuration is Ring Indicator Control Input. When remote wake up is enabled in the EEPROM taking RI# low can be used to resume the PC USB host controller from suspend. (Also see note 1, 2, 3 in section 4.12) 21 ACBUS0 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 25 ACBUS1 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 26 ACBUS2 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 27 ACBUS3 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 28 ACBUS4 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 29 ACBUS5 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. Copyright © 2011 Future Technology Devices International Limited 10 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 30 ACBUS6 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 31 ACBUS7 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PD. See ACBUS Signal Options, Table 3.5. 32 ACBUS8 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. 33 ACBUS9 I/O Configurable ACBUS I/O Pin. Function of this pin is configured in the device EEPROM. If the external EEPROM is not fitted the default configuration is TriSt-PU. See ACBUS Signal Options, Table 3.5. Table 3.4 UART Interface and ACBUS Group (see note 1) Notes: 1. When used in Input Mode, the input pins are pulled to VCCIO via internal 75kΩ (approx) resistors. These pins can be programmed to gently pull low during USB suspend (PWREN# = “1”) by setting an option in the EEPROM. Copyright © 2011 Future Technology Devices International Limited 11 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.4 ACBUS Signal Option If the external EEPROM is fitted, the following options can be configured on the CBUS I/O pins using the software utility FT_PROG which can be downloaded from the FTDI utilities page. CBUS signal options are common to both package versions of the FT232H. The default configuration is described in section 7. ACBUS Signal Option Available On ACBUS Pin Description TXDEN ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 TXDEN = (TTL level). Used with RS485 level converters to enable the line driver during data transmit. TXDEN is active from one bit time before the start bit is transmitted on TXD until the end of the stop bit. *PWREN# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 Output is low after the device has been configured by USB, then high during USB suspend mode. This output can be used to control power to external logic P-Channel logic level MOSFET switch. Enable the interface pull-down option when using the PWREN# in this way.* TXLED# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 TXLED = Transmit signalling output. Pulses low when transmitting data (TXD) to the external device. This can be connected to an LED. RXLED# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 RXLED = Receive signalling output. Pulses low when receiving data (RXD) from the external device. This can be connected to an LED. TX&RXLED# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 LED drive – pulses low when transmitting or receiving data from or to the external device. See Section 4.11 for more details. SLEEP# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 Goes low during USB suspend mode. Typically used to power down an external TTL to RS232 level converter IC in USB to RS232 converter designs. **CLK30 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 30MHz Clock output. **CLK15 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 15MHz Clock output. **CLK7.5 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 7.5MHz Clock output. TriSt-PU ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 Input Pull Up DRIVE 1 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 Output High DRIVE 0 ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 Output Low I/O mode ACBUS5, ACBUS6,ACBUS8, ACBUS9 ACBUS BitBang Table 3.5 ACBUS Configuration Control * Must be used with a 10kΩ resistor pull up. **When in USB suspend mode the outputs clocks are also suspended. Copyright © 2011 Future Technology Devices International Limited 12 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5 Pin Configurations The following section describes the function of the pins when the device is configured in different modes of operation. 3.5.1 FT232H pins used in an UART interface The FT232H can be configured as a UART interface. When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.6 Pin No. Name Type 13 TXD OUTPUT 14 RXD INPUT 15 RTS# OUTPUT 16 CTS# INPUT 17 DTR# OUTPUT 18 DSR# INPUT DSR# = Data Set Ready modem signalling line 19 DCD# INPUT DCD# = Data Carrier Detect modem signalling line 20 RI# INPUT RI# = Ring Indicator Control Input. When the Remote Wake up option is enabled in the EEPROM, taking RI# low can be used to resume the PC USB Host controller from suspend. 21 27 28 ** TXDEN ** RXLED ** TXLED UART Configuration Description TXD = transmitter output RXD = receiver input RTS# = Ready To send handshake output CTS# = Clear To Send handshake input DTR# = Data Transmit Ready modem signalling line OUTPUT TXDEN = (TTL level). Use to enable RS485 level converter OUTPUT RXLED = Receive signalling output. Pulses low when receiving data (RXD) from the external device (UART Interface). This should be connected to an LED. OUTPUT TXLED = Transmit signalling output. Pulses low when transmitting data (TXD) to the external device (UART Interface). This should be connected to an LED. Table 3.6 UART Configured Pin Descriptions ** ACBUS I/O pins For a functional description of this mode, please refer to section 4.3 NOTE: UART is the device default mode. Copyright © 2011 Future Technology Devices International Limited 13 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.2 FT232H pins used in an FT245 Synchronous FIFO Interface The FT232H can be configured as a FT245 synchronous FIFO interface. When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.7. To set this mode the external EEPROM must be set to 245 modes. A software command (FT_SetBitMode) is then sent by the application to the FTDI D2xx driver to tell the chip to enter 245 synchronous FIFO mode. In this mode, data is written or read on the rising edge of the CLKOUT. Refer to Figure 4.4 for timing details. Pin No. Name Type 13,14,15,16, 17,18,19,20 ADBUS[7:0] I/O FT245 Configuration Description D7 to D0 bidirectional FIFO data. This bus is normally input unless OE# is low. 21 RXF# OUTPUT When high, do not read data from the FIFO. When low, there is data available in the FIFO which can be read by driving RD# low. When in synchronous mode, data is transferred on every clock that RXF# and RD# are both low. Note that the OE# pin must be driven low at least 1 clock period before asserting RD# low. 25 TXE# OUTPUT When high, do not write data into the FIFO. When low, data can be written into the FIFO by driving WR# low. When in synchronous mode, data is transferred on every clock that TXE# and WR# are both low. 26 RD# INPUT 27 WR# INPUT Enables the current FIFO data byte to be driven onto D0...D7 when RD# goes low. The next FIFO data byte (if available) is fetched from the receive FIFO buffer each CLKOUT cycle until RD# goes high. Enables the data byte on the D0...D7 pins to be written into the transmit FIFO buffer when WR# is low. The next FIFO data byte is written to the transmit FIFO buffer each CLKOUT cycle until WR# goes high. The Send Immediate / WakeUp signal combines two functions on a single pin. If USB is in suspend mode (PWREN# = 1) and remote wakeup is enabled in the EEPROM, strobing this pin 28 low will cause the device to request a resume on the USB Bus. SIWU# INPUT Normally, this can be used to wake up the Host PC. During normal operation (PWREN# = 0), if this pin is strobed low any data in the device RX buffer will be sent out over USB on the next Bulk-IN request from the drivers regardless of the pending packet size. This can be used to optimize USB transfer speed for some applications. Tie this pin to VCCIO if not used. 60 MHz Clock driven from the chip. All signals should be 29 CLKOUT OUTPUT synchronized to this clock. Output enable when low to drive data onto D0-7. This should 30 OE# INPUT be driven low at least 1 clock period before driving RD# low to allow for data buffer turn-around. Table 3.7 FT245 Synchronous FIFO Configured Pin Descriptions For a functional description of this mode, please refer to section 4.4 Copyright © 2011 Future Technology Devices International Limited 14 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.3 FT232H pins used in an FT245 Style Asynchronous FIFO Interface The FT232H can be configured as a FT245 style asynchronous FIFO interface. When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.8. To enter this mode the external EEPROM must be set to 245 asynchronous FIFO mode. In this mode, data is written or read on the falling edge of the RD# or WR# signals. Pin No. 13, 14, 15, 16, 17, 18, 19,20 Name Type ADBUS[7:0] I/O FT245 Configuration Description D7 to D0 bidirectional FIFO data. This bus is normally input unless RD# is low. 21 RXF# OUTPUT When high, do not read data from the FIFO. When low, there is data available in the FIFO which can be read by driving RD# low. When RD# goes high again RXF# will always go high and only become low again if there is another byte to read. During reset this signal pin is tri-state, but pulled up to VCCIO via an internal 200kΩ resistor. 25 TXE# OUTPUT When high, do not write data into the FIFO. When low, data can be written into the FIFO by strobing WR# high, then low. During reset this signal pin is tri-state, but pulled up to VCCIO via an internal 200kΩ resistor. 26 RD# INPUT 27 WR# INPUT 28 SIWU# INPUT Enables the current FIFO data byte to be driven onto D0...D7 when RD# goes low. Fetches the next FIFO data byte (if available) from the receive FIFO buffer when RD# goes high. Writes the data byte on the D0...D7 pins into the transmit FIFO buffer when WR# goes from high to low. The Send Immediate / WakeUp signal combines two functions on a single pin. If USB is in suspend mode (PWREN# = 1) and remote wakeup is enabled in the EEPROM, strobing this pin low will cause the device to request a resume on the USB Bus. Normally, this can be used to wake up the Host PC. During normal operation (PWREN# = 0), if this pin is strobed low any data in the device RX buffer will be sent out over USB on the next Bulk-IN request from the drivers regardless of the pending packet size. This can be used to optimize USB transfer speed for some applications. Tie this pin to VCCIO if not used. Table 3.8 FT245 Style Asynchronous FIFO Configured Pin Descriptions For a functional description of this mode, please refer to section 4.5 Copyright © 2011 Future Technology Devices International Limited 15 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.4 FT232H can be configured as a Synchronous or Asynchronous Bit-Bang Interface. Bit-bang mode is an FTDI FT232H device mode that changes the 8 IO lines into an 8 bit bi-directional data bus. This mode is enabled by sending a software command (FT_SetBitMode) to the FTDI driver. When configured in any bit-bang mode, the pins used and the descriptions of the signals are shown in Table 3.9 Pin No. Name 13,14,15,16,17, 18,19,20 ADBUS[7:0] 25 26 WRSTB# RDSTB# Type Configuration Description I/O D7 to D0 bidirectional Bit-Bang parallel I/O data pins OUTPUT Write strobe, active low output indicates when new data has been written to the I/O pins from the Host PC (via the USB interface). OUTPUT Read strobe, this output rising edge indicates when data has been read from the parallel I/O pins and sent to the Host PC (via the USB interface). The Send Immediate / WakeUp signal combines two functions on a single pin. If USB is in suspend mode (PWREN# = 1) and remote wakeup is enabled in the EEPROM, strobing this pin low will cause the device to request a resume on the USB Bus. Normally, this can be used to wake up the Host PC. 28 SIWU# INPUT During normal operation (PWREN# = 0), if this pin is strobed low any data in the device RX buffer will be sent out over USB on the next Bulk-IN request from the drivers regardless of the pending packet size. This can be used to optimize USB transfer speed for some applications. Tie this pin to VCCIO if not used. Table 3.9 Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions For functional description of this mode, please refer to section 4.6 Copyright © 2011 Future Technology Devices International Limited 16 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.5 FT232H pins used in an MPSSE The FT232H has a Multi-Protocol Synchronous Serial Engine (MPSSE). This mode is enabled by sending a software command (FT_SetBitMode) to the FTDI D2xx driver. The MPSSE can be configured to a number of industry standard serial interface protocols such as JTAG, I2C or SPI (MASTER), or it can be used to implement a proprietary bus protocol. For example, it is possible to connect FT232H‟s to an SRAM configurable FPGA such as supplied by Altera or Xilinx. The FPGA device would normally not be configured (i.e. have no defined function) at power-up. Application software on the PC could use the MPSSE (and D2XX driver) to download configuration data to the FPGA over USB. This data would define the hardware function on power up. The MPSSE can be used to control a number of GPIO pins. When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.10 Pin No. Name Type MPSSE Configuration Description Clock Signal Output. For example: 13 TCK/SK OUTPUT JTAG – TCK, Test interface clock SPI (MASTER) – SK, Serial Clock Serial Data Output. For example: 14 TDI/DO OUTPUT JTAG – TDI, Test Data Input SPI (MASTER) – DO Serial Data Input. For example: 15 TDO/DI INPUT JTAG – TDO, Test Data output SPI (MASTER) – DI, Serial Data Input Output Signal Select. For example: 16 TMS/CS OUTPUT JTAG – TMS, Test Mode Select SPI (MASTER) – CS, Serial Chip Select 17 GPIOL0 I/O General Purpose input/output 18 GPIOL1 I/O General Purpose input/output 19 GPIOL2 I/O General Purpose input/output 20 GPIOL3 I/O General Purpose input/output 21 GPIOH0 I/O General Purpose input/output 25 GPIOH1 I/O General Purpose input/output 26 GPIOH2 I/O General Purpose input/output 27 GPIOH3 I/O General Purpose input/output 28 GPIOH4 I/O General Purpose input/output 29 GPIOH5 I/O General Purpose input/output 30 GPIOH6 I/O General Purpose input/output 31 GPIOH7 I/O General Purpose input/output Table 3.10 MPSSE Configured Pin Descriptions For functional description of this mode, please refer to section 4.8 Copyright © 2011 Future Technology Devices International Limited 17 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.6 FT232H Pins used as a Fast Serial Interface The FT232H can be configured for use with high-speed bi-directional isolated serial data. A proprietary FTDI protocol designed to allow galvanic isolated devices to communicate synchronously with the FT232H using just 4 signal wires (over two dual opto-isolators), and two power lines. The peripheral circuitry controls the data transfer rate in both directions, whilst maintaining full data integrity. 12 Mbps (USB full speed) data rates can be achieved when using the proper high speed opto-isolators (see App Note AN131). When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.11. Pin No. Name Type 13 FSDI INPUT 14 FSCLK INPUT 15 FSDO OUTPUT 16 FSCTS OUTPUT Fast Serial Interface Configuration Description Fast serial data input. Fast serial clock input. Clock input to FT232H chip to clock data in or out. Fast serial data output. Fast serial Clear To Send signal output. Driven low to indicate that the chip is ready to send data The Send Immediate / WakeUp signal combines two functions on a single pin. If USB is in suspend mode (PWREN# = 1) and remote wakeup is enabled in the EEPROM , strobing this pin low will cause the device to request a resume on the USB Bus. Normally, this SIWU# INPUT can be used to wake up the Host PC. 28 During normal operation (PWREN# = 0), if this pin is strobed low any data in the device RX buffer will be sent out over USB on the next Bulk-IN request from the drivers regardless of the pending packet size. This can be used to optimize USB transfer speed for some applications. Tie this pin to VCCIO if not used. Table 3.11 Fast Serial Interface Configured Pin Descriptions For a functional description of this mode, please refer to section 4.9 Copyright © 2011 Future Technology Devices International Limited 18 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.7 FT232H Pins Configured as a CPU-style FIFO Interface The FT232H can be configured in a CPU-style FIFO interface mode which allows a CPU to interface to USB via the FT232H. This mode is enabled in the external EEPROM. When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.12 Pin No. Name Type Fast Serial Interface Configuration Description 13, 14, 15, 16, 17, 18, 19, 20 ADBUS[7:0] 21 CS# INPUT Active low chip select input 25 A0 INPUT Address bit A0 26 RD# INPUT Active Low FIFO Read input 27 WR# INPUT Active Low FIFO Write input I/O D7 to D0 bidirectional data bus Tie this pin to VCCIO if not used – otherwise, for normal operation 28 SIWU# INPUT The Send Immediate / WakeUp signal combines two functions on a single pin. If USB is in suspend mode (PWREN# = 1) and remote wakeup is enabled in the EEPROM, strobing this pin low will cause the device to request a resume on the USB Bus. Normally, this can be used to wake up the Host PC. During normal operation (PWREN# = 0), if this pin is strobed low any data in the device RX buffer will be sent out over USB on the next Bulk-IN request from the drivers regardless of the pending packet size. This can be used to optimize USB transfer speed for some applications. Table 3.12 CPU-style FIFO Interface Configured Pin Descriptions For a functional description of this mode, please refer to section 4.10 Copyright © 2011 Future Technology Devices International Limited 19 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 3.5.8 FT232H Pins Configured as a FT1248 Interface The FT232H can be configured as a proprietary FT1248 interface. This mode is enabled in the external EEPROM. When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.13. Pin No. Name Type UART Configuration Description 13 MIOSIO0 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 0 used to transmit and receive data from/to the master 14 MIOSIO1 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 1 used to transmit and receive data from/to the master 15 MIOSIO2 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 2 used to transmit and receive data from/to the master 16 MIOSIO3 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 3 used to transmit and receive data from/to the master 17 MIOSIO4 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 4 used to transmit and receive data from/to the master 18 MIOSIO5 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 5 used to transmit and receive data from/to the master 19 MIOSIO6 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 6 used to transmit and receive data from/to the master 20 MIOSIO7 INPUT /OUTPUT Bi-directional synchronous command and data bus, bit 7 used to transmit and receive data from/to the master 21 SCLK INPUT Serial clock used to drive the slave device data 27 SS_n INPUT Active low slave select 0 from master to slave Slave output used to transmit the status of the transmit and receive buffers are empty and full respectively Table 3.13 FT1248 Configured Pin Descriptions 28 MISO OUTPUT For functional description of this mode, please refer to section 4. Copyright © 2011 Future Technology Devices International Limited 20 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4 Function Description The FT232H USB 2.0 Hi-Speed (480Mb/s) to UART/FIFO is an FTDI‟s 6th generation of ICs. It can be configured in a variety of industry standard serial or parallel interfaces, such as UART, FIFO, JTAG, SPI (MASTER) or I2C modes. In addition to these, the FT232H introduces the FT1248 interface and supports a CPU-Style FIFO mode, bit-bang and a fast serial interface mode. 4.1 Key Features USB Hi-Speed to UART/FIFO Interface. The FT232H provides USB 2.0 Hi-Speed (480Mbits/s) to flexible and configurable UART/FIFO Interfaces. Functional Integration. The FT232H integrates a USB protocol engine which controls the physical Universal Transceiver Macrocell Interface (UTMI) and handles all aspects of the USB 2.0 Hi-Speed interface. The FT232H includes an integrated +1.8V/3.3V Low Drop-Out (LDO) regulator. It also includes 1Kbytes Tx and Rx data buffers. The FT232H integrates the entire USB protocol on a chip with no firmware required. MPSSE. Multi- Protocol Synchronous Serial Engines (MPSSE), capable of speeds up to 30 Mbits/s, provides flexible synchronous interface configurations. FT1248 interface. The FT232H supports a new proprietary half-duplex FT1248 interface with a variable bi-directional data bus interface that can be configured as 1, 2, 4, or 8-bits wide and this enables the flexibility to expand the size of the data bus to 8 pins. For details regarding 2-bit, 4-bit and 8-bit modes, please refer to application note AN_167_FT1248_Serial_Parallel Interface Basics available from the FTDI website. Data Transfer rate. The FT232H supports a data transfer rate up to 12 Mbaud when configured as an RS232/RS422/RS485 UART interface upto 40 Mbytes/second over a synchronous 245 parallel FIFO interface or up to 8 Mbyte/Sec over a asynchronous 245 FIFO interface. Latency Timer. A feature of the driver used as a timeout to transmit short packets of data back to the PC. The default is 16ms, but it can be altered between 1ms and 255ms. Bus (ACBUS) functionality, signal inversion and drive strength selection. There are 11 configurable ACBUS I/O pins. These configurable options are: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. TXDEN - transmit enable for RS485 designs. PWREN# - Power control for high power, bus powered designs. TXLED# - for pulsing an LED upon transmission of data. RXLED# - for pulsing an LED upon receiving data. TX&RXLED# - which will pulse an LED upon transmission OR reception of data. SLEEP# - indicates that the device going into USB suspend mode. CLK30 / CLK15 / CLK7.5 - 30MHz, 15MHz and 7.5MHz clock output signal options. TriSt-PU – Input pulled up, not used DRIVE 1 – Output driving high DRIVE 0 - Output driving low I/O mode – ACBUS BitBang The ACBUS pins can also be individually configured as GPIO pins, similar to asynchronous bit bang mode. It is possible to use this mode while the UART interface is being used, thus providing up to 4 general purpose I/O pins which are available during normal operation. The ACBUS lines can be configured with any one of these input/output options by setting bits in the external EEPROM see section 3.4. Copyright © 2011 Future Technology Devices International Limited 21 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.2 Functional Block Descriptions Multi-Purpose UART/FIFO Controllers. The FT232H has one independent UART/FIFO Controller. This controls the UART data, 245 FIFO data, Fast Serial (opto isolation) or Bit-Bang mode which can be selected by SETUP (FT_SetBitMode) command. Each Multi-Purpose UART/FIFO Controller also contains an MPSSE (Multi Protocol Synchronous Serial Engine). Using this MPSSE, the Multi-Purpose UART/FIFO Controller can be configured under software command, to have one of the MPSSE (SPI (MASTER), I2C, JTAG). USB Protocol Engine and FIFO control. The USB Protocol Engine controls and manages the interface between the UTMI PHY and the FIFOs of the chip. It also handles power management and the USB protocol specification. Port FIFO TX Buffer (1Kbytes). Data from the Host PC is stored in these buffers to be used by the Multi-purpose UART/FIFO controllers. This is controlled by the USB Protocol Engine and FIFO control block. Port FIFO RX Buffer (1Kbytes). Data from the Multi-purpose UART/FIFO controllers is stored in these blocks to be sent back to the Host PC when requested. This is controlled by the USB Protocol Engine and FIFO control block. RESET Generator – The integrated Reset Generator Cell provides a reliable power-on reset to the device internal circuitry at power up. The RESET# input pin allows an external device to reset the FT232H. RESET# should be tied to VCCIO (+3.3V) if not being used. Baud Rate Generators – The Baud Rate Generators provides a x16 or a x10 clock input to the UART‟s from a 120MHz reference clock and consists of a 14 bit pre-scaler and 4 register bits which provide fine tuning of the baud rate (used to divide by a number plus a fraction). This determines the Baud Rate of the UART which is programmable from 183 baud to 12 Mbaud. See FTDI application note AN_120 on the FTDI website for more details. EEPROM Interface. If the external EEPROM is fitted, the FT232H can be configured as an asynchronous serial UART (default mode), parallel FIFO (245) mode, FT1248, fast serial (opto isolation) or CPU-Style FIFO. The EEPROM should be a 16 bit wide configuration such as a 93LC56B or equivalent capable of a 1Mbit/s clock rate at VCCIO = +2.97V to 3.63V. The EEPROM is programmable in-circuit over USB using a utility program called FT_Prog available from FTDI web site. +1.8/3.3V LDO Regulator. The +3.3/+1.8V LDO regulator generates +1.8 volts for the core and the USB transceiver cell and +3.3V for the IO and the internal PLL and USB PHY power supply. UTMI PHY. The Universal Transceiver Macrocell Interface (UTMI) physical interface cell. This block handles the Full speed / Hi-Speed SERDES (serialise – deserialise) function for the USB TX/RX data. It also provides the clocks for the rest of the chip. A 12 MHz crystal must be connected to the OSCI and OSCO pins or 12 MHz Oscillator must be connected to the OSCI, and the OSCO is left unconnected. A 12K Ohm resistor should be connected between REF and GND on the PCB. The UTMI PHY functions include: Supports 480 Mbit/s “Hi-Speed” (HS)/ 12 Mbit/s “Full Speed” (FS). SYNC/EOP generation and checking Data and clock recovery from serial stream on the USB. Bit-stuffing/unstuffing; bit stuff error detection. Manages USB Resume, Wake Up and Suspend functions. Single parallel data clock output with on-chip PLL to generate higher speed serial data clocks. Copyright © 2011 Future Technology Devices International Limited 22 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.3 FT232 UART Interface Mode Description The FT232H can be configured as a UART with external line drivers, similar to operation with the FTDI FT232R devices. The following examples illustrate how to configure the FT232H with an RS232, RS422 or RS485 interface. 4.3.1 RS232 Configuration Figure 4.1 illustrates how the FT232H can be configured with an RS232 UART interface. Figure 4.1 RS232 Configuration Copyright © 2011 Future Technology Devices International Limited 23 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.3.2 RS422 Configuration Figure 4.2 illustrates how the FT232H can be configured as a RS422 interface. Figure 4.2 Dual RS422 Configuration In this case the FT232H is configured as UART operating at TTL levels and a level converter device (full duplex RS485 transceiver) is used to convert the TTL level signals from the FT232H to RS422 levels. The PWREN# signal is used to power down the level shifters such that they operate in a low quiescent current when the USB interface is in suspend mode. Copyright © 2011 Future Technology Devices International Limited 24 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.3.3 RS485 Configuration Figure 4.3 illustrates how the FT232H can be configured as a RS485 interface. Figure 4.3 Dual RS485 Configuration In this case the FT232H is configured as a UART operating at TTL levels and a level converter device (half duplex RS485 transceiver) is used to convert the TTL level signals from the FT232H to RS485 levels. With RS485, the transmitter is only enabled when a character is being transmitted from the UART. The TXDEN pin on the FT232H is provided for exactly that purpose, and so the transmitter enables are wired to the TXDEN. RS485 is a multi-drop network – i.e. many devices can communicate with each other over a single two wire cable connection. The RS485 cable requires to be terminated at each end of the cable. Links are provided to allow the cable to be terminated if the device is physically positioned at either end of the cable. Copyright © 2011 Future Technology Devices International Limited 25 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.4 FT245 Synchronous FIFO Interface Mode Description When FT232H is configured in an FT245 Synchronous FIFO interface mode the IO timing of the signals used are shown in Figure 4.4 which shows details for read and write accesses. The timings are shown in Figure 4.4.Note that only a read or a write cycle can be performed at any one time. Data is read or written on the rising edge of the CLKOUT clock. Figure 4.4 FT245 Synchronous FIFO Interface Signal Waveforms Copyright © 2011 Future Technology Devices International Limited 26 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Name t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 Min 7.5 7.5 0 0 0 7.5 0 7.5 0 0 7.5 0 7.5 0 Nom 16.67 8.33 8.33 9 9 9 9 Max 9.17 9.17 Units ns ns ns ns ns ns ns ns ns ns ns ns ns ns Comments CLKOUT period CLKOUT high period CLKOUT low period CLKOUT to RXF# CLKOUT to read DATA valid OE# to read DATA valid OE# setup time OE# hold time RD# setup time to CLKOUT (RD# low after OE# low) RD# hold time CLKOUT TO TXE# Write DATA setup time Write DATA hold time WR# setup time to CLKOUT (WR# low after TXE# low) WR# hold time Table 4.1 FT245 Synchronous FIFO Interface Signal Timings This mode uses a synchronous interface to get high data transfer speeds. The chip drives a 60 MHz CLKOUT clock for the external system to use. Note that Asynchronous FIFO mode must be selected in the EEPROM before selecting the Synchronous FIFO mode in software. 4.4.1 FT245 Synchronous FIFO Read Operation A read operation is started when the chip drives RXF# low. The external system can then drive OE# low to turn the data bus drivers around before acknowledging the data with the RD# signal going low. The first data byte is on the bus after OE# is low. The external system can burst the data out of the chip by keeping RD# low or it can insert wait states in the RD# signal. If there is more data to be read it will change on the clock following RD# sampled low. Once all the data has been consumed, the chip will drive RXF# high. Any data that appears on the data bus, after RXF# is high, is invalid and should be ignored. 4.4.2 FT245 Synchronous FIFO Write Operation A write operation can be started when TXE# is low. WR# is brought low when the data is valid. A burst operation can be done on every clock providing TXE# is still low. The external system must monitor TXE# and its own WR# to check that data has been accepted. Both TXE# and WR# must be low for data to be accepted. Copyright © 2011 Future Technology Devices International Limited 27 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.5 FT245 Style Asynchronous FIFO Interface Mode Description The FT232H can be configured as an asynchronous FIFO interface. This mode is similar to the synchronous FIFO interface with the exception that the data is written to or read from the FIFO on the falling edge of the WR# or RD# signals. This mode does not provide a CLKOUT signal and it does not expect an OE# input signal. The following diagrams illustrate the asynchronous FIFO mode timing. Figure 4.5 FT245 Asynchronous FIFO Interface READ Signal Waveforms Figure 4.6 FT245 Asynchronous FIFO Interface WRITE Signal Waveforms Time Description Min Max 1 14 Units T1 RD# inactive to RXF# T2 RXF# inactive after RD# cycle T3 RD# to DATA T4 RD# active pulse width 30 ns T5 RD# active after RXF# 0 ns T6 WR# active to TXE# inactive 1 T7 TXE# active to TXE# after WR# cycle T8 T9 49 1 ns ns 14 14 ns ns 49 ns DATA to WR# active setup time 5 ns DATA hold time after WR# inactive 5 ns T10 WR# active pulse width 30 ns T11 WR# active after TXE# 0 ns Table 4.2 Asynchronous FIFO Timings (based on standard drive level outputs) Copyright © 2011 Future Technology Devices International Limited 28 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.6 FT1248 Interface Mode Description The FT232H supports a half duplex FT1248 Interface that provides a flexible data communication and high performance interface between the FT232H as a FT1248 slave and an external FT1248 master. The FT1248 protocol is a dynamic bi-directional data bus interface that can be configured as 1, 2, 4, or 8-bits wide. FPGA (FT1248 Master) FT232H (FT1248 Slave) SCLK SCLK MIOSIO [7:0] MIOSIO MISO MISO SS# SS# Figure 4.7 FT1248 Bus with Single Master and Slave. In the FT1248 there are 3 distinct phases: While SS_n is inactive, the FT1248 reflects the status of the write buffer and read buffers on the MIOSIO[0] and MISO wires respectively. Additionally, the FT1248 slave block supports multiple slave devices where a master can communicate with multiple FT1248 slave devices. When the slave is sharing buses with other FT1248 slave devices, the write and read buffer status cannot be reflected on the MIOSIO[0] and MISO wires during SS_n inactivity as this would cause bus contention. Therefore, it is possible for the user to select whether they wish to have the buffer status switched on or off during inactivity. When SS_n is active a command/bus size phase occurs first. Following the command phase is the data phase, for each data byte transferred the FT1248 slave drives an ACK/NAK status onto the MISO wire. The master can send multiple data bytes so long as SS_n is active, if a unsuccessful data transfer occurs, i.e. a NAK happens on the MISO wire then the master should immediately abort the transfer by de-asserting SS_n. CLK SCLK WRITE READ SS_n WRITE DATA BUS TURNAROUND MIOSIO[0] MISO TXE# RXF# CMD RDATA0 STATUS RDATA1 RDATA2 TXE# STATUS STATUS RXF# CMD WDATA 0 STATUS WDATA 1 TXE# STATUS RXF# Figure 4.8: FT1248 Basic Waveform Protocol. Section 4.6.2 illustrates the FT1248 write and read protocol operating in 1-bit mode. For details regarding 2-bit, 4-bit and 8-bit modes, please refer to application note AN_167_FT1248 Parallel Serial Interface Basics available at http://www.ftdichip.com. Copyright © 2011 Future Technology Devices International Limited 29 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.6.1 Bus Width Protocol Decode In order for the FT1248 master to determine the bus width within the command phase the bus width is encoded along with the actual commands on the first active clock edge when SS_n is active and has a data width of 8-bits. If any of the MIOSIO [7:4] signals are low then the data transfer width equals 8-bits If any of the MIOSIO [3:2] signals are low then the data transfer width equals 4-bits If MIOSIO [1] signal is low then the data transfer width equals 2-bits Else the bus width is defaulted to 1-bit Please note that if both of the MIOSIO bit signals are low then the data transfer width is equal to the width of high priority MIOSIO bit signal. For example if both of the MIOSIO [7:3] signals are low then the data transfer width equals 8-bits or if both of the MIOSIO [3:1] signals are low then the data transfer width equals 4-bits In order to successfully decode the bus width, all MIOSIO signals must have pull up resistors. By default, all MIOSIO signals shall be seen by the FT232H in FT1248 mode as logic „1‟. This means that when a FT1248 master does not wish to use certain MIOSIO signals the slave (FT232H) is still capable of determining the requested bus width since any unused MIOSIO signals shall be pull up in the slave. The remaining bits used during the command phase are used to contain the command itself which means that it is possible to define up to 16 unique commands. LSB CMD[3] 1-bit Bus Width 2-bit Bus Width 4-bit Bus Width 8-bit Bus Width MSB BWID 2-bit BWID 4-bit CMD[2] BWID 8-bit CMD[1] CMD[0] X 0 1 2 3 4 5 6 7 CMD[3] X X CMD[2] X CMD[1] CMD[0] X 0 1 2 3 4 5 6 7 CMD[3] 0 X CMD[2] X CMD[1] CMD[0] X 0 1 2 3 4 5 6 7 CMD[3] X 0 CMD[2] X CMD[1] CMD[0] X 0 1 2 3 4 5 6 7 CMD[3] X X CMD[2] 0 CMD[1] CMD[0] X 0 1 2 3 4 5 6 7 Figure 4.9: FT1248 Command Structure For more details about FT1248 Interface, please refer to application note AN_167_FT1248 Parallel Serial Interface Basics available at http://www.ftdichip.com. Copyright © 2011 Future Technology Devices International Limited 30 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.6.2 FT1248: 1-bit interface The FT1248 Interface transfers data over different bus widths (1-bit, 2-bit, 4-bit and 8-bit). Figure 4.21 and Figure 4.22 illustrates the waveform detailing the FT1248 write and read protocol operating in 1-bit mode with flow control. Please refer to the application notes AN_167_FT1248 Parallel Serial Interface Basics available at http://www.ftdichip.com for more details regarding 1-bit without flow control, 2-bit, 4bit and 8-bit modes. SCLK SS_n COMMAND PHASE WRITE DATA BUS TURNAROUND MIOSIO[0] TXE# CMD3 0 0 BUS TURNAROUND CMD2 0 CMD1 CMD0 B6 B5 B4 B3 B2 B1 B0 TXE# PULLED HIGH MIOSIO[7:1] MISO B7 BUS TURNAROUND RXF# TXE# RXF# ACK Figure 4.10: FT1248 1-bit Mode Protocol (WRITE) SCLK SS_n COMMAND PHASE READ DATA BUS TURNAROUND MIOSIO[0] TXE# CMD3 0 0 BUS TURNAROUND CMD2 0 CMD1 CMD0 B6 B5 B4 B3 B2 B1 B0 TXE# PULLED HIGH MIOSIO[7:1] MISO B7 RXF# RXF# ACK RXF# Figure 4.11: FT1248 1-bit Mode Protocol (READ) Copyright © 2011 Future Technology Devices International Limited 31 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 When SS_n is inactive the write buffer and read buffer status is reflected on the MIOSIO[0] and MISO signals respectively. When the master wishes to initiate a data transfer, SS_n becomes active. As soon as SS_n becomes active the SPI slave immediately stops driving the MIOSIO[0] signal and SPI master is not allowed to begin driving the MIOSIO[0] signal until the first clock edge, this ensures that bus contention is avoided. On the first clock edge the command is shifted out for 7 clocks, on the 8 th clock cycle a bus turnaround is required. The bus turnaround is required as the slave may be required to drive the MIOSIO[0] bus with read data. The data phase occurs in response to the command and so long as SS_n remains active. The data phase in 1-bit mode requires 8 clock cycles where the MIOSIO[0] signal transfers the requested write or read data. The MISO signal indicates to the master the success of the transfer with an ACK or NAK. The status is reflected through the whole of the data phase and is valid from the first clock edge. If the master is writing data to the slave, then on the last clock edge before it de-asserts SS_n must tri-state the MIOSIO[0] signal to enable the bus to be “turned” around as when SS_n becomes inactive the FT1248 slave shall begin to drive the write buffer status onto the MIOSIO[0] signal. When the SPI slave is driving the MIOSIO[0] (the master is reading data) no bus turnaround is required as when SS_n becomes inactive it is required to drive the write buffer status to the FT1248 master. Copyright © 2011 Future Technology Devices International Limited 32 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.7 Synchronous and Asynchronous Bit-Bang Interface Mode The FT232H can be configured as a bit-bang interface. There are two types of bit-bang modes: synchronous and asynchronous. See application note AN2232-02 Bit Mode Functions for the FT232 for more details and examples of using both Synchronous and Asynchronous bit-bang modes. 4.7.1 Asynchronous Bit-Bang Mode Asynchronous Bit-Bang mode is the same as BM-style Bit-Bang mode, except that the internal RD# and WR# strobes (RDSTB# and WRSTB#) are now brought out of the device to allow external logic to be clocked by accesses to the bit-bang IO bus. Any data written to the device in the normal manner will be self clocked onto the data pins (those which have been configured as outputs). Each pin can be independently set as an input or an output. The rate that the data is clocked out at is controlled by the baud rate generator. New data must be written, and the baud rate clock should tick to change the data. If no new data is written to the chip, the pins configured for output will hold the last value written. Asynchronous Bit-Bang mode is enabled using the FT_SetBitMode D2xx driver command with a hex value of 0x01. 4.7.2 Synchronous Bit-Bang Mode The synchronous Bit-Bang mode will only update the output parallel port pins whenever data is sent from the USB interface to the parallel interface. When this is done, the WRSTB# will activate to indicate that the data has been read from the USB Rx FIFO buffer and written out on the pins. Data can only be received from the parallel pins (to the USB Tx FIFO interface) after the parallel interface has been written to. With Synchronous Bit-Bang mode data will only be sent out by the FT232H if there is space in the FT232H USB TXFIFO for data to be read from the parallel interface pins. This Synchronous Bit-Bang mode will read the data bus parallel I/O pins first, before it transmits data from the USB RxFIFO. It is therefore 1 byte behind the output, and so to read the inputs for the byte that you have just sent, another byte must be sent. For example: (1) Pins start at 0xFF Send 0x55, 0xAA Pins go to 0x55 and then to 0xAA Data read = 0xFF,0x55 (2) Pins start at 0xFF Send 0x55, 0xAA, 0xAA (repeat the last byte sent) Pins go to 0x55 and then to 0xAA Data read = 0xFF, 0x55, 0xAA Synchronous Bit-Bang Mode differs from Asynchronous Bit-Bang mode in that the device parallel output is only read when the parallel output is written to by the USB interface. This makes it easier for the controlling program to measure the response to a USB output stimulus as the data returned to the USB interface is synchronous to the output data. Synchronous Bit-Bang mode is enabled using Set Bit Bang Mode driver command with a hex value of 0x04. An example of the synchronous bit-bang mode timing is shown in Figure 4.12 Copyright © 2011 Future Technology Devices International Limited 33 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 WRSTB# RDSTB# Figure 4.12 Synchronous Bit-Bang Mode Timing Interface Example WRSTB# = this output indicates when new data has been written to the I/O pins from the Host PC (via the USB interface). Name t1 Description Current pin state is read RDSTB# is set inactive and data on the parallel I/O pins is read and sent to the USB host. RDSTB# is set active again, and any pins that are output will change to their new data t2 t3 t4 1 clock cycle to allow for data setup WRSTB# goes active. This indicates that the host PC has written new data to the I/O parallel data pins t5 t6 WRSTB# goes inactive Table 4.3 Synchronous Bit-Bang Mode Timing Interface Example Timings RDSTB# = this output rising edge indicates when data has been read from the I/O pins and sent to the Host PC (via the USB interface). The WRSTB# goes active in t5. The WRSTB# goes active when data is read from the USB RXFIFO (i.e. sent from the PC). The RDSTB# goes inactive when data is sampled from the pins and written to the USB TXFIFO (i.e. sent to the PC). The SETUP command to the FT232H is used to setup the bit-mode. This command also contains a byte wide data mask to set the direction of each bit. The direction on each pin doesn‟t change unless a new SETUP command is used to modify the direction. The WRSTB# and RDSTB# strobes are only a guide to what may be happening depending on the direction of the bus. For example if all pins are configured as inputs, it is still necessary to write to these pins in order to get the FT232H to read those pins even though the data written will never appear on the pins. Signals and data-flow are illustrated in Figure 4.13 WRSTB# USB Rx FIFO/ Buffer USB Parallel I/O data Parallel I/O pins USB Tx FIFO/ Buffer RDSTB# Figure 4.13 Bit-bang Mode Dataflow Illustration Diagram. Copyright © 2011 Future Technology Devices International Limited 34 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.8 MPSSE Interface Mode Description. MPSSE Mode is designed to allow the FT232H to interface efficiently with synchronous serial protocols such as JTAG, I2C and SPI (MASTER) Bus. It can also be used to program SRAM based FPGA‟s over USB. The MPSSE interface is designed to be flexible so that it can be configured to allow any synchronous serial protocol (industry standard or proprietary) to be implemented using the FT232H. MPSSE is fully configurable, and is programmed by sending commands down the data stream. These can be sent individually or more efficiently in packets. MPSSE is capable of a maximum sustained data rate of 30 Mbits/s. When the FT232H is configured in MPSSE mode, the IO timing and signals used are shown in Figure 4.14 and Table 4.4 These show timings for CLKOUT=30MHz. CLKOUT can be divided internally to be provide a slower clock. Figure 4.14 MPSSE Signal Waveforms Name t1 t2 t3 t4 t5 t6 Min 7.5 7.5 1 0 11 Typ 16.67 8.33 8.33 Max Units 15.15 ns 9.17 ns 9.17 ns 7.15 ns ns ns Comments CLKOUT period CLKOUT high period CLKOUT low period CLKOUT to TDI/DO delay TDI/DO hold time TDI/DO setup time Table 4.4 MPSSE Signal Timings Copyright © 2011 Future Technology Devices International Limited 35 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 MPSSE mode is enabled using the FT_SetBitMode D2xx driver command with a hex value of 0x02. A hex value of 0x00 will reset the device. See application note AN135 – MPSSE Basics for more details and examples. The MPSSE command set is fully described in application note AN108 - Command Processor For MPSSE and MCU Host Bus Emulation Modes 4.8.1 MPSSE Adaptive Clocking The Adaptive Clock mode correlates the CLK signal with a return clock RTCK. This is a technique used by ARM® processors. The FT232H will assert the TCK line and wait for the RTCK to be returned from the target device to GPIOL3 line before changing the TDO (data out line). TDO TCK GPIOL3 RTCK ARM CPU FT2232H Figure 4.15 Adaptive Clocking Interconnect TDO changes on falling edge of TCK TDO TCK RTCK Figure 4.16: Adaptive Clocking waveform. Adaptive clocking is not enabled by default. For further details on MPSSE adaptive clocking please refer to AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes Copyright © 2011 Future Technology Devices International Limited 36 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.9 Fast Serial Interface Mode Description Fast Serial Interface Mode provides a method of communicating with an external device over USB using 4 wires that can have opto-isolators in their path, thus providing galvanic isolation between systems. Fast serial mode is enabled by setting the appropriate bits in the external EEPROM. The fast serial mode can be held in reset by setting a bit value of 0x10 using the FT_SetBitMode D2xx driver command. While this bit is set the device is held reset – data can be sent to the device, but it will not be sent out by the device until the device is enabled again. This is done by sending a bit value of 0x00 using the Set Bit Mode command. When the FT232H is configured in Fast Serial Interface mode the IO timing of the signals used are shown in Figure 4.17 and the timings are shown in Table 4.5 Fast Serial Interface Signal Timings. Figure 4.17 Fast Serial Interface Signal Waveforms Name Minimum Typical Maximu Units Description t1 5 ns FSDO/FSC TS hold time t2 5 ns FSDO/FSC TS setup time t3 5 ns FSDI hold time t4 10 ns FSDI Setup Time t5 10 ns FSC LK low t6 10 ns FSC LK high t7 20 ns FSC LK Period Table 4.5 Fast Serial Interface Signal Timings Copyright © 2011 Future Technology Devices International Limited 37 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.9.1 Outgoing Fast Serial Data To send fast serial data out of the FT232H, the external device must drive the FSCLK clock. If the FT232H has data ready to send, it will drive FSDO output low to indicate the start bit. It will not do this if it is currently receiving data from the external device. This is illustrated in Figure 4.18 FSCLK 0 Start Bit FSDO D0 D1 D2 D3 D4 D5 D6 D7 Data Bits - LSB first SRCE Source Bit Figure 4.18 Fast Serial Interface Output Data Notes :1. The first bit output (Start bit) is always 0. 2. FSDO is always sent LSB first. 3. The last serial bit output is the source bit (SRCE) is always 0. 4. If the target device is unable to accept the data when it detects the START bit, it should stop the FSCLK until it can accept the data. 4.9.2 Incoming Fast Serial Data An external device is allowed to send data into the FT232H if FSCTS is high. On receipt of a zero START bit on FSDI, the FT232H will drop FSCTS on the next positive clock edge. The data from bits 0 to 7 are then clocked in (LSB first). The last bit (DEST) determines where the data will be written to. This bit is always 0 with the FT232H. This is illustrated in Figure 4.19 FSCTS FSCLK FSDI 0 Start Bit D0 D1 D2 D3 D4 D5 Data Bits - LSB first D6 D7 DEST Destination Bit Figure 4.19 Fast Serial Interface Input Data Notes:1. The first bit input (Start bit) is always 0. 2. FSDI is always received LSB first. 3. The last received serial bit is the destination bit (DEST) is always 0. 4. The target device should ensure that FSCTS is high before it sends data. FSCTS goes low after data bit 0 (D0) and stays low until the chip can accept more data. Copyright © 2011 Future Technology Devices International Limited 38 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.9.3 Fast Serial Data Interface Example Figure 4.20 shows example of two Agilent HCPL-2430 (see the semiconductor section at www.avagotech.com) Hi-Speed opto-couplers used to optically isolate an external device which interfaced to USB using the FT232H. In this example VCC5V is the USB VBUS supply and VCCE is the supply to the external device. Care must be taken with the voltage used to power the photo-LED. It must be the same voltage as that which the FT232H I/Os are driving to, or the LED‟s may be permanently on. Limiting resistors should be fitted in the lines that drive the diodes. The outputs of the opto-couplers are open-collector and require a pull-up resistor. Figure 4.20 Fast Serial Interface Example Copyright © 2011 Future Technology Devices International Limited 39 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.10 CPU-style FIFO Interface Mode Description CPU-style FIFO interface mode is designed to allow a CPU to interface to USB via the FT232H. This mode is enabled in the external EEPROM. The interface is achieved using a chip select bit (CS#) and address bit (A0). When the FT232H is in CPU-style Interface mode, the IO signal lines are configured as given in Table 4.6. This mode uses a combination of CS# and A0 to determine the operation to be carried out. The following Truth-Table 4.7 gives the decode values for particular operations. CS# A0 RD# WR 1 X X X 0 0 Read Data Pipe Write Data Pipe 0 1 Read Status Send Immediate Table 4.6 CPU-Style FIFO Interface Operation Select The Status read is shown in Table 4.7 Data Bit Data Status bit 0 1 Data available (=RXF) bit 1 1 Space available (=TXE) bit 2 1 Suspend bit 3 1 Configured bit 4 X X bit 5 X X bit 6 X X bit 7 X X Table 4.7 CPU-Style FIFO Interface Operation Read Status Description Note that bits 7 to 4 can be arbitrary values and that X= not used. The timing of reading and writing in this mode is shown in Figure 4.21 and Table 4.8. A0 Valid Valid CS# WR# t3 t1 t4 t6 RD# D7..0 Valid t2 Valid t5 t7 Figure 4.21 CPU-Style FIFO Interface Operation Signal Waveforms. Copyright © 2011 Future Technology Devices International Limited 40 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Data Bit Nom t1 Max Units Comment TBD ns A0 / CS Setup to WR# t2 TBD ns Data setup to WR# t3 TBD ns WR# Pulse width t4 TBD ns A0/CS Hold from WR# t5 TBD ns Data hold from WR# t6 TBD ns A0/CS Setup to RD# t7 TBD ns Data delay from RD# t8 TBD ns A0/CS hold from RD# t9 TBD ns Data hold from RD# Table 4.8 CPU-Style FIFO Interface Operation Signal Timing. An example of the CPU-style FIFO interface connection is shown in Figure 4.22 Figure 4.22 CPU-Style FIFO Interface Example Copyright © 2011 Future Technology Devices International Limited 41 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.11 RS232 UART Mode LED Interface Description When configured in UART mode the FT232H has two IO pins dedicated to controlling LED status indicators, one for transmitted data the other for received data. When data is being transmitted or received the respective pins drive from tri-state to low in order to provide indication on the LED‟s of data transfer. A digital one-shot timer is used so that even a small percentage of data transfer is visible to the end user. Figure 4.23 Dual LED UART Configuration Figure 4.23 shows a configuration using two individual LED‟s – one for transmitted data the other for received data. Figure 4.24 Single LED UART Configuration In Figure 4.24 transmit and receive LED indicators are wire-OR‟ed together to give a single LED indicator which indicates any transmit or receive data activity. Note that the LED‟s are connected to the same supply as VCCIO. Copyright © 2011 Future Technology Devices International Limited 42 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.12 Send Immediate / Wake Up (SIWU#) The SIWU# pin is available in the FIFO modes and in bit bang mode. The Send Immediate portion is used to flush data from the chip back to the PC. This can be used to force short packets of data back to the PC without waiting for the latency timer to expire. To avoid overrunning, this mechanism should only be used when a process of sending data to the chip has been stopped. The data transfer is flagged to the USB host by the falling edge of the SIWU# signal. The USB host will schedule the data transfer on the next USB packet. CLKOUT WR# D7-D0 SIWU# Figure 4.25: Using SIWU# When the pin is being used for a Wake Up function to wake up a sleeping PC a 20ms negative pulse on this pin is required. Notes 1. When using remote wake-up, ensure the resistors are pulled-up in suspend. Also ensure peripheral designs do not allow any current sink paths that may partially power the peripheral. 2. If remote wake-up is enabled, a peripheral is allowed to draw up to 2.5mA in suspend. If remote wake-up is disabled, the peripheral must draw no more than 500uA in suspend. 3. If a Pull-down is enabled, the FT232H will not wake up from suspend when using SIWU# 4.In UART mode the RI# pin acts as the wake up pin. Copyright © 2011 Future Technology Devices International Limited 43 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.13 FT232H Mode Selection The FT232H defaults to asynchronous serial interface (UART) mode of operation. After a reset the required mode is determined by the contents of the external EEPROM which can be programmed using FT_Prog. The EEPROM contents determine if the FT232H device is configured as FT232 asynchronous serial interface, FT245 FIFO interface, CPU-style FIFO interface, FT1248 or Fast Serial Interface. Following a reset, the EEPROM is read and the FT232H configured for the selected mode. After device enumeration, the FT_SetBitMode command (refer to D2XX_Programmers_Guide) can be sent to the USB driver to switch the selected interface into other modes – asynchronous bit-bang, synchronous bitbang or MPSSE – if required. When in FT245 FIFO mode, the FT_SetBitMode command can be used to select Synchronous FIFO (FT_SetBitMode = 0x40). Note that FT245 FIFO mode must be configured in the EEPROM before selecting the Synchronous FIFO mode. The drive strength selection, slew rate and Schmitt input function can also be configured in the EEPROM. The MPSSE can be configured directly using the D2XX commands. The D2XX_Programmers_Guide is available from the FTDI website. The application note AN_108 – Command Processor for MPSSE and MCU Host Bus Emulation Modes gives further explanation and examples for the MPSSE. Copyright © 2011 Future Technology Devices International Limited 44 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 4.14 Modes Configurations This section summarises what modes are configurable using the external EEPROM or the application software. EEPROM configured ASYNC Serial UART STYLE ASYNC 245 FIFO SYNC 245 PARALLEL FIFO FT1248 ASYNC BitBang SYNC BitBang MPSSE Fast Serial Interface CPUStyle FIFO YES YES YES YES NO NO NO YES YES YES YES RESET NO Application Software NO NO YES NO YES configured Table 4.9 Configuration Using EEPROM and Application Software Note: 1. The Synchronous 245 FIFO mode requires both the EEPROM and application software mode settings 2. The application software can be used to reset the fast serial interface controller Copyright © 2011 Future Technology Devices International Limited 45 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 5 Devices Characteristics and Ratings 5.1 Absolute Maximum Ratings The absolute maximum ratings for the FT232H devices are as follows. These are in accordance with the Absolute Maximum Rating System (IEC 60134). Exceeding these values may cause permanent damage to the device. Parameter Value Unit Storage Temperature -65°C to 150°C Degrees C Conditions 168 Hours Floor Life (Out of Bag) At Factory Ambient (30°C / 60% Relative Humidity) (IPC/JEDEC JSTD-033A MSL Level 3 Compliant)* Ambient Operating Temperature (Power Applied) -40°C to 85°C Degrees C MTTF FT232HL TBD Hours MTTF FT232HL TBD Hours VCORE Supply Voltage -0.3 to +2.0 V VCCIO IO Voltage -0.3 to +4.0 V DC Input Voltage – USBDP and USBDM -0.5 to +3.63 V -0.3 to +5.8 V 16 mA DC Input Voltage – High Impedance Bi-directionals (powered from VCCIO) DC Output Current – Outputs Hours Table 5.1 Absolute Maximum Ratings * If devices are stored out of the packaging beyond this time limit the devices should be baked before use. The devices should be ramped up to a temperature of +125°C and baked for up to 17 hours. Copyright © 2011 Future Technology Devices International Limited 46 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 5.2 DC Characteristics The I/O pins are +3.3v cells, which are +5V tolerant (except the USB PHY pins). DC Characteristics (Ambient Temperature = -40°C to +85°C) Parameter Description Minimum Typical Maximum Units VCORE VCC Core Operating Supply Voltage 1.62 1.8 1.98 V VCCIO* VCCIO Operating Supply Voltage 2.97 3.63 V Cells are 5V tolerant VREGIN Voltage regulator Input 3.6 5 5.5 V 5 volt input to VREGIN 3.3 Volts VREGIN Voltage regulator Input 3.3 3.3 3.6 V 3.3 volt input to VREGIN Ireg Regulator Current 54 mA VREGIN +5V Ireg Regulator Current 52 mA VREGIN +3.3V Icc1 Core Operating Supply Current 24 mA Icc1r Core Reset Supply Current 4.3 mA Icc1s Core Suspend Supply Current 330 µA VREGIN 5 Volts VREGIN Conditions VCORE = +1.8V Normal Operation VCORE = +1.8V Device in reset state VCORE = +1.8V USB Suspend Table 5.2 Operating Voltage and Current (except PHY) *NOTE: Failure to connect all VCCIO pins of the device will have unpredictable behaviour. Copyright © 2011 Future Technology Devices International Limited 47 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 The I/O pins are +3.3v cells, which are +5V tolerant (except the USB PHY pins). Parameter Description Minimum Typical Maximum Units Conditions 2.4 VCCIO VCCIO V 2.4 VCCIO VCCIO V I/O Drive strength* = 8mA 2.4 VCCIO VCCIO V I/O Drive strength* = 12mA 2.4 VCCIO VCCIO V I/O Drive strength* = 16mA 0 0.4 V 0 0.4 V I/O Drive strength* = 8mA 0 0.4 V I/O Drive strength* = 12mA 0 0.4 V I/O Drive strength* = 16mA 0.8 V LVTTL V LVTTL 1.5 V LVTTL 1.1 V Ioh = +/-2mA Voh Output Voltage High I/O Drive strength* = 4mA Iol = +/-2mA Vol Output Voltage Low Vil Input low Switching Threshold Vih Input High Switching Threshold Vt Switching Threshold Vt- Schmitt trigger negative going threshold voltage Vt+ Schmitt trigger positive going threshold voltage Rpu Input pull-up resistance Rpd Iin 2.0 0.8 I/O Drive strength* = 4mA 1.6 2.0 V 40 75 190 KΩ Vin = 0 Input pull-down resistance 40 75 190 KΩ Vin =VCCIO Input Leakage Current -10 +/-1 10 μA Vin = 0 μA Vin = 5.5V or 0 Tri-state output leakage -10 +/-1 10 current Table 5.3 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) Ioz * The I/O drive strength and slow slew-rate are configurable in the EEPROM. Copyright © 2011 Future Technology Devices International Limited 48 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 DC Characteristics (Ambient Temperature = -40°C to +85°C) Parameter Description Minimum Typical Maximum Units Conditions VPHY, PHY Operating Supply Voltage 3.0 3.3 3.6 V 3.3V I/O PHY Operating Supply Current --- 30 60 mA Hi-speed operation at 480 MHz PHY Operating Supply Current --- 10 50 μA USB Suspend Typical Maximum Units Conditions VPLL Iccphy Iccphy (susp) Table 5.4 PHY Operating Voltage and Current Parameter Description Minimum Voh Output Voltage High VCORE0.2 Vol Output Voltage Low Vil Input low Switching Threshold Vih Input High Switching Threshold V 2.0 0.2 V 0.8 V - V Table 5.5 PHY I/O Pin Characteristics 5.3 ESD Tolerance ESD protection for FT232H IO‟s Parameter Reference Human Body Model (HBM) JEDEC EIA/JESD22A114-B, Class 2 ±2kV kV Machine Mode (MM) JEDEC EIA/JESD22A115-A, Class B ±200V V ±500V V ±200mA mA Charge Device Model (CDM) JEDEC EIA/ JESD22-C101- Latch-up JESD78, Trigger Class-II D, Class-III Minimum Typical Maximum Units Table 5.6 ESD Tolerance Copyright © 2011 Future Technology Devices International Limited 49 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 6 FT232H Configurations The following section illustrates possible USB power configurations for the FT232H. All USB power configurations illustrated apply to both package options for the FT232H device 6.1 USB Bus Powered Configuration Bus Powered Application example 1: Bus powered configuration running on +5V Figure 6.1 Bus Powered Configuration Example 1 Figure 6.1 illustrates the FT232H in a typical USB bus powered design configuration. A USB bus powered device gets its power from the VBUS (+5V) which is connected to VREGIN. In this application, the VREGIN is the +5V input to the on chip +3.3V/1.8V regulator. The output of the on chip LDO regulator (+1.8V) drives pin 38, (VCORE), and pin 37, (VCCA). The output of the on chip LDO regulator (3.3V) supplies 3.3V to the VCCIOs, VPLL and VPHY through pin 39, VCCD. Please note that when the FT232H running on +5V (VREGIN), the VCCD becomes an output. Note: 1. In this application, pin 40 (VREGIN) is the +5V input to the on chip +3.3V/1.8V regulator. Since the VREGIN is +5.0V, pin 39 (VCCD) becomes 3V3 output and supplies 3.3V to the VCCIOs, VPLL and VPHY. 2. The output of the on chip LDO +3.3V/1.8V regulator (+1.8V) drives pin 38, the FT232H core supply (VCORE) and pin 37, the VCCA. Copyright © 2011 Future Technology Devices International Limited 50 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 6.2 USB Self Powered Configuration Self Powered application example 1: Self powered configuration running on 5V. Figure 6.2 Self Powered Configuration Example 1 Figure 6.2 illustrates the FT232H in a typical USB self powered configuration. A USB self powered device gets its power from its own external power supply which is connected to VREGIN. In this application the VREGIN is the +5V input to the on chip +3.3V/1.8V regulator. The output of the on chip LDO regulator (+1.8V) drives pin 38, VCORE and pin 37, VCCA. The output of the on chip LDO regulator (3.3V) supplies 3.3V to the VCCIOs, VPLL and VPHY through VCCD. Please note that when the FT232H running on +5V (VREGIN), the VCCD becomes an output. Note that in this set-up, the EEPROM should be configured for self-powered operation and the option “suspend on ACBUS7 low” is enabled in FT_Prog. This configuration uses the ACBUS7 pin, when this function is enabled ACBUS7 should not be used as a GPIO in MPSSE mode. Copyright © 2011 Future Technology Devices International Limited 51 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 6.2.1 Self Powered application example 2 Self powered configuration running on 3.3V Figure 6.3 Self Powered Configuration Example 2 Figure 6.3 illustrates the FT232H in a typical USB self powered configuration similar to Figure 6.2. The difference here is that the VREGIN is connected to the external 3V3 LDO regulator output which supplies 3.3V to the VCCIOs, VCCD, VPLL and VPHY. Please note that when the FT232H running on +3V3 (VREGIN), the VCCD becomes an input. In this application the VREGIN is the +3V3 input to the on chip+3.3V/1.8V regulator. The output of the on chip LDO regulator (+1.8V) drives pin 38, VCORE and pin 37, VCCA. Note that in this set-up, the EEPROM should be configured for self-powered operation and the option “suspend on ACBUS7 low” selected in FT_Prog . Self-power mode requires ACBUS7 which prevents the use of MPSSE mode. Copyright © 2011 Future Technology Devices International Limited 52 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 6.3 Oscillator Configuration Figure 6.4 Recommended FT232H Oscillator Configuration Figure 6.4 illustrates how to connect the FT232H with a 12MHz ± 0.003% crystal. In this case loading capacitors should to be added between OSCI, OSCO and GND as shown. A value of 27pF is shown as the capacitor in the example – this will be good for many crystals but it is recommended to select the loading capacitor value based on the manufacturer‟s recommendations wherever possible. It is recommended to use a fundamental mode, parallel cut type crystal. It is also possible to use a 12 MHz Oscillator with the FT232H. In this case the output of the oscillator would drive OSCI, and OSCO should be left unconnected. The oscillator must have a CMOS output drive capability. Parameter Description Minimum Typical Maximum Units OSCI Vin Input Voltage 2.97 3.3V 3.63 V FIn Input Frequency 12MHz MHz Ji Cycle to cycle jitter <150 pS Conditions ± 30ppm Table 6.1 OSCI Input characteristics Copyright © 2011 Future Technology Devices International Limited 53 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 7 EEPROM Configuration 7.1 EEPROM Interface The FT232H uses configuration data from an external EEPROM. The EEPROM must be 16 bits wide (93LC56B) and powered from the same net as the core supply of +2.97 to +3.63 volts. Adding an external (93LC56B) EEPROM allows the chip to be configured as a serial UART (RS232 mode), parallel FIFO (245) mode, FT1248, fast serial (opto isolation) or CPU-Style FIFO. Figure 7.1 EEPROM Interface The external EEPROM can also be used to customise the USB VID, PID, Serial Number, Product Description Strings and Power Descriptor value of the FT232H for OEM applications. Other parameters controlled by the EEPROM include Remote Wake Up, Soft Pull Down on Power-Off and I/O pin drive strength. If the FT232H is used without an external EEPROM the chip defaults to a USB to asynchronous serial UART (RS232 mode) port device. If no EEPROM is connected (or the EEPROM is blank), the FT232H uses its built-in default VID (0403), PID (6014) Product Description and Power Descriptor Value. In this case, the device will not have a serial number as part of the USB descriptor. Copyright © 2011 Future Technology Devices International Limited 54 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 7.2 Default EEPROM Configuration The external EEPROM (if it‟s fitted) can be programmed over USB using FT_Prog. This allows a blank part to be soldered onto the PCB and programmed as part of the manufacturing and test process. Users who do not have their own USB Vendor ID but who would like to use a unique Product ID in their design can apply to FTDI for a free block of unique PIDs. Contact FTDI support for this service. Parameter Value Notes USB Vendor ID (VID) 0403h FTDI default VID (hex) USB Product UD (PID) 6014h FTDI default PID (hex) bcd Device 009h Serial Number Enabled? Yes Serial Number See Note A unique serial number is generated and programmed into the EEPROM during device final test. Pull down I/O Pins in USB Suspend Disabled Enabling this option will make the device pull down on the UART interface lines when in USB suspend mode (PWREN# is high). Manufacturer Name FTDI Product Description Single-RS232-HS Max Bus Power Current 90mA Power Source Bus Powered Device Type FT232H USB Version 0200 Returns USB 2.0 device description to the host. Note: The device is a USB 2.0 Full Speed device (12Mb/s) as opposed to a USB 2.0 Hi-Speed device (480Mb/s). Remote Wake Up Enabled Taking RI# low will wake up the USB host controller from suspend in approximately 20 ms. Hardware Interface UART Allows the user to select the hardware mode of the device. Options include: RS232 UART, 245 FIFO, CPU 245, OPTO Isolate and FT1248. FT1248 Settings 00h FT1248 can be configured to set: Clock Polarity High; Bit Order LSB and Flow Control Not Selected. Suspend ACBus7 Low Disabled High Current I/Os Disabled Enables the high drive level on the UART and ACBUS I/O pins. Load VCP Driver Enabled Makes the device load the VCP driver interface Enters low power state on ACBus7. Copyright © 2011 Future Technology Devices International Limited 55 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Parameter Value Notes for the device. ACBUS0 TriSt-PU Default configuration of ACBUS0 – Input pulled up ACBUS1 TriSt-PU Default configuration of ACBUS1 – Input pulled up ACBUS2 TriSt-PU Default configuration of ACBUS2 Input pulled up ACBUS3 TriSt-PU Default configuration of ACBUS3 – Input pulled up ACBUS4 TriSt-PU Default configuration of ACBUS4 – Input pulled up ACBUS5 TriSt-PU Default configuration of ACBUS5 – Input pulled up ACBUS6 TriSt-PU Default configuration of ACBUS6 – Input pulled up ACBUS7 TriSt-PD Default configuration of ACBUS7 – Input pulled down ACBUS8 TriSt-PU Default configuration of ACBUS8 – Input pulled up ACBUS9 TriSt-PU Default configuration of ACBUS9 – Input pulled up Table 7.1 Default External EEPROM Configuration Copyright © 2011 Future Technology Devices International Limited 56 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 8 Package Parameters The FT232H is available in two different packages. The FT232HL is the LQFP-48 option and the FT232HQ is the QFN-48 package option. The solder reflow profile for both packages is described in section 8.3 8.1 FT232HQ, QFN-48 Package Dimensions Figure 8.1 48 pin QFN Package Details Notes: 1. All dimensions are in mm. Copyright © 2011 Future Technology Devices International Limited 57 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 8.2 FT232HL, LQFP-48 Package Dimensions Figure 8.2 48 pin LQFP Package Details Notes: 1. All dimensions are in mm. Copyright © 2011 Future Technology Devices International Limited 58 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 8.3 Solder Reflow Profile Figure 8.3 48 pin LQFP and QFN Reflow Solder Profile Copyright © 2011 Future Technology Devices International Limited 59 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Pb Free Solder Process SnPb Eutectic and Pb free (non (green material) green material) Solder Process 3°C / second Max. 3°C / Second Max. Profile Feature Average Ramp Up Rate (Ts to Tp) Preheat - Temperature Min (Ts Min.) 150°C 100°C - Temperature Max (Ts Max.) 200°C 150°C - Time (ts Min to ts Max) 60 to 120 seconds 60 to 120 seconds 217°C 183°C 60 to 150 seconds 60 to 150 seconds Time Maintained Above Critical Temperature TL: - Temperature (TL) - Time (tL) Peak Temperature (Tp) 260°C Time within 5°C of actual Peak Temperature 30 to 40 seconds 20 to 40 seconds Ramp Down Rate 6°C / second Max. 6°C / second Max. Time for T= 25°C to Peak Temperature, Tp 8 minutes Max. 6 minutes Max. Volume mm3 < 350 Volume mm3 >=350 < 2.5 mm 235 +5/-0 deg C 220 +5/-0 deg C ≥ 2.5 mm 220 +5/-0 deg C 220 +5/-0 deg C (tp) Table 8.1 Reflow Profile Parameter Values SnPb Eutectic and Pb free (non green material) Package Thickness Pb Free (green material) = 260 +5/-0 deg C Table 8.2 Package Reflow Peak Temperature Copyright © 2011 Future Technology Devices International Limited 60 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 9 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) Web Site URL Web Shop URL [email protected] [email protected] [email protected] http://www.ftdichip.com 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) E-mail (Support) E-mail (General Enquiries) Web Site URL [email protected] [email protected] [email protected] 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) E-Mail (Support) E-Mail (General Enquiries) Web Site URL [email protected] [email protected] [email protected] http://www.ftdichip.com Branch Office – Shanghai, China Future Technology Devices International Limited (China) Room 408, 317 Xianxia Road, Shanghai, 200051 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) Web Site URL [email protected] [email protected] [email protected] http://www.ftdichip.com Copyright © 2011 Future Technology Devices International Limited 61 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 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 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 Copyright © 2011 Future Technology Devices International Limited 62 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Appendix A – List of Figures and Tables List of Tables Table 3.1 Power and Ground .......................................................................................................... 9 Table 3.2 Common Function pins .................................................................................................... 9 Table 3.3 EEPROM Interface Group ............................................................................................... 10 Table 3.4 UART Interface and ACBUS Group (see note 1) ................................................................ 11 Table 3.5 ACBUS Configuration Control ......................................................................................... 12 Table 3.6 UART Configured Pin Descriptions ................................................................................... 13 Table 3.7 FT245 Synchronous FIFO Configured Pin Descriptions ....................................................... 14 Table 3.8 FT245 Style Asynchronous FIFO Configured Pin Descriptions .............................................. 15 Table 3.9 Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions ................................... 16 Table 3.10 MPSSE Configured Pin Descriptions ............................................................................... 17 Table 3.11 Fast Serial Interface Configured Pin Descriptions............................................................. 18 Table 3.12 CPU-style FIFO Interface Configured Pin Descriptions ...................................................... 19 Table 3.13 FT1248 Configured Pin Descriptions .............................................................................. 20 Table 4.1 FT245 Synchronous FIFO Interface Signal Timings ............................................................ 27 Table 4.2 Asynchronous FIFO Timings (based on standard drive level outputs) ................................... 28 Table 4.3 Synchronous Bit-Bang Mode Timing Interface Example Timings .......................................... 34 Table 4.4 MPSSE Signal Timings ................................................................................................... 35 Table 4.5 Fast Serial Interface Signal Timings ................................................................................ 37 Table 4.6 CPU-Style FIFO Interface Operation Select ....................................................................... 40 Table 4.7 CPU-Style FIFO Interface Operation Read Status Description .............................................. 40 Table 4.8 CPU-Style FIFO Interface Operation Signal Timing. ........................................................... 41 Table 4.9 Configuration Using EEPROM and Application Software ...................................................... 45 Table 5.1 Absolute Maximum Ratings ............................................................................................ 46 Table 5.2 Operating Voltage and Current (except PHY) .................................................................... 47 Table 5.3 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) ........................................... 48 Table 5.4 PHY Operating Voltage and Current ................................................................................. 49 Table 5.5 PHY I/O Pin Characteristics ............................................................................................ 49 Table 5.6 ESD Tolerance .............................................................................................................. 49 Table 6.1 OSCI Input characteristics ............................................................................................. 53 Table 7.1 Default External EEPROM Configuration ........................................................................... 56 Table 8.1 Reflow Profile Parameter Values ..................................................................................... 60 Table 8.2 Package Reflow Peak Temperature .................................................................................. 60 Copyright © 2011 Future Technology Devices International Limited 63 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 List of Figures Figure 2.1 FT232H Block Diagram ................................................................................................... 4 Figure 3.1 FT232H Schematic Symbol ............................................................................................. 8 Figure 4.1 RS232 Configuration .................................................................................................... 23 Figure 4.2 Dual RS422 Configuration ............................................................................................. 24 Figure 4.3 Dual RS485 Configuration ............................................................................................. 25 Figure 4.4 FT245 Synchronous FIFO Interface Signal Waveforms ...................................................... 26 Figure 4.5 FT245 Asynchronous FIFO Interface READ Signal Waveforms ............................................ 28 Figure 4.6 FT245 Asynchronous FIFO Interface WRITE Signal Waveforms .......................................... 28 Figure 4.7 FT1248 Bus with Single Master and Slave. ...................................................................... 29 Figure 4.8: FT1248 Basic Waveform Protocol.................................................................................. 29 Figure 4.9: FT1248 Command Structure ........................................................................................ 30 Figure 4.10: FT1248 1-bit Mode Protocol (WRITE) .......................................................................... 31 Figure 4.11: FT1248 1-bit Mode Protocol (READ) ............................................................................ 31 Figure 4.12 Synchronous Bit-Bang Mode Timing Interface Example ................................................... 34 Figure 4.13 Bit-bang Mode Dataflow Illustration Diagram................................................................. 34 Figure 4.14 MPSSE Signal Waveforms ........................................................................................... 35 Figure 4.15 Adaptive Clocking Interconnect.................................................................................... 36 Figure 4.16: Adaptive Clocking waveform. ..................................................................................... 36 Figure 4.17 Fast Serial Interface Signal Waveforms......................................................................... 37 Figure 4.18 Fast Serial Interface Output Data ................................................................................. 38 Figure 4.19 Fast Serial Interface Input Data ................................................................................... 38 Figure 4.20 Fast Serial Interface Example ...................................................................................... 39 Figure 4.21 CPU-Style FIFO Interface Operation Signal Waveforms. .................................................. 40 Figure 4.22 CPU-Style FIFO Interface Example ............................................................................... 41 Figure 4.23 Dual LED UART Configuration ...................................................................................... 42 Figure 4.24 Single LED UART Configuration .................................................................................... 42 Figure 4.25: Using SIWU# ........................................................................................................... 43 Figure 6.1 Bus Powered Configuration Example 1............................................................................ 50 Figure 6.2 Self Powered Configuration Example 1 ........................................................................... 51 Figure 6.3 Self Powered Configuration Example 2 ........................................................................... 52 Figure 6.4 Recommended FT232H Oscillator Configuration ............................................................... 53 Figure 7.1 EEPROM Interface ........................................................................................................ 54 Figure 8.1 48 pin QFN Package Details .......................................................................................... 57 Figure 8.2 48 pin LQFP Package Details ......................................................................................... 58 Figure 8.3 48 pin LQFP and QFN Reflow Solder Profile ..................................................................... 59 Copyright © 2011 Future Technology Devices International Limited 64 Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.3 Clearance No.: FTDI #199 Appendix B – Revision History Revision History Version draft 1.0 First draft available 13th January 2011 Version 1.0 First release 24th February 2011 Version 1.1 Changes made to ACBUS7 details. 19th April 2011 Updated the reset line of the schematics. Added USB Compliance logo and TID Version 1.2 Corrected TID number Version 1.3 Changed the value of recommended capacitor on the Reset# pin Changed signal label of WR to WR# Copyright © 2011 Future Technology Devices International Limited April 2011 May 2011 65