FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Future Technology Devices International Ltd FT4232H Quad High Speed USB to Multipurpose UART/MPSSE IC The FT4232H is FTDI’s 5 th generation of USB devices. The FT4232H is a USB 2.0 High Speed (480Mb/s) to UART/MPSSE ICs. The device features 4 UARTs. Two of these have an option to independently configure an MPSSE engine. This allows the FT4232H to operate as two UART/Bit -Bang ports plus two MPSSE engines used to emulate JTAG, SPI, I2C, Bit-bang or other synchronous serial modes. The FT4232H has the following advanced features: Single chip USB to quad serial ports with a variety of configurations. Entire USB protocol handled on the chip. No USB specific firmware programming required. USB 2.0 High Speed (480Mbits/Second) and Full Speed (12Mbits/Second) compatible. Two Multi-Protocol Synchronous Serial Engine (MPSSE) on channel A and channel B, to simplify synchronous serial protocol (USB to JTAG, I 2C, SPI or bit-bang) design. Independent Baud rate generators. RS232/RS422/RS485 UART Transfer Data Rate up to 12Mbaud. (RS232 Data Rate limited by external level shifter). FTDI’s royalty-free Virtual Com Port (VCP) and Direct (D2XX) drivers eliminate the requirement for USB driver development in most cases. Optional traffic TX/RX indicators can be added with LEDs and an external 74HC595 shift register. Adjustable receive buffer timeout. Support for USB suspend and resume conditions via PWREN#, SUSPEND# and RI# pins. Highly integrated design includes +1.8V LDO regulator for VCORE, integrated POR function and on chip clock multiplier PLL (12MHz – 480MHz). FTDI FT232B style, 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 TXDEN pin. Operational configuration mode and USB Description strings configurable in external EEPROM over the USB interface. Low operating and USB suspend current. Configurable I/O drive strength (4, 8, 12 or 16mA) and slew rate. Supports bus powered, self-powered and highpower bus powered USB configurations. UHCI/OHCI/EHCI host controller compatible. USB Bulk data transfer mode (512 byte packets in High Speed mode). Dedicated Windows DLLs available for USB to JTAG, USB to SPI, and USB to I2C applications. +1.8V (chip core) and +3.3V I/O interfacing (+5V Tolerant). Extended -40°C to 85°C industrial operating temperature range. Compact 64-LD Lead Free LQFP or QFN package Available in compact Pb-free 56 Pin VQFN packages (RoHS compliant) +3.3V single supply operating voltage range. ESD protection for FT4232H IO’s: Human Body Model (HBM) ±2kV, Machine Mode (MM) ±200V, Charge Device Model (CDM) ±500V, Latch-up free. N either the whole nor any part of the information c ontained in, or the product described in this manual, may be adapted or re produc ed in any material or elec tronic form without the prior written cons ent of the c opyright holder. T his produc t and its documentation are s upplied on an as- is basis and no warranty as to their s uitability for any partic ular purpos e is either made or implied. Future T echn ology D evices I nternational L td will not accept any c laim for dama ges hows oever aris ing as a res ult of us e or failure of this produc t. Your statutory rights are not affec ted. T his product or any variant of it is not intended for us e in any medical applianc e, devic e or sys tem in whi c h the failure of the product might reasonably be expected to res ult in personal injury. T his doc ument provides preliminary information that may be s ubjec t to c hange without notic e. N o freedom to us e patents or other intellectual property rights is implied by the publication of this document. Future T ec hnology D evic es International Ltd, U nit 1 , 2 Seaward Place, C enturion Bus iness Park, Glas gow, G 41 1HH , U nited Kingdom. Sc otland Registered N umber: SC 136640 Copyright © Future Technology Devices International Limited 1 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 1 Typical Applications Single chip USB to four channels UART (RS232, RS422 or RS485) or Bit-Bang interfaces. Single chip USB to 2 JTAG channels plus 2 UARTS. Single chip USB to 1 JTAG channel plus 3 UARTS. Single chip USB to 1 SPI channel plus 3 UARTS. Single chip USB to 2 SPI channels plus 2 UARTS. Single chip USB to 2 Bit-Bang channels plus 2 UARTS. Single chip USB to 1 SPI channel, plus 1 JTAG channel plus 2 UARTS. Single chip USB to 2 I2C channels plus 2 UARTS. 1.1 Numerous combinations of 4 channels. Upgrading Legacy Peripheral Designs to USB Field Upgradable USB Products Cellular and cordless phone USB data transfer cables and interfaces. Interfacing MCU / PLD / FPGA based designs to USB PDA to USB data transfer USB Smart Card Readers USB Instrumentation USB Industrial Control USB MP3 Player Interface USB FLASH Card Reader / Writers Set Top Box PC - USB interface USB Digital Camera Interface USB Bar Code Readers Driver Support The FT4232H requires USB drivers (listed below), available free from http://www.ftdichip.com, which are used to make the FT4232H appear as a virtual COM port (VCP). This allows the user to communicate with the USB interface via a standard PC serial emulation port (for example TTY). Another FTDI USB driver, the D2XX driver, can also be used with application software to directly access the FT4232H through a DLL. Royalty free VIRTUAL COM PORT (VCP) DRIVERS for... Royalty free D2XX Direct Drivers (USB Drivers + DLL S/W Interface) Windows 10 32,64-bit Windows 10 32,64-bit Windows 8/8.1 32,64-bit Windows 8/8.1 32,64-bit Windows 7 32,64-bit Windows 7 32,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 98, 98SE, ME, 2000, Server 2003, XP, Server 2008 and server 2012 R2 Windows 98, 98SE, ME, 2000, Server 2003, XP, Server 2008 and server 2012 R2 Windows XP Embedded Windows XP Embedded Windows CE 4.2, 5.0 and 6.0 Windows CE 4.2, 5.0 and 6.0 Mac OS 8/9, OS-X Linux 2.4 and greater Linux 2.4 and greater Android(J2xx) For driver installation, please refer to the installation guides on our website: http://www.ftdichip.com/Support/Documents/InstallGuides.htm The following additional installation guides application notes and technical notes are also available: AN_113, “Interfacing FT2232H Hi-Speed Devices To I2C Bus”. AN_109 – “Programming Guide for High Speed FTCI2C DLL” AN_110 – “Programming Guide for High Speed FTCJTAG DLL” AN_111 – “Programming Guide for High Speed FTCSPI DLL” Copyright © Future Technology Devices International Limited 2 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 1.2 AN 113 – “Interfacing FT2232H Hi-Speed Devices To I2C Bus” AN114 – “Interfacing FT2232H Hi-Speed Devices To SPI Bus” AN135 – MPSSE Basics AN108 - Command Processor For MPSSE and MCU Host Bus Emulation Modes TN_104, “Guide to Debugging Customers Failed Driver Installation” Part Numbers Part Number Package FT4232HL-XXXX 64 Pin LQFP FT4232HQ-XXXX 64 Pin QFN FT4232H-56Q-XXXX 56 Pin VQFN Note: Packaging codes for xxxx is: - Reel: Taped and Reel (LQFP =1000 pcs per reel, QFN-64 =4000 pcs per reel, QFN-56 = 3000 pcs per reel) - Tray: Tray packing, (LQFP =160 pcs per tray, QFN-64 =260 pcs per tray, QFN-56 = 260 pcs per tray) Please refer to section 8 for all package mechanical parameters. 1.3 USB Compliant The FT4232H is fully compliant with the USB 2.0 specification and has been given the USB-IF Test-ID (TID) 40720024. 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. Copyright © Future Technology Devices International Limited 3 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 2 FT4232H Block Diagram 120 MHz Dual Port TX Buffer 2K Bytes VCC 3V3 IN V1.8OUT Dual Port RX Buffer 2K Bytes 1.8 Volt LDO Regulator EECS EESK 120 MHz Baud Rate Generator 120 MHz EEPROM Interface Multipurpose UART/bitbang Controller 120 MHz Baud Rate Generator EEDATA Dual Port TX Buffer 2K Bytes OSCI Dual Port RX Buffer 2K Bytes OSCO MPSSE/ ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 Multipurpose UART/bitbang Controller BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 Multipurpose UART/bitbang Controller CDBUS0 CDBUS1 CDBUS2 CDBUS3 CDBUS4 CDBUS5 CDBUS6 CDBUS7 Multipurpose UART/bitbang Controller DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 MPSSE/ USBDP UTMI PHY USBDM USB Protocol Engine And FIFO Control RREF 120 MHz 120 MHz Baud Rate Generator Dual Port TX Buffer 2K Bytes RESET# Dual Port RX Buffer 2K Bytes RESET Generator TEST 120 MHz 120 MHz Baud Rate Generator Dual Port TX Buffer 2K Bytes Dual Port RX Buffer 2K Bytes PWREN# SUSPEND# Figure 2.1 FT4232H Block Diagram For a description of each function please refer to Section 4. Copyright © Future Technology Devices International Limited 4 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Table of Contents 1 Typical Applications ........................................................ 2 1.1 Driver Support .......................................................................... 2 1.2 Part Numbers ........................................................................... 3 1.3 USB Compliant .......................................................................... 3 2 FT4232H Block Diagram .................................................. 4 3 Device Pin Out and Signal Description ............................. 7 3.1 64-pin LQFP and QFN Package ................................................... 7 3.1.1 Schematic Symbol ................................................................................. 7 3.1.2 Pin Descriptions ..................................................................................... 8 3.1.3 Common Pins ........................................................................................ 9 3.1.4 Configured Pins ................................................................................... 11 3.1.4.1 FT4232H pins used as an asynchronous serial interface.......................................... 11 3.1.4.2 FT4232H pins used in a Synchronous or Asynchronous Bit-Bang Interface .............. 12 3.1.4.3 FT4232H pins used in an MPSSE ............................................................................ 13 3.2 56-pin VQFN Package ...............................................................14 3.2.1 Schematic Symbol for FT4232H-56Q .................................................... 14 3.2.2 Pin Descriptions for FT4232H-56Q ........................................................ 15 3.2.3 Common Pins for FT4232H-56Q............................................................ 16 3.2.4 Configured Pins for FT4232H-56Q......................................................... 17 3.2.4.1 FT4232H-56Q pins used as an asynchronous serial interface .................................. 17 3.2.4.2 FT4232H-56Q pins used in a Synchronous or Asynchronous Bit-Bang Interface ...... 18 3.2.4.3 FT4232H-56Q pins used in an MPSSE..................................................................... 19 4 Function Description ..................................................... 20 4.1 Key Features............................................................................20 4.2 Functional Block Descriptions ...................................................20 4.3 FT232 UART Interface Mode Description ...................................22 4.3.1 RS232 Configuration ............................................................................ 22 4.3.2 RS422 Configuration ............................................................................ 23 4.3.3 RS485 Configuration ............................................................................ 24 4.4 MPSSE Interface Mode Description ...........................................25 4.4.1 MPSSE Adaptive Clocking ..................................................................... 27 4.5 Synchronous & Asynchronous Bit-Bang Interface Mode Desc. ....28 4.5.1 Asynchronous Bit-Bang Mode ............................................................... 28 Copyright © Future Technology Devices International Limited 5 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4.5.2 Synchronous Bit-Bang Mode................................................................. 28 4.6 FT4232H Mode Selection ..........................................................30 5 Devices Characteristics and Ratings .............................. 31 5.1 Absolute Maximum Ratings ......................................................31 5.2 DC Characteristics....................................................................32 5.3 ESD Tolerance..........................................................................34 6 FT4232H Configurations................................................ 35 6.1 USB Bus Powered Configuration ...............................................35 6.2 USB Self Powered Configuration ...............................................37 6.3 Oscillator Configuration ...........................................................39 6.4 4 Channel Transmit and Receiver LED Indication Example .........40 7 EEPROM Configuration .................................................. 41 8 Package Parameters ..................................................... 42 8.1 FT4232HQ, QFN-64 Package Dimensions ..................................42 8.2 FT4232HL, LQFP-64 Package Dimensions..................................43 8.3 FT4232H-56Q, VQFN-56 Package Dimensions ...........................45 8.4 Solder Reflow Profile ...............................................................46 9 Contact Information...................................................... 48 Appendix A – References ................................................. 49 Document References.....................................................................49 Acronyms and Abbreviations ..........................................................49 Appendix B - List of Figures and Tables ............................ 51 List of Tables .................................................................................51 List of Figures ................................................................................51 Appendix C - Revision History .......................................... 53 Copyright © Future Technology Devices International Limited 6 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3 Device Pin Out and Signal Description 3.1 64-pin LQFP and QFN Package The 64-pin LQFP and 64-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.1 Schematic Symbol 6 14 63 62 61 2 3 DM DP REF FT4232H RESET# ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 CDBUS0 CDBUS1 CDBUS2 CDBUS3 CDBUS4 CDBUS5 CDBUS6 CDBUS7 EECS EECLK EEDATA DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 OSCI OSCO GND GND GND GND GND GND GND GND TEST AGND 13 VREGOUT VCCIO 56 42 VCCIO 31 VCCIO 20 VCCIO 7 8 VREGIN 64 VCORE 37 VCORE 12 VCORE 49 VPLL 9 VPHY 4 50 PWREN# SUSPEND# 16 17 18 19 21 22 23 24 26 27 28 29 30 32 33 34 38 39 40 41 43 44 45 46 48 52 53 54 55 57 58 59 60 36 51 47 35 25 15 11 5 1 10 Figure 3.1 FT4232HL and FT4232HQ Schematic Symbol Copyright © Future Technology Devices International Limited 7 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.1.2 Pin Descriptions This section describes the operation of the FT4232H pins for 64-pin LQFP and 64-pin QFN. Both the 64-pin QFN and LQFP packages have the same function on each pin. The function of many pins is determined by the configuration of the FT4232H. The following table details the function of each pin dependent on the configuration of the interface. Each of the functions are d escribed in Table 3.1. (Note: The convention used throughout this document for active low signals is t he signal name followed by #) FT4232HL and FT4232HQ (64-pin) Pins Pin # Pin Name ASYNC Serial (RS232) 16 17 18 19 21 22 23 24 ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* 26 27 28 29 30 32 33 34 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* 38 39 40 41 43 44 45 46 C DBUS0 C DBUS1 C DBUS2 C DBUS3 C DBUS4 C DBUS5 C DBUS6 C DBUS7 TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* 48 52 53 54 55 57 58 59 60 36 DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 PWREN# SUSPEND# TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* PWREN# SUSPEND# Pin functions (depend on configuration) ASYNC BitSYNC Bitbang bang MPSSE Channel A D0 D0 TC K/SK D1 D1 TDI/DO D2 D2 TDO/DI D3 D3 TMS/C S D4 D4 GPIOL0 D5 D5 GPIOL1 D6 D6 GPIOL2 D7 D7 GPIOL3 Channel B D0 D0 TC K/SK D1 D1 TDI/DO D2 D2 TDO/DI D3 D3 TMS/C S D4 D4 GPIOL0 D5 D5 GPIOL1 D6 D6 GPIOL2 D7 D7 GPIOL3 Channel C D0 D0 RS232 or Bit-Bang D1 D1 RS232 or Bit-Bang D2 D2 RS232 or Bit-Bang D3 D3 RS232 or Bit-Bang D4 D4 RS232 or Bit-Bang D5 D5 RS232 or Bit-Bang D6 D6 RS232 or Bit-Bang D7 D7 RS232 or Bit-Bang Channel D D0 D0 RS232 or Bit-Bang D1 D1 RS232 or Bit-Bang D2 D2 RS232 or Bit-Bang D3 D3 RS232 or Bit-Bang D4 D4 RS232 or Bit-Bang D5 D5 RS232 or Bit-Bang D6 D6 RS232 or Bit-Bang D7 D7 RS232 or Bit-Bang PWREN# PWREN# PWREN# SUSPEND# SUSPEND# interface interface interface interface interface interface interface interface interface interface interface interface interface interface interface interface SUSPEND# Configuration memory interface 63 EEC S 62 61 EEC LK EEDATA Table 3.1 FT4232H Pin Configurations for 64-pin QFN and LQFP package * RI#/ or TXDEN is selectable in the EEPROM. Default is RI#. Copyright © Future Technology Devices International Limited 8 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.1.3 Common Pins The operation of the following FT4232H pins are the same regardless of the configured mode:Pin No. Name 12,37,64 VC ORE 20,31,42,56 VC C IO 9 VPLL 4 VPHY 50 VREGIN 49 VREGOUT 10 AGND 1,5,11,15, 25,35,47,51 GND Type POWER Input POWER Input POWER Input POWER Input POWER Input POWER Output POWER Input POWER Input Description +1.8V input. C ore supply voltage input. +3.3V input. I/O interface power supply input. Failure to connect all VC CIO pins will result in failure of the device. +3.3V input. Internal PHY PLL power supply input. It is recommended that this supply is filtered using an LC filter. +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. +3.3V Input. Integrated 1.8V voltage regulator input. +1.8V Output. Integrated voltage regulator output. Connect to VCORE with 3.3uF filter capacitor. 0V Analog ground. 0V Ground input. Table 3.2 Power and Ground for 64-pin QFN and LQFP package Pin No. Name Type 2 OSC I INPUT 3 OSC O OUTPUT 6 REF INPUT 7 DM I/O USB Data Signal Minus. I/O USB Data Signal Plus. 8 DP Description Oscillator input. Oscillator output. C urrent reference – connect via a 12K Ohm resistor @ 1% to GND. 13 TEST INPUT IC test pin – for normal operation should be connected to GND. 14 RESET# INPUT Reset input (active low). Active low power-enable output. PWREN# = 0: Normal operation. 60 PWREN# OUTPUT PWREN# =1: USB SUSPEND mode or device has not been configured. This can be used by external circuitry to power down logic when device is in USB suspend or has not been configured. 36 SUSPEND# OUTPUT Active low when USB is in suspend mode. Table 3.3 Common Function pins for 64-pin QFN and LQFP Package Copyright © Future Technology Devices International Limited 9 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Pin No. 63 62 61 Name Type EEC S I/O EEC LK OUTPUT EEDATA I/O Description EEPROM – C hip Select. Tri-State during device reset. C lock 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 VCC via a 10K resistor for correct operation. Tri-State during device reset. Table 3.4 EEPROM Interface Group for 64-pin QFN and LQFP Package Copyright © Future Technology Devices International Limited 10 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.1.4 Configured Pins The following sections describe the function of the configurable pins referred to in Table 3.1 which is determined by how the FT4232H is configured. 3.1.4.1 FT4232H pins used as an asynchronous serial interface Any of the 4 channels of the FT4232H can be configured as an asynchronous serial UART interface (RS232/422/485). When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.5. Channel A Channel B Channel C Channel D Pin No. Pin No. Pin No. Pin No. 16 26 38 17 27 18 Name Type 48 TXD OUTPUT 39 52 RXD INPUT 28 40 53 RTS# OUTPUT 19 29 41 54 C TS# INPUT 21 30 43 55 DTR# OUTPUT 22 32 44 57 DSR# INPUT 23 33 45 58 DC D# INPUT 24 34 46 59 RI#/ TXDEN INPUT/OUTPUT RS232 Configuration Description TXD = transmitter output RXD = receiver input RTS# = Ready To send handshake output C TS# = C lear To Send handshake input DTR# = Data Transmit Ready modem signaling line DSR# = Data Set Ready modem signaling line DC D# = Data Carrier Detect modem signaling line RI# = Ring Indicator C ontrol 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. (see note 1, 2 and 3) TXDEN = (TTL level). For use with RS485 level converters. Table 3.5 Channel A,B,C and D Asynchronous Serial Interface Configured Pin Descriptions 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 FT4232H will not wake up from suspend. Copyright © Future Technology Devices International Limited 11 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.1.4.2 FT4232H pins used in a Synchronous or Asynchronous Bit-Bang Interface The FT4232H channel A, B, C or channel D can be configured as a bit-bang interface. There are two types of bit-bang modes: synchronous and asynchronous. When configured in any bit-bang mode (synchronous or asynchronous), the pins used and the descriptions of the signals are shown in Table 3.6 Channel Number A Synchronous or Asynchronous Bit-Bang Configuration Description Pin Nos. Name Type 24,23,22,21 , ADBUS[7:0] I/O C hannel A, D7 to D0 bidirectional bit-bang data BDBUS[7:0] I/O C hannel B, D7 to D0 bidirectional bit-bang data C DBUS[7:0] I/O C hannel C , D7 to D0 bidirectional bit-bang data DDBUS[7:0] I/O C hannel D, D7 to D0 bidirectional bit-bang data 19,18,17,16 B 34,33,32,30 , 29,28,27,26 C 46,45,44,43 , 41,40,39,38 D 59,58,57,55 54,53,52,48 Table 3.6 Channel A,B,C and D Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions For a functional description of this mode, please refer to section 4.5 Synchronous & Asynchronous Bit-Bang Interface Mode Desc.. Copyright © Future Technology Devices International Limited 12 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.1.4.3 FT4232H pins used in an MPSSE The FT4232H channel A and channel B, each have a Multi-Protocol Synchronous Serial Engine (MPSSE). Each MPSSE can be independently configured to a number of industry standard serial interface protocols such as JTAG, I2C or SPI, or it can be used to implement a proprietary bus protocol. For example, it is possible to use one of the FT4232H’s channels (e.g. channel A) to connect to an SRAM configurable FPGA such as supplied by Altera or Xilinx. The FPGA device would normally be un -configured (i.e. have no defined function) at power-up. Application software on the PC could use the MPSSE to download configuration data to the FPGA over USB. This data would define the hardware function on power up. The other MPSSE channel (e.g. channel B) would be available for another serial interface function while channel C and channel D can be configured as UART or bit-bang mode. Alternatively each 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.7 Channel A Channel B Pin No. Pin No. Name Type MPSSE Configuration Description Clock Signal Output. For example: 16 26 TCK/SK OUTPUT JTAG – TCK, Test interface clock SPI – SK, Serial Clock Serial Data Output. For example: 17 27 TDI/DO OUTPUT JTAG – TDI, Test Data Input SPI – DO, serial data output Serial Data Input. For example: 18 28 TDO/DI INPUT JTAG – TDO, Test Data output SPI – DI, Serial Data Input Output Signal Select. For example: 19 29 TMS/CS OUTPUT JTAG – TMS, Test Mode Select SPI – CS, Serial Chip Select 21 30 GPIOL0 I/O General Purpose input/output 22 32 GPIOL1 I/O General Purpose input/output 23 33 GPIOL2 I/O General Purpose input/output 24 34 GPIOL3 I/O General Purpose input/output Table 3.7 Channel A and Channel B MPSSE Configured Pin Descriptions For a functional description of this mode, please refer to section 4.4. When either Channel A or Channel B or both channels are used in MPSSE mode, Channel C and Channel D can be configured as asynchronous serial interface (RS232/422/485) or Bit-Bang mode or a combination of both. Copyright © Future Technology Devices International Limited 13 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.2 56-pin VQFN Package The 56-pin VQFN with lower pin count and small size package is also available for the FT4232H. The differences exist on power/ground and pin number for each pin. The part number is FT4232H-56Q to distinguish it from the 64-pin package type. All the functions are supported in the 56-pin VQFN package. The pin numbering is illustrated in the schematic symbol shown in Error! Reference source not found. 3.2.1 Schematic Symbol for FT4232H-56Q Figure 3.2 FT4232H-56Q Schematic Symbol Copyright © Future Technology Devices International Limited 14 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.2.2 Pin Descriptions for FT4232H-56Q This section describes the operation of the FT4232H-56Q pins for 56-pin VQFN package. The function of many pins is determined by the configuration of the FT4232H-56Q. The following table details the function of each pin dependent on the configuration of the interface. Each of the functions is described in Table 3.8. (Note: The convention used throughout this document for active low signals is t he signal name followed by #) FT4232H-56Q Pins Pin # Pin Name ASYNC Serial (RS232) 12 13 14 15 17 18 19 20 ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* 22 23 24 25 26 27 28 29 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* 32 33 34 35 37 38 39 40 C DBUS0 C DBUS1 C DBUS2 C DBUS3 C DBUS4 C DBUS5 C DBUS6 C DBUS7 TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* 42 46 47 48 49 51 52 53 54 30 DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 PWREN# SUSPEND# TXD RXD RTS# C TS# DTR# DSR# DC D# RI#/ TXDEN* PWREN# SUSPEND# 1 56 EEC S EEC LK 55 EEDATA Pin functions (depend on configuration) ASYNC BitSYNC Bitbang bang MPSSE Channel A D0 D0 TC K/SK D1 D1 TDI/DO D2 D2 TDO/DI D3 D3 TMS/C S D4 D4 GPIOL0 D5 D5 GPIOL1 D6 D6 GPIOL2 D7 D7 GPIOL3 Channel B D0 D0 TC K/SK D1 D1 TDI/DO D2 D2 TDO/DI D3 D3 TMS/C S D4 D4 GPIOL0 D5 D5 GPIOL1 D6 D6 GPIOL2 D7 D7 GPIOL3 Channel C D0 D0 RS232 or Bit-Bang D1 D1 RS232 or Bit-Bang D2 D2 RS232 or Bit-Bang D3 D3 RS232 or Bit-Bang D4 D4 RS232 or Bit-Bang D5 D5 RS232 or Bit-Bang D6 D6 RS232 or Bit-Bang D7 D7 RS232 or Bit-Bang Channel D D0 D0 RS232 or Bit-Bang D1 D1 RS232 or Bit-Bang D2 D2 RS232 or Bit-Bang D3 D3 RS232 or Bit-Bang D4 D4 RS232 or Bit-Bang D5 D5 RS232 or Bit-Bang D6 D6 RS232 or Bit-Bang D7 D7 RS232 or Bit-Bang PWREN# PWREN# PWREN# interface interface interface interface interface interface interface interface interface interface interface interface interface interface interface interface SUSPEND# SUSPEND# SUSPEND# Configuration memory interface Table 3.8 FT4232H Pin Configurations for 56-Pin VQFN Package * RI#/ or TXDEN is selectable in the EEPROM. Default is RI#. Copyright © Future Technology Devices International Limited 15 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.2.3 Common Pins for FT4232H-56Q The operation of the following FT4232H-56Q pins are the same regardless of the configured mode:- Pin No. Name 2,31 VC ORE Type POWER Description +1.8V input. C ore supply voltage input. Input 16,36,50 POWER VC C IO Input 9 POWER VPLL Input 5 VPHY 44 VREGIN POWER Input POWER Input 43 POWER VREGOUT Output 21,41,45 POWER GND Input +3.3V input. I/O interface power supply input. Failure to connect all VCCIO pins will result in failure of the device. +3.3V input. Internal PHY PLL power supply input. It is recommended that this supply is filtered using an LC filter. +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. +3.3V Input. Integrated 1.8V voltage regulator input. +1.8V Output. Integrated voltage regulator output. Connect to VCORE with 3.3uF filter capacitor. 0V Ground input. Table 3.9 Power and Ground for 56-pin VQFN package Pin No. Name Type Description 3 OSC I INPUT 4 OSC O OUTPUT 6 REF INPUT C urrent reference – connect via a 12K Ohm resistor @ 1% to GND. 7 DM INPUT USB Data Signal Minus. 8 DP INPUT USB Data Signal Plus. 10 TEST INPUT IC test pin – for normal operation should be connected to GND. 11 RESET# INPUT Reset input (active low). Oscillator input. Oscillator output. Active low power-enable output. PWREN# = 0: Normal operation. 54 PWREN# OUTPUT PWREN# =1: USB SUSPEND mode or device has not been configured. This can be used by external circuitry to power down logic when device is in USB suspend or has not been configured. 30 SUSPEND# OUTPUT Active low when USB is in suspend mode. Table 3.10 Common Function pins for 56-pin VQFN Package Copyright © Future Technology Devices International Limited 16 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Pin No. Name Type 1 EEC S I/O 56 EEC LK OUTPUT 55 EEDATA I/O Description EEPROM – C hip Select. Tri-State during device reset. C lock 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 DataOut of the EEPROM via a 2.2K resistor. Also, pull Data-Out of the EEPROM to VC C via a 10K resistor for correct operation. Tri-State during device reset. Table 3.11 EEPROM Interface Group for 56-pin VQFN Package 3.2.4 Configured Pins for FT4232H-56Q The following sections describe the function of the configurable pins referred to in Table 3.8 which is determined by how the FT4232H-56Q is configured. 3.2.4.1 FT4232H-56Q pins used as an asynchronous serial interface Any of the 4 channels of the FT4232H-56Q can be configured as an asynchronous serial UART interface (RS232/422/485). When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.12. Channel A Channel B Channel C Channel D Pin No. Pin No. Pin No. Pin No. 12 22 32 13 23 14 Name Type 42 TXD OUTPUT 33 46 RXD INPUT 24 34 47 RTS# OUTPUT 15 25 35 48 C TS# INPUT 17 26 37 49 DTR# OUTPUT 18 27 38 51 DSR# INPUT 19 28 39 52 DC D# INPUT 20 29 40 53 RI#/ TXDEN INPUT/OUTPUT RS232 Configuration Description TXD = transmitter output RXD = receiver input RTS# = Ready To send handshake output C TS# = C lear To Send handshake input DTR# = Data Transmit Ready modem signaling line DSR# = Data Set Ready modem signaling line DC D# = Data Carrier Detect modem signaling line RI# = Ring Indicator C ontrol 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. (see note 1, 2 and 3) TXDEN = (TTL level). For use with RS485 level converters. Table 3.12 Channel A, B, C and D Asynchronous Serial Interface Configured Pin Descriptions for FT4232H-56Q 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 FT4232H will not wake up from suspend. Copyright © Future Technology Devices International Limited 17 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.2.4.2 FT4232H-56Q pins used in a Synchronous or Asynchronous Bit-Bang Interface The FT4232H channel A, B, C or channel D can be configured as a bit-bang interface. There are two types of bit-bang modes: synchronous and asynchronous. When configured in any bit-bang mode (synchronous or asynchronous), the pins used and the descriptions of the signals are shown in Table 3.13 Channel Number A Synchronous or Asynchronous Bit-Bang Configuration Description Pin Nos. Name Type 20,19,18,17 , ADBUS[7:0] I/O C hannel A, D7 to D0 bidirectional bit-bang data BDBUS[7:0] I/O C hannel B, D7 to D0 bidirectional bit-bang data C DBUS[7:0] I/O C hannel C , D7 to D0 bidirectional bit-bang data DDBUS[7:0] I/O C hannel D, D7 to D0 bidirectional bit-bang data 15,14,13,12 B 29,28,27,26 , 25,24,23,22 C 40,39,38,37 , 35,34,33,32 D 53,52,51,49 48,47,46,42 Table 3.13 Channel A, B, C and D Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions for FT4232H-56Q For a functional description of this mode, please refer to section 4.5 Synchronous & Asynchronous Bit-Bang Interface Mode Desc.. Copyright © Future Technology Devices International Limited 18 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3.2.4.3 FT4232H-56Q pins used in an MPSSE The FT4232H channel A and channel B, each have a Multi-Protocol Synchronous Serial Engine (MPSSE). Each MPSSE can be independently configured to a number of industry standard serial interface protocols such as JTAG, I2C or SPI, or it can be used to implement a proprietary bus protocol. For example, it is possible to use one of the FT4232H’s channels (e.g. channel A) to connect to an SRAM configurable FPGA such as supplied by Altera or Xilinx. The FPGA device would normally be un -configured (i.e. have no defined function) at power-up. Application software on the PC could use the MPSSE to download configuration data to the FPGA over USB. This data would define the hardware function on power up. The other MPSSE channel (e.g. channel B) would be available for another serial interface function while channel C and channel D can be configured as UART or bit-bang mode. Alternatively each 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.14 Channel A Channel B Pin No. Pin No. Name Type MPSSE Configuration Description Clock Signal Output. For example: 12 22 TCK/SK OUTPUT JTAG – TCK, Test interface clock SPI – SK, Serial Clock Serial Data Output. For example: 13 23 TDI/DO OUTPUT JTAG – TDI, Test Data Input SPI – DO, serial data output Serial Data Input. For example: 14 24 TDO/DI INPUT JTAG – TDO, Test Data output SPI – DI, Serial Data Input Output Signal Select. For example: 15 25 TMS/CS OUTPUT JTAG – TMS, Test Mode Select SPI – CS, Serial Chip Select 17 26 GPIOL0 I/O General Purpose input/output 18 27 GPIOL1 I/O General Purpose input/output 19 28 GPIOL2 I/O General Purpose input/output 20 29 GPIOL3 I/O General Purpose input/output Table 3.14 Channel A and Channel B MPSSE Configured Pin Descriptions for FT4232H-56Q For a functional description of this mode, please refer to section 4.4. When either Channel A or Channel B or both channels are used in MPSSE mode, Channel C and Channel D can be configured as asynchronous serial interface (RS232/422/485) or Bit-Bang mode or a combination of both. Copyright © Future Technology Devices International Limited 19 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4 Function Description The FT4232H is FTDI’s 5 th generation of USB devices. The FT4232H is a USB 2.0 High Speed (480Mb/s) to UART/MPSSE ICs. It has the capability of being configured in a variety of industry standard serial interfaces. The FT4232H has four independent configurable interfaces. Two of these interfaces can be configured as UART, JTAG, SPI, I2C or bit-bang mode, using an MPSSE, with independent baud rate generators. The remaining two interfaces can be configured as UART or bit-bang. 4.1 Key Features USB High Speed to Quad Interface . The FT4232H is a USB 2.0 High Speed (480Mbits/s) to four independent flexible/configurable serial interfaces. Functional Integration. The FT4232H integrates a USB protocol engine which controls the physical Universal Transceiver Macrocell Interface (UTMI) and handles all aspects of the USB 2.0 High Speed interface. The FT4232H includes an integrated +1.8V Low Drop -Out (LDO) regulator and 12MHz to 480MHz PLL. It also includes 2kbytes Tx and Rx data buffers per channel. The FT4232H effectively integrates the entire USB protocol on a chip. MPSSE. Multi-Purpose Synchronous Serial Engines (MPSSE), capable of speeds up to 30 Mbits/s, provides flexible synchronous interface configurations. Data Transfer rate. The FT4232H supports a data transfer rate up to 12 Mbit/s when configured as an RS232/RS422/RS485 UART interface. Please note the FT4232H does not support the baud rates of 7 Mbaud 9 Mbaud, 10 Mbaud and 11 Mbaud. Latency Timer. This is really a feature of the driver and is used to as a timeout to flush short packets of data back to the PC. The default is 16ms, but it can be altered between 0ms and 256ms. At 0ms latency you get a packet transfer on every high speed micro frame. 4.2 Functional Block Descriptions Quad Multi-Purpose UART/MPSSE Controllers. The FT4232H has four independent UART/MPSSE Controllers. These blocks control the UART data or control the Bit-Bang mode if selected by the SETUP command. The blocks used on channel A and channel B also contain a MPSSE (Multi-Protocol Synchronous Serial Engine) in each of them which can be used independently of each other and the remaining UART channels. Using this it can be configured under software command to have 1 MPSSE + 3 UARTS (each UART can be set to Bit Bang mode to gain extra I/O if required) or 2 MPSSE + 2 UARTS. 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. Dual Port FIFO TX Buffer (2Kbytes per channel). 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. Copyright © Future Technology Devices International Limited 20 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Dual Port FIFO RX Buffer (2Kbytes per channel). 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 FT4232H. RESET# should be tied to VCCIO (+3.3v) if not being used. Independent Baud Rate Generators - The Baud Rate Generators provides an x16 or an 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 million baud. The FT2232H does not support the baud rates of 7 Mbaud 9 Mbaud, 10 Mbaud and 11 Mbaud. See FTDI application note AN232B-05 on the FTDI website (www.ftdichip.com) for more details. +1.8V LDO Regulator. The +1.8V LDO regulator generates the +1.8 volts for the core and the USB transceiver cell. Its input (VREGIN) must be connected to a +3.3V external power source. It is also recommended to add an external filtering capacitor to the VREGIN. There is no direct connection from the +1.8V output (VREGOUT) and the internal functions of the FT4232H. The PCB must be routed to connect VREGOUT to the pins that require the +1.8V including VREGIN. UTMI PHY . The Universal Transceiver Macrocell Interface (UTMI) physical interface cell. This block handles the Full speed / High Speed SERDES (serialise – de-serialise) function for the USB TX/RX data. It also provides the clocks for the rest of the chip. A 12 MHz crystal should be connected to the OSCI and OSCO pins. A 12K Ohm resistor should be connected between REF and GND on the PCB. The UTMI PHY functions include: Supports 480 Mbit/s "High Speed" (HS)/ 12 Mbit/s “Full Speed” (FS), FS Only and "Low Speed" (LS). 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. EEPROM Interface. When used without an external EEPROM the FT4232H defaults to a quad USB to an asynchronous serial port device. Adding an external 93C46 (93C56 or 93C66) EEPROM allows customization of USB VID, PID, Serial Number, Product Description Strings and Power Descriptor value of the FT4232H 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. The EEPROM must be a 16 bit wide configuration such as a Microchip 93LC46B or equivalent capable of a 1Mbit/s clock rate at VCC = +3.00V to 3.6V. The EEPROM is programmable in -circuit over USB using a utility program called FT_Prog available from FTDI’s web site (www.ftdichip.com). This allows a blank part to be soldered onto the PCB and programmed as part of the manufacturing and test process. If no EEPROM is connected (or the EEPROM is blank), the FT4232H will default to serial ports. The device uses its built-in default VID (0403), PID (6011) Product Description and Power Descriptor Value. In this case, the device will not have a serial number as part of the USB descriptor. Copyright © Future Technology Devices International Limited 21 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4.3 FT232 UART Interface Mode Description The FT4232H can be configured in similar UART modes as the FTDI FT232 devices (an asynchronous serial interface). The following examples illustrate how to configure the FT4232H with an RS232, RS422 or RS485 interfaces. The FT4232 can be configured as a mixture of these interfaces. 4.3.1 RS232 Configuration Figure 4.1 illustrates how the FT4232H channel A can be configured with an RS232 UART interface. This can be repeated for channels B, C and D to provide a quad RS232, but has been omitted for clarity. Figure 4.1 RS232 Configuration Copyright © Future Technology Devices International Limited 22 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4.3.2 RS422 Configuration Figure 4.2 illustrates how the FT4232H can be configured as a dual RS422 interface. The FT4232H can have all 4 channels connected as RS422, but only channel A and channel C are shown for clarity. Figure 4.2 Dual RS422 Configuration Copyright © Future Technology Devices International Limited 23 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 In this case both channel A and channel C are 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 FT4232H 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. 4.3.3 RS485 Configuration Figure 4.3 illustrates how the FT4232H can be configured as a dual RS485 interface. The FT4232H can have all 4 channels connected as RS485, but only channel A and channel C are shown for clarity. Figure 4.3 Dual RS485 Configuration In this case both channel A and channel C are configured as RS485 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. It has separate enables on both the transmitter and receiver. With RS485, the transmitter is only enabled when a character is being transmitted from the UART. The TXDEN pins on the FT4232H are provided for exactly that purpose, and so the transmitter enables are wired to the TXDEN‟s. The receiver enable is active low, so it is wired to the PWREN# pin to disable the receiver when in USB suspend mode. Copyright © Future Technology Devices International Limited 24 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 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. In this example the data transmitted by the FT4232H is also received by the device that is transmitting. This is a common feature of RS485 and requires the application software to remove the transmitted data from the received data stream. With the FT4232H it is possible to do this entirely in hardware – simply modify the schematic so that RXD of the FT4232H is the logical OR of the level converter device receiver output with TXDEN using an HC32 or s imilar logic gate. 4.4 MPSSE Interface Mode Description MPSSE Mode is designed to allow the FT4232H to interface efficiently with synchronous serial protocols such as JTAG, I2C and SPI 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 FT4232H. MPSSE is only available on channel A and channel B. 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 a channel is configured in MPSSE mode, the IO timing and signals used are shown in Figure 4.4 and Table 4.1. These show timings for CLKOUT=30MHz. CLKOUT can be divided internally to be provide a slower clock. Figure 4.4 MPSSE Signal Waveforms Copyright © Future Technology Devices International Limited 25 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 NAME t1 t2 t3 t4 t5 t6 MIN 15 15 1 0 11 NOM 33.33 16.67 16.67 MAX 7.15 Units ns ns ns ns ns COMMENT CLKOUT period CLKOUT high period CLKOUT low period CLKOUT to TDI/DO delay TDO/DI hold time TDO/DI setup time Table 4.1 MPSSE Signal Timings MPSSE mode is enabled using Set Bit Bang Mode driver command. A hex value of 2 will enable it, and a hex value of 0 will reset the device. See application note AN2232-02, “Bit Mode Functions for the FT2232” for more details and examples. The MPSSE command set is fully described in application note AN_108 – “Command Processor for MPSSE and MCU Host Bus Emulation Modes”. The following additional application notes are available for configuring the MPSSE : AN_109 – “Programming Guide for High Speed FTCI2C DLL” AN_110 – “Programming Guide for High Speed FTCJTAG DLL” AN_111 – “Programming Guide for High Speed FTCSPI DLL” Copyright © Future Technology Devices International Limited 26 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4.4.1 MPSSE Adaptive Clocking Adaptive clocking is a new MPSSE feature added to the FT24232H MPSSE engine. The mode is effectively handshaking the CLK signal with a return clock RTCK. This is a technique used by ARM processors. The FT4232H will assert the CLK 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 FT4232H RTCK ARM CPU Figure 4.5 Adaptive Clocking Interconnect TDO changes on falling edge of TCK TDO TCK RTCK Figure 4.6: Adaptive Clocking waveform Adaptive clocking is not enabled by default. See: AN108 - Command Processor For MPSSE and MCU Host Bus Emulation Modes Copyright © Future Technology Devices International Limited 27 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4.5 Synchronous & Asynchronous Bit-Bang Interface Mode Desc. The FT4232H channel A, B, C or channel D can be configured as a bit-bang interface. There are two types of bit-bang modes: synchronous and asynchronous. 4.5.1 Asynchronous Bit-Bang Mode Asynchronous Bit-Bang mode is the same as BM-style Bit-Bang mode. On any channel configured in asynchronous bit-bang mode, data written to the device in the normal manner will be self-clocked onto the parallel I/O data pins (those which have been configured as outputs). Each I/O 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. For the data to change there has to be new data written, and the baud rate clock has to tick. If no new data is written to the channel, the pins will hold the last value written. 4.5.2 Synchronous Bit-Bang Mode The synchronous Bit-Bang mode will only update the output parallel I/O port pins whenever data is sent from the USB interface to the parallel interface. When this is done, data is 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) when the parallel interface has been written to. With Synchronous Bit-Bang mode, data will only be sent out by the FT4232H if there is space in the FT4232H 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 jus t 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. Asynchronous Bit-Bang mode is enabled using Set Bit Bang Mode driver command. A hex value of 1 will enable Asynchronous Bit-Bang mode. Synchronous Bit-Bang mode is enabled using Set Bit Bang Mode driver command. A hex value of 4 will enable Synchronous Bit-Bang mode. See application note AN2232-02, “Bit Mode Functions for the FT2232” for more details and examples of using the bit-bang modes. Copyright © Future Technology Devices International Limited 28 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 An example of the synchronous bi-bang mode timing is shown in Figure 4.7 and Table 4.2. WRSTB# RDSTB# Figure 4.7 Synchronous Bit-Bang Mode Timing Interface Example It should be noted that the FT4232H does not output the WRSTB# or RDSTB# signals when configured in bit-bang mode. Figure 4.7 and Table 4.2 show these signals for illustration purposes only. NAME t1 t2 t3 t4 t5 t6 Description Current pin state is read RDSTB# is set inactive and data on the paralle 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 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 WRSTB# goes inactive Table 4.2 Synchronous Bit-Bang Mode Timing Interface Example Timings WRSTB# = this output indicates when new data has been written to the I/O pins from the Host PC (via the USB interface). 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). Copyright © Future Technology Devices International Limited 29 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 4.6 FT4232H Mode Selection The 4 channels of the FT4232H reset to 4 asynchronous serial UART interfaces. Following a reset, the required mode can be configured by sending the FT_SetBitMode command (refer to D2XX_Programmers_Guide) to the USB driver software. The EEPROM contents have no effect on the selected mode with the exception of selecting the TXDEN for RS485 mode when asynchronous serial interface has been selected in software. If the device is reset, then the 4 channels must be reconfigured into the required mode. Note that the mode of each of the 4 channels is independent of the other channels. The MPSSE can be configured directly using the D2XX commands. The D2XX_Programmers_Guide is available from the FTDI website at http://www.ftdichip.com/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).pdf Also the MPSSE command set is fully described in application note AN108 - Command Processor For MPSSE and MCU Host Bus Emulation Modes Copyright © Future Technology Devices International Limited 30 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 5 Devices Characteristics and Ratings 5.1 Absolute Maximum Ratings The absolute maximum ratings for the FT4232H 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 Floor Life (Out of Bag) At Factory Ambient 168 Hours (30°C / 60% Relative Humidity) (IPC/JEDEC J-STD-033A MSL Level 3 Compliant)* Hours Ambient Operating Temperature (Power Applied) -40°C to 85°C Degrees C MTTF FT4232HL TBD hours MTTF FT4232HQ 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 DC Input Voltage – All Other Inputs -0.5 to + (VCCIO +0.5) V DC Output Current – Outputs 16 mA DC Input Voltage – High Impedance Bi-directional (powered from VCCIO) 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 © Future Technology Devices International Limited 31 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 5.2 DC Characteristics DC Characteristics (Ambient Temperature = -40°C to +85°C) Parameter Description Minimum Typical Maximum Units VC ORE VC C C ore Operating Supply Voltage 1.62 1.80 1.98 V VC C IO* VC CIO Operating Supply Voltage 2.97 3.30 3.63 V VREGIN VREGIN Voltage regulator Input 3.00 3.30 3.60 V VREGOUT Voltage regulator Output 1.71 1.80 1.89 V Ireg Regulator C urrent 150 mA Icc1 C ore Operating Supply C urrent --- 70 --- mA Icc1r C ore Reset Supply C urrent --- 5 --- mA Icc1s C ore Suspend Supply C urrent 500 µA Conditions C ells are 5V tolerant VREGIN +3.3V VC ORE = +1.8V Normal Operation VC ORE = +1.8V Device in reset state. VC ORE = +1.8V USB Suspend Table 5.2 Operating Voltage and Current *NOTE: Failure to connect all VCCIO pins will result in failure of the device. Copyright © Future Technology Devices International Limited 32 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 The I/O pins are +3.3v cells, which are +5V tolerant (except the USB PHY pins). Parameter Voh Description Minimum Typical 2.40 3.14 Maximum 3.22 3.22 0.18 Vol 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 0.80 I/O Drive strength* = 8mA V I/O Drive strength* = 12mA V I/O Drive strength* = 16mA V Iol = +/-2mA I/O Drive strength* = 4mA V I/O Drive strength* = 12mA V I/O Drive strength* = 16mA V LVTTL - V LVTTL 1.50 V LVTTL - 2.0 V I/O Drive strength* = 8mA 0.07 Input low Switching Threshold Ioh = +/-2mA V 0.08 Vil V 0.40 0.12 Output Voltage Low Conditions I/O Drive strength* = 4mA 3.20 Output Voltage High Units 0.80 1.10 - V 1.60 2.0 V 40 75 190 KΩ Vin = 0 Input pull-down resistance 40 75 190 KΩ Vin =VC C IO Iin Input Leakage Current 15 45 85 μA Vin = 0 Ioz Tri-state output leakage current μA Vin = 5.5V or 0 +/-10 Table 5.3 I/O Pin Characteristics (except USB PHY pins) *The I/O drive strength and slow slew-rate are configurable in the EEPROM. Copyright © Future Technology Devices International Limited 33 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 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 C urrent --- 30 60 mA High-speed operation at 480 MHz PHY Operating Supply C urrent --- 10 50 μA USB Suspend Units Conditions VPLL Iccphy Iccphy (susp) Table 5.4 PHY Operating Voltage and Current Parameter Description Minimum Voh Output Voltage High VC ORE0.2 Vol Output Voltage Low Vil Input low Switching Threshold Vih Input High Switching Threshold Typical V - 2.0 Maximum 0.2 V 0.8 V - V Table 5.5 PHY I/O Pin Characteristics 5.3 ESD Tolerance ESD protection for FT4232H 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 C harge Device Model (C DM) JEDEC EIA/ JESD22-C101- Latch-up JESD78, Trigger Class-II Minimum D, Class-III Typical Maximum Units Table 5.6 ESD Tolerance Copyright © Future Technology Devices International Limited 34 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 6 FT4232H Configurations The following sections illustrate possible USB power configurations for the FT4232H. All USB power configurations illustrated apply to both package options for the FT4232H device. 6.1 USB Bus Powered Configuration Bus Powered Application example 1: Bus powered configuration +3.3V +1.8V +1.8V +1.8V +3.3V +3.3V +3.3V +3.3V +3.3V 100nF 100nF 100nF GND 4.7uF 4.7uF 100nF 100nF GND GND 3.3uF 100nF GND GND GND GND 1 2 3 4 VBUS DD+ GND 7 8 6 +3.3V 0? 14 DM DP REF RESET# 1K GND 12K GND 10K 10K 63 62 61 EECLK EEDATA EECS EECLK EEDATA 1 2.2K 3 3 12MHz 13 OSCO TEST 10 27pF GND GND GND GND BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 26 27 28 29 30 32 33 34 PWREN# SUSPEND# 38 39 40 41 43 44 45 46 48 52 53 54 55 57 58 59 60 36 51 47 35 25 15 11 5 1 CS VCC ORG 4 D Q 93C46 SCL 7 DU GND GND GND GND GND GND GND GND GND 5 OSCI 8 AGND 1 6 3 2 16 17 18 19 21 22 23 24 DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 +3.3V 2 GND ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 CDBUS0 CDBUS1 CDBUS2 CDBUS3 CDBUS4 CDBUS5 CDBUS6 CDBUS7 +3.3V 10K 100nF 100nF 100nF 100nF GND +3.3V 56 VCCIO 42 VCCIO 31 VCCIO 20 VCCIO 49 VREGOUT 64 VCORE 37 VCORE 12 VCORE 50 VREGIN +1.8V GND +1.8V +3.3V Vin Vout GND 100nF GND 9 VPLL VPHY 4 LDO +3.3V GND GND 27pF GND GND Figure 6.1 Bus Powered Configuration Example 1 Figure 6.1 illustrates the FT4232H in a typical USB bus powered design configuration. A USB bus powered device gets its power from the USB bus. In this application, the FT4232H requires that the VBUS (USB +5V) is regulated down to +3.3V (using an LDO) to supply the VCCIO, VPLL, VPHY and VREGIN. VREGIN is the +3.3V input to the on chip +1.8V regulator. The output of the on chip LDO regulator (+1.8V) drives the FT4232H core supply (VCORE). This requires a minimum of a 3.3uF filter capacitor. Copyright © Future Technology Devices International Limited 35 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Bus Powered Application example 2: Bus powered configuration (with additional 1.8V LDO voltage regulator for VCORE). +3.3V +1.8V +1.8V +1.8V +3.3V +3.3V +3.3V +3.3V +3.3V LDO +1.8V +1.8V 100nF 100nF 100nF Vin Vout GND 100nF 4.7uF 4.7uF 100nF 100nF GND 100nF GND GND GND GND GND GND GND +1.8V ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 16 17 18 19 21 22 23 24 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 26 27 28 29 30 32 33 34 CDBUS0 CDBUS1 CDBUS2 CDBUS3 CDBUS4 CDBUS5 CDBUS6 CDBUS7 38 39 40 41 43 44 45 46 DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 48 52 53 54 55 57 58 59 PWREN# SUSPEND# 60 36 100nF GND GND GND 1 2 3 4 7 8 6 +3.3V 14 DM DP REF RESET# 1K GND 12K +3.3V GND 10K 10K 10K 63 62 61 EECLK EEDATA EECS EECLK EEDATA +3.3V 2 GND 1 2.2K 3 3 12MHz 13 OSCO TEST 10 27pF GND GND 51 47 35 25 15 11 5 1 CS VCC ORG 4 D Q 93C46 SCL 7 DU GND GND GND GND GND GND GND GND GND 5 OSCI 8 AGND 1 6 3 2 GND +3.3V 56 VCCIO 42 VCCIO 31 VCCIO 20 VCCIO 100nF 49 VREGOUT 64 VCORE 37 VCORE 12 VCORE 50 VREGIN 9 VPLL VPHY 4 +3.3V Vin Vout GND 0? GND GND GND LDO +3.3V VBUS DD+ GND 100nF 100nF 100nF 100nF GND 27pF GND GND Figure 6.2 Bus Powered Configuration Example 2 Figure 6.32 illustrate the FT4232H in a typical USB bus powered configuration similar to Figure 6.1. The difference here is that the +1.8V for the FT4232H core (VCORE) has been regulated from the VBUS as well as the +3.3V supply to the VPLL, VPHY, VCCIO and VREGIN. Copyright © Future Technology Devices International Limited 36 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 6.2 USB Self Powered Configuration Self-Powered application example 1: Self powered configuration +3.3V +1.8V +1.8V +1.8V +3.3V +3.3V +3.3V +3.3V +3.3V 100nF 100nF 100nF 4.7uF GND 4.7uF GND GND 100nF 100nF GND GND 49 VREGOUT GND 100nF 3.3uF 100nF GND GND GND GND 1 2 3 4 VBUS DD+ GND 7 8 6 4.7K 14 0? DM DP REF RESET# 1K GND 12K 10K +3.3V GND GND 10K 10K 10K 63 62 61 EECLK EEDATA EECS EECLK EEDATA +3.3V 2 4 1 2.2K 7 3 3 12MHz 13 OSCO TEST GND GND GND GND ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 16 17 18 19 21 22 23 24 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 26 27 28 29 30 32 33 34 CDBUS0 CDBUS1 CDBUS2 CDBUS3 CDBUS4 CDBUS5 CDBUS6 CDBUS7 38 39 40 41 43 44 45 46 DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 48 52 53 54 55 57 58 59 PWREN# SUSPEND# 60 36 51 47 35 25 15 11 5 1 10 27pF GND GND GND GND GND GND GND GND GND 5 CS VCC ORG D Q 93C46 SCL DU GND OSCI 8 AGND 1 6 3 2 100nF 100nF 100nF 100nF GND +3.3V 56 VCCIO 42 VCCIO 31 VCCIO 20 VCCIO 50 VREGIN +1.8V 64 VCORE 37 VCORE 12 VCORE +3.3V 9 VPLL VPHY 4 LDO +3.3V Vin Vout GND GND +1.8V Ext. Power Supply 1 2 GND 27pF GND GND Figure 6.3 Self Powered Configuration Example 1 Figure 6.33 illustrate the FT4232H in a typical USB self-powered configuration. A USB self-powered device gets its power from its own power supply and does not draw cu rrent from the USB bus. In this example an external power supply is used. This external supply is regulated to +3.3V. Note that in this set-up, the EEPROM should be configured for self-powered operation. Copyright © Future Technology Devices International Limited 37 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Self-Powered application example 2: Self powered configuration (with additional 1.8V LDO voltage regulator for VCORE). +3.3V +1.8V +1.8V +1.8V +3.3V +3.3V +3.3V +3.3V +3.3V LDO +1.8V +1.8V 100nF 100nF 100nF Vin Vout GND 100nF Ext. Power Supply GND 100nF GND GND 4.7uF 4.7uF 100nF 100nF GND GND GND GND GND +1.8V 50 VREGIN GND 49 VREGOUT 100nF 64 VCORE 37 VCORE 12 VCORE +3.3V Vin Vout GND 9 VPLL VPHY 4 LDO +3.3V 100nF GND GND GND VBUS 7 8 6 4.7K 14 0? DM DP REF RESET# 1K GND 12K 10K +3.3V GND GND 10K 10K 10K 63 62 61 EECLK EEDATA EECS EECLK EEDATA +3.3V 2 GND GND 1 2.2K 3 3 12MHz 13 OSCO TEST 10 27pF GND GND ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 16 17 18 19 21 22 23 24 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 26 27 28 29 30 32 33 34 CDBUS0 CDBUS1 CDBUS2 CDBUS3 CDBUS4 CDBUS5 CDBUS6 CDBUS7 38 39 40 41 43 44 45 46 DDBUS0 DDBUS1 DDBUS2 DDBUS3 DDBUS4 DDBUS5 DDBUS6 DDBUS7 48 52 53 54 55 57 58 59 PWREN# SUSPEND# 60 36 51 47 35 25 15 11 5 1 CS VCC ORG 4 D Q 93C46 SCL 7 DU GND GND GND GND GND GND GND GND GND 5 OSCI 8 AGND 1 6 3 2 GND +3.3V 56 VCCIO 42 VCCIO 31 VCCIO 20 VCCIO GND 1 2 3 4 GND GND 1 2 VBUS DD+ GND 100nF 100nF 100nF 100nF 27pF GND GND Figure 6.4 Self Powered Configuration Example 2 Figure 6.4 illustrates the FT4232H in a typical USB self-powered configuration similar to Figure 6.3. The difference here is that the +1.8V for the FT4232H core has been regulated from the external power supply. Note that in this set-up, the EEPROM should be configured for self-powered operation. Copyright © Future Technology Devices International Limited 38 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 6.3 Oscillator Configuration FT4232H 27pF 2 OSCI 12MHz Crystal 27pF 3 OSCO Figure 6.5 Recommended FT4232H Crystal Oscillator Configuration. Figure 6.5 illustrates how to connect the FT4232H 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 parallel cut type crystal. It is also possible to use a 12 MHz oscillator with the FT4232H. 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.30 3.63 V FIn Input Frequency 12 MHz Ji Cycle to cycle jitter < 150 pS Conditions +/- 30ppm Table 6.1 OSCI Input characteristics Copyright © Future Technology Devices International Limited 39 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 6.4 4 Channel Transmit and Receiver LED Indication Example The following example illustrates how a 74HCT595 can be used to decode the EEDATA data to indicate Tx and Rx on each of the channels. The associated LED will light when the Channel is transmitting or receiving data. VIO= VCCIO PWREN# EECS EECLK EEDATA SN74HC595D Figure 6.6 Using 74HC595 to Indicate Tx and Rx Data In this configuration, the LEDs will flash when the EEPROM is accessed e.g. during enumeration. Under normal operation, the EECS is held low to disable access to the EEPROM. In this special case, the EECLK (frequency = 1.56µS) will clock the EEDATA into the 74HC595 shift register (with EECS low, therefore EEPROM ignores the EEDATA). Then EECS will pulse high. The rising edge of the EECS latches the data into a storage register of the 74HC595 which drives the LEDs. Please refer to the 74HC595 datasheet for further explanation. Copyright © Future Technology Devices International Limited 40 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 7 EEPROM Configuration If an external EEPROM is fitted (93LC46/56/66) it can be programmed over USB using FT_PROG. The EEPROM must be 16 bits wide and capable or working at a VCC supply of +3.0 to +3.6 volts. Copyright © Future Technology Devices International Limited 41 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 8 Package Parameters The FT4232H is available in three different packages. The FT4232HL is the LQFP-64 option, the FT4232HQ is the QFN-64 package option and the FT4232H-56Q is the VQFN-56 package option. The solder reflow profile for all packages is described in Section 8.4. 8.1 FT4232HQ, QFN-64 Package Dimensions Top View 64 49 1 48 FTDI 9.000+/- 0.075 Indicates Pin #1 (Laser Marked) Line 1– FTDI Logo YYWW-A XXXXXXXXXXXX FT4232HQ 16 Line 2– Date Code and Revision Line 3– Wafer Lot Number Line 4– FTDI Part Number 33 17 32 9.000+/- 0.075 Figure 8.1 64 pin QFN Package Details Notes: 1. All dimensions are in mm. 2. Pin 1 ID can be combination of DOT AND/OR Chamfer. Copyright © Future Technology Devices International Limited 42 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 3. Pin 1 ID is NOT connected to the internal ground of the device. It is internally connected to the bottom side central solder pad, which is 4.35 x 4.35mm. 4. Pin 1 ID can be connected to system ground, but it is not recommended using this as a ground point for the device. 5. Optional Chamfer on corner leads. FT4232HL, LQFP-64 Package Dimensions Top View 64 49 1 48 FTDI Indicates Pin #1 (Laser Marked) Line 1– FTDI Logo 16 10.000+/- 0.1 YYWW-A XXXXXXXXXXXX FT4232HL Line 2– Date Code and Revision Line 3– Wafer Lot Number Line 4– FTDI Part Number 33 17 32 10.000+/- 0.1 Dimensions are body dimensions (mm) D D1 64 49 48 16 33 E1 1 E 17 e 32 1.0 o +/- 1 o b 1. 4 + /- 0. 0 5 1. 6 0 12 MAX 8.2 0.05 Min 0.15 Max c c1 0.25 b1 0.2 Min 0.6 +/- 0.15 Figure 8.2 64 pin LQFP Package Details Copyright © Future Technology Devices International Limited 43 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 SY M BO L MIN NO M MA X D 1 1 .8 12 1 2 .2 D1 9 .9 10 1 0 .1 E 1 1 .8 12 1 2 .2 E1 9 .9 10 1 0 .1 b 0 .1 7 0 .2 2 0 .2 7 c 0 .0 9 b1 0 .1 7 c1 0 .0 9 e 0 .2 0 .2 0 .2 3 0 .1 6 0 .5 BSC Table 8.1 64 pin LQFP Package Details – dimensions (in mm) Copyright © Future Technology Devices International Limited 44 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 8.3 FT4232H-56Q, VQFN-56 Package Dimensions 56 1 FTDI Line 1 – FTDI Logo YYWW -C XXXXXXXXXXXX FT4232H-56Q Line 2 – Date Code and Revision Line 3 – Wafer Lot Number Line 4 – FTDI Part Number 28 15 Top View Bottom View Figure 8.3 56-pin VQFN Package Details for FT4232H-56Q Notes: 1. All dimensions are in mm. 2. Pin 1 IDENTFICATION can be combination of DOT AND/OR Chamfer. 3. The internal ground of the device is connected to the bottom side central solder pad whose dimension is 6.10 x 6.10mm. This central solder pad must be connected to the ground of the system. Copyright © Future Technology Devices International Limited 45 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 8.4 Solder Reflow Profile Temperature, T (Degrees C) tp Tp Critical Zone: when T is in the range TL to Tp Ramp Up TL tL TS Max Ramp Down TS Min tS Preheat 25 T = 25º C to TP Time, t (seconds) Figure 8.4 FT4232H Solder Reflow Profile Pb Free Solder Process SnPb Eutectic and Pb free (non (green material) green material) Solder Process 3°C / second Max. 3°C / Second Max. - Temperature Min (T s Min.) 150°C 100°C - Temperature Max (T s 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 260°C see Table 8.3 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, T p 8 minutes Max. 6 minutes Max. Profile Feature Average Ramp Up Rate (T s to Tp) Preheat Time Maintained Above Critical Temperature T L: - Temperature (T L) - Time (tL) Peak Temperature (T p) Time within 5°C of actual Peak Temperature (tp) Table 8.2 Reflow Profile Parameter Values Copyright © Future Technology Devices International Limited 46 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 SnPb Eutectic and Pb free (non green material) Package Thickness 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 Pb Free (green material) = 260 +5/-0 deg C Table 8.3 Package Reflow Peak Temperature Copyright © Future Technology Devices International Limited 47 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 9 Contact Information Head Office – Glasgow, UK Branch Office – Tigard, Oregon, USA 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 Future Technology Devices International Limited (USA) 7130 SW Fir Loop Tigard, OR 97223-8160 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) E-mail (Sales) E-mail (Support) E-mail (General Enquiries) [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Branch Office – Taipei, Taiwan Branch Office – Shanghai, China 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 Future Technology Devices International Limited (China) Room 1103, No. 666 West Huaihai Road, Shanghai, 200052 C hina Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) E-mail (Sales) E-mail (Support) E-mail (General Enquiries) [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Web Site http://ftdichip.com 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 res pons ible to ens ure that their sys tems , and any Future T ec hnology D evices I nternational L td (FTDI ) devices inc orporated in their s ys tems , meet all applicable safety, regulatory and sys tem -level performance requirements . All applic ation- related information in this doc ument (including application desc riptions , s uggested FTDI devices and other materials ) is provided for referenc e only. While FTDI has taken care to assure it is acc urate, this information is subjec t to c ustomer c onfirmation, and FTDI disclaims all liability for sys tem des igns and for any applic ations ass istance provided by FTDI . Use of FTDI devices in life s upport and/or s afety applications is entirely at the user’s ris k, and the us er agrees to defend, indemnify and hold harmless FTDI from any and all damages , c laims , s uits or expense res ulting from s uch us e. T his doc ument is subjec t to change without notice. No freedom to us e patents or other intellectual property rights is implied by the public ation of this document. N either the whol e nor any part of the information c ontained in, or the p roduct described in this doc ument, may be adapted or reproduced in any material or electronic form without the prior written c onsent of the c opyright holder. Future T echnology D evices I nternational L td, U nit 1 , 2 Seawar d P lace, C enturion Business P ark, G la sgow G 4 1 1 HH, U nited Kingdom. Sc otland Registered C ompany N umber: SC136640 Copyright © Future Technology Devices International Limited 48 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Appendix A – References Document References AN_113, “Interfacing FT2232H Hi-Speed Devices To I2C Bus AN_109 – “Programming Guide for High Speed FTCI2C DLL” AN_110 – “Programming Guide for High Speed FTCJTAG DLL AN_111 – “Programming Guide for High Speed FTCSPI DLL AN 113 – “Interfacing FT2232H Hi-Speed Devices To I2C Bus AN114 – “Interfacing FT2232H Hi-Speed Devices To SPI Bus AN135 – MPSSE Basics AN108 - Command Processor For MPSSE and MCU Host Bus Emulation Modes TN_104, “Guide to Debugging Customers Failed Driver Installation AN2232-02, “Bit Mode Functions for the FT2232 74HC595 datasheet FT_PROG Acronyms and Abbreviations Terms CDM CMOS Description Charge Device Model Complementary Metal Oxide Semiconductor ESD Electrostatic Discharge EHCI Extensible Host Controller Interface EEPROM Electrically Erasable Programmable Read-Only Memory FIFO First In First Out FPGA Field-Programmable Gate Array HBM Human Body Model IC Integrated Circuit I²C Inter Integrated Circuit JTAG Joint Test Action Group LDO Low Drop Out LED Light Emitting Deode Copyright © Future Technology Devices International Limited 49 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 LQFP MM MCU MPSSE OHCI Low profile Quad Flat Package Machine Mode Microcontroller Unit Multi-Protocol Synchronous Serial Engine Open Host Controller Interface PLD Programmable Logic Device QFN Quad Flat No-Lead SPI Serial Peripheral Interface USB Universal Serial Bus UART Universal Asynchronous Receiver/Transmitter UHCI Universal Host Controller Interface UTMI Universal Transceiver Macrocell Interface VCP Virtual COM Ports VQFN Very Thin Quad Flat Non-Leaded Package Copyright © Future Technology Devices International Limited 50 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Appendix B - List of Figures and Tables List of Tables Table 3.1 FT4232H Pin Configurations for 64-pin QFN and LQFP package .................................................. 8 Table 3.2 Power and Ground for 64-pin QFN and LQFP package ................................................................ 9 Table 3.3 Common Function pins for 64-pin QFN and LQFP Package .......................................................... 9 Table 3.4 EEPROM Interface Group for 64-pin QFN and LQFP Package ..................................................... 10 Table 3.5 Channel A,B,C and D Asynchronous Serial Interface Configured Pin Descriptions ...................... 11 Table 3.6 Channel A,B,C and D Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions ....... 12 Table 3.7 Channel A and Channel B MPSSE Configured Pin Descriptions .................................................. 13 Table 3.8 FT4232H Pin Configurations for 56-Pin VQFN Package.............................................................. 15 Table 3.9 Power and Ground for 56-pin VQFN package............................................................................ 16 Table 3.10 Common Function pins for 56-pin VQFN Package ................................................................... 16 Table 3.11 EEPROM Interface Group for 56-pin VQFN Package ................................................................ 17 Table 3.12 Channel A,B,C and D Asynchronous Serial Interface Configured Pin Descriptions for FT4232H 56Q ....................................................................................................................................................... 17 Table 3.13 Channel A,B,C and D Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions for FT4232H-56Q......................................................................................................................................... 18 Table 3.14 Channel A and Channel B MPSSE Configured Pin Descriptions for FT4232H-56Q ..................... 19 Table 4.1 MPSSE Signal Timings ............................................................................................................. 26 Table 4.2 Synchronous Bit-Bang Mode Timing Interface Example Timings ............................................... 29 Table 5.1 Absolute Maximum Ratings ..................................................................................................... 31 Table 5.2 Operating Voltage and Current ................................................................................................ 32 Table 5.3 I/O Pin Characteristics (except USB PHY pins) ......................................................................... 33 Table 5.4 PHY Operating Voltage and Current ......................................................................................... 34 Table 5.5 PHY I/O Pin Characteristics...................................................................................................... 34 Table 5.6 ESD Tolerance......................................................................................................................... 34 Table 6.1 OSCI Input characteristics ....................................................................................................... 39 Table 8.1 64 pin LQFP Package Details – dimensions (in mm) ................................................................. 44 Table 8.2 Reflow Profile Parameter Values .............................................................................................. 46 Table 8.3 Package Reflow Peak Temperature .......................................................................................... 47 List of Figures Figure 2.1 FT4232H Block Diagram........................................................................................................... 4 Figure 3.1 FT4232HL and FT4232HQ Schematic Symbol............................................................................ 7 Figure 3.2 FT4232H-56Q Schematic Symbol ........................................................................................... 14 Figure 4.1 RS232 Configuration .............................................................................................................. 22 Figure 4.2 Dual RS422 Configuration ...................................................................................................... 23 Figure 4.3 Dual RS485 Configuration ...................................................................................................... 24 Copyright © Future Technology Devices International Limited 51 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Figure 4.4 MPSSE Signal Waveforms....................................................................................................... 25 Figure 4.5 Adaptive Clocking Interconnect .............................................................................................. 27 Figure 4.6: Adaptive Clocking waveform ................................................................................................. 27 Figure 4.7 Synchronous Bit-Bang Mode Timing Interface Example........................................................... 29 Figure 6.1 Bus Powered Configuration Example 1.................................................................................... 35 Figure 6.2 Bus Powered Configuration Example 2.................................................................................... 36 Figure 6.3 Self Powered Configuration Example 1 ................................................................................... 37 Figure 6.4 Self Powered Configuration Example 2 ................................................................................... 38 Figure 6.5 Recommended FT4232H Crystal Oscillator Configuration. ....................................................... 39 Figure 6.6 Using 74HC595 to Indicate Tx and Rx Data ............................................................................ 40 Figure 8.1 64 pin QFN Package Details.................................................................................................... 42 Figure 8.2 64 pin LQFP Package Details .................................................................................................. 43 Figure 8.3 56-pin VQFN Package Details for FT4232H-56Q ...................................................................... 45 Figure 8.4 FT4232H Solder Reflow Profile................................................................................................ 46 Copyright © Future Technology Devices International Limited 52 FT4232H QUAD HIGH SPEED USB TO MULTIPURPOSE UART/MPSSE IC Datasheet Version 2.3 D oc ument N o.: FT _000060 C learance N o.: FT D I#78 Appendix C - Revision History Document Title: FT4232H Quad High Speed USB to Multipurpose UART/MPSSE IC Document Reference No.: FT_000060 Clearance No.: FTDI#78 Product Page: http://www.ftdichip.com/FTProducts.htm Document Feedback: Send Feedback Revision Changes Date 1.0 Initial Release 2008-11-04 2.0 Revised Release 2009-01-05 2.01 Updated description for bit-bang mode 2009-02-05 2.02 Corrected QFN Tray Numbers from 160 to 260 per tray 2009-03-10 2.03 Corrected signal names in Fig2.1; Added reference to AN_109, AN_110, AN_111 & AN_113; Corrected default of RI#/TXDEN in Table 3.1 2009-05-19 2.04 Added latency timer description to Section 4.1 2009-06-03 2.05 Corrected Figures 6.2, 6.3 and 6.4 – missing regulators and better way of holding self-powered designs in reset if not connected to USB; Corrected Max DC inputs on “DC Input Voltage – “All Other Inputs” pins from VCORE+0.5V to VCCIO+0.5V 2009-09-21 2.06 Added description for MPSSE Adaptive Clocking (Section 4.4.1); Corrected 12MHz crystal specification 2009-10-21 2.07 Corrected Section 4.2 – EEPROM description 2009-12-18 2.08 Added TID number (Section 1.3); Added ESD specifications 2010-05-24 2.09 Added USB certified Logo in Section 1.3; Clarified unsupported baud rates of 7,9,10 and 11 Mbaud; Added clarifications about Wake up in Section 3.4.1; Replaced 74HCT595 with 74HC595 in Section 6.4; Edited Fig 4.1 (removed TXLED & RXLED references) 2010-09-02 2.10 Edited Section 4.3.2, 4.3.3 / Fig 4.2 & 4.3 2010-11-17 2.11 Updated Installation guide/App Notes & Technical Notes links 2012-01-09 2.2 Updated Fig 4.1; Added feedback links 2012-02-11 2.3 Updated information for new package 56-pin VQFN 2016-04-04 Copyright © Future Technology Devices International Limited 53