您好,欢迎来到飒榕旅游知识分享网。
搜索
您的当前位置:首页DS_FT232H

DS_FT232H

来源:飒榕旅游知识分享网
Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 Clearance No.: FTDI #199

Future Technology Devices International Ltd FT232H Single Channel Hi-Speed USB to Multipurpose

UART/FIFO IC

The FT232H is a single channel USB 2.0 Hi- Speed (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, bi-directional 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 high-power 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.5 Clearance No.: FTDI #199 1 Typical Applications

Single chip USB to UART (RS232, RS422 or RS485) USB to FIFO USB to FT1248 USB to JTAG USB to SPI USB to IC USB to Bit-Bang

USB to Fast Serial Interface

USB to CPU target interface (as memory)

2

USB Instrumentation USB Industrial Control USB EPOS Control USB MP3 Player Interface

USB FLASH Card Reader / Writers Set Top Box - USB interface USB Digital Camera Interface USB Bar Code Readers

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...

Windows 7 and Windows 7 64-bit Windows Vista and Vista 64-bit Windows XP and XP 64-bit Windows XP Embedded

Windows 2000, Server 2003, Server 2008 Windows CE 4.2, 5.0, 5.2 and 6.0 Mac OS-X

Linux (2.6.9 or later)

Royalty free D2XX Direct Drivers (USB Drivers + DLL S/W Interface)

Windows 7 and Windows 7 64-bit Windows Vista and Vista 64-bit Windows XP and XP 64-bit Windows XP Embedded

Windows 2000, Server 2003, Server 2008 Windows CE 4.2, 5.0, 5.2 and 6.0 Mac OS-X

Linux (2.6.9 or later)

1.2 Part Numbers

Part Number FT232HL -xxxx FT232HQ-xxxx 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.

Package 48 Pin LQFP 48 Pin QFN 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.5 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.5 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.5 Clearance No.: FTDI #199 Table of Contents

1

1.1 1.2 1.3 1.4

Typical Applications ...................................................................... 2

Driver Support .................................................................................... 2 Part Numbers...................................................................................... 2 USB Compliant .................................................................................... 3 Applicable Documents ........................................................................ 3

2 3

3.1 3.2 3.3 3.4 3.5

FT232H Block Diagram ................................................................. 4 Device Pin Out And Signal Descriptions ........................................ 7

Schematic Symbol ............................................................................... 7 FT232H Pin Descriptions .................................................................... 8 Signal Description ............................................................................... 9 ACBUS Signal Option ......................................................................... 13 Pin Configurations ............................................................................ 14

FT232H pins used in an UART interface......................................................................... 14 FT232H pins used in an FT245 Synchronous FIFO Interface ............................................. 15 FT232H pins used in an FT245 Style Asynchronous FIFO Interface ................................... 16 FT232H can be configured as a Synchronous or Asynchronous Bit-Bang Interface. ............. 17 FT232H pins used in an MPSSE .................................................................................... 18 FT232H Pins used as a Fast Serial Interface .................................................................. 19 FT232H Pins Configured as a CPU-style FIFO Interface ................................................... 20 FT232H Pins Configured as a FT1248 Interface .............................................................. 21

3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 3.5.8

4

4.1 4.2 4.3

Function Description................................................................... 22

Key Features ..................................................................................... 22 Functional Block Descriptions ........................................................... 23 FT232 UART Interface Mode Description ........................................... 24

RS232 Configuration .................................................................................................. 24 RS422 Configuration .................................................................................................. 25 RS485 Configuration .................................................................................................. 26

4.3.1 4.3.2 4.3.3

4.4 FT245 Synchronous FIFO Interface Mode Description ...................... 27

FT245 Synchronous FIFO Read Operation ..................................................................... 28 FT245 Synchronous FIFO Write Operation ..................................................................... 28

4.4.1 4.4.2

4.5 4.6

FT245 Style Asynchronous FIFO Interface Mode Description ............ 29 FT1248 Interface Mode Description .................................................. 30

Bus Width Protocol Decode ......................................................................................... 31 FT1248: 1-bit interface ............................................................................................... 32

4.6.1 4.6.2

4.7 Synchronous and Asynchronous Bit-Bang Interface Mode ................ 34

Asynchronous Bit-Bang Mode ...................................................................................... 34 Synchronous Bit-Bang Mode ........................................................................................ 34

4.7.1 4.7.2

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.5 Clearance No.: FTDI #199 4.8 4.9

MPSSE Interface Mode Description. .................................................. 36 MPSSE Adaptive Clocking ............................................................................................ 37

4.8.1

Fast Serial Interface Mode Description ............................................. 38

Outgoing Fast Serial Data ........................................................................................... 39 Incoming Fast Serial Data ........................................................................................... 39 Fast Serial Data Interface Example .............................................................................. 40

4.9.1 4.9.2 4.9.3

4.10 4.11 4.12 4.13 4.14

CPU-style FIFO Interface Mode Description ................................... 41 RS232 UART Mode LED Interface Description ................................ 43 Send Immediate / Wake Up (SIWU#) ............................................ 44 FT232H Mode Selection .................................................................. 45 Modes Configurations .................................................................... 46 Absolute Maximum Ratings............................................................... 47 DC Characteristics............................................................................. 48 ESD Tolerance ................................................................................... 50

5

5.1 5.2 5.3

Devices Characteristics and Ratings ........................................... 47

6

6.1 6.2 6.3

FT232H Configurations ............................................................... 51

USB Bus Powered Configuration ....................................................... 51 USB Self Powered Configuration ....................................................... 52

Self Powered application example 2 ............................................................................. 53

6.2.1

Oscillator Configuration .................................................................... 54

7

7.1 7.2

EEPROM Configuration ................................................................ 55

EEPROM Interface ............................................................................. 55 Default EEPROM Configuration .......................................................... 56

8

8.1 8.2 8.3

Package Parameters ................................................................... 58

FT232HQ, QFN-48 Package Dimensions ............................................ 58 FT232HL, LQFP-48 Package Dimensions ........................................... 59 Solder Reflow Profile ........................................................................ 60

9 Contact Information ................................................................... 62

Appendix A – List of Figures and Tables .................................................... 64 List of Tables ............................................................................................. 64 List of Figures ............................................................................................ 65 Appendix B – Revision History ................................................................... 66

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.5 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.5 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 Pin # Name 13 ADBUS0 14 15 16 17 18 19 20 21 25 26 27 28 29 30 31 32 33 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 ACBUS0 ACBUS1 ACBUS2 ACBUS3 ACBUS4 ACBUS5 ACBUS6 ASYNC Serial (RS232) TXD RXD RTS# CTS# DTR# DSR# DCD# RI# Pin functions (depends on configuration) STYLE SYNC ASYNC 245 FIFO 245 FIFO D0 D0 D1 D2 D3 D4 D5 D6 D7 RXF# TXE# RD# WR# SIWU# CLKOUT OE# D1 D2 D3 D4 D5 D6 D7 RXF# TXE# RD# WR# SIWU# ACBUS5 ACBUS6 ASYNC Bit-bang D0 D1 D2 D3 D4 D5 D6 D7 ACBUS0 WRSTB# RDSTB# ACBUS3 SIWU# SYNC Bit-bang D0 D1 D2 D3 D4 D5 D6 D7 ACBUS0 WRSTB# RDSTB# ACBUS3 SIWU# Fast Serial CPU Style MPSSE interface FIFO TCK/SK FSDI D0 TDI/DO TDO/DI TMS/CS GPIOL0 GPIOL1 GPIOL2 GPIOL3 GPIOH0 GPIOH1 GPIOH2 GPIOH3 GPIOH4 GPIOH5 GPIOH6 FSCLK FSDO FSCTS ** TriSt-UP ** TriSt-UP ** TriSt-UP ** TriSt-UP D1 D2 D3 D4 D5 D6 D7 CS# A0 RD# WR# SIWU# FT1248 MIOSI0 MIOSI1 MIOSI2 MIOSI3 MIOSI4 MIOSI5 MIOSI6 MIOSI7 SCLK SS_n MISO ACBUS3 ACBUS4 ACBUS5 * TXDEN ** ACBUS0 ** ACBUS1 ** ACBUS1 ** ACBUS2 ** ACBUS2 * RXLED# ** ACBUS3 SIWU# * TXLED# ** ACBUS5 ** ACBUS5 ACBUS6 ** ACBUS5 ACBUS6 ** ACBUS5 ** ACBUS5 ACBUS6 ACBUS6 ACBUS6 ACBUS6 *** ACBUS7 PWRSAV# PWRSAV# PWRSAV# PWRSAV# PWRSAV# PWRSAV# PWRSAV# PWRSAV# GPIOH7 ** ** ** ** ** ** ** ** ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS8 ACBUS9 ** ** ** ** ACBUS9 ** ACBUS9 ** ACBUS9 ** ACBUS9 ** ACBUS9 ** ACBUS9 ** ACBUS9 ** ACBUS9 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.5 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 ** VREGIN Type POWER input POWER output POWER output POWER output or input POWER input POWER Input POWER Input POWER Input POWER Input +3.3V output or input. Description +5.0V or 3V3 power supply input. 37 VCCA +1.8V output. Should not be used. 38 VCORE +1.8V output. Should not be used. 39 ** VCCD 12, 24, 46 VCCIO +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. 8 VPLL 3 VPHY 4,9,41 AGND 10,11,22,23,35,36,47,48 GND 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.

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.5 Clearance No.: FTDI #199 Pin No. 1 2 5 6 7 42 34 Name OSCI OSCO REF DM DP TEST RESET# Type INPUT OUTPUT INPUT INPUT INPUT INPUT INPUT Oscillator input. Oscillator output. Description Current reference – connect via a 12KΩ resistor @ 1% to GND. USB Data Signal Minus. USB Data Signal Plus. IC test pin – for normal operation must be connected to GND. Reset input (active low). USB Power Save input. This is an EEPROM configurable option which is set using a ‟Suspend on DBus7 Low‟ bit on FT_PROG . This option is available when the FT232H is on a self powered mode and is used to prevent forcing current down the USB lines when the host or hub is powered off. 31 PWRSAV# INPUT PWRSAV# = 1 : Normal Operation PWRSAV# = 0 : FT232H forced into SUSPEND mode. PWRSAV# can be connected to VBUS of the USB connector (via a 39KΩ resistor). When this input goes high, then it indicates to the FT232H that it is connected to a host PC. When the host or hub is powered down then the FT232H is held in SUSPEND mode. Table 3.2 Common Function pins

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.5 Clearance No.: FTDI #199 Pin No. 45 44 Name EECS EECLK Type I/O 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 43 EEDATA I/O 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

Pin No. 13 Name ADBUS0 Type Output Description Configurable Output Pin, the default configuration is Transmit Asynchronous Data Output. Configurable Input Pin, the default configuration is Receiving Asynchronous Data Input. Configurable Output Pin, the default configuration is Request to Send Control Output / Handshake Signal. Configurable Input Pin, the default configuration is Clear To Send Control Input / Handshake Signal. Configurable Output Pin, the default configuration is Data Terminal Ready Control Output / Handshake Signal. Configurable Input Pin, the default configuration is Data Set Ready Control Input / Handshake Signal. Configurable Input Pin, the default configuration is Data Carrier Detect Control 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) 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. 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. 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. 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. 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. 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. 14 ADBUS1 Input 15 ADBUS2 Output 16 ADBUS3 Input 17 ADBUS4 Output 18 ADBUS5 Input 19 ADBUS6 Input 20 ADBUS7 Input 21 ACBUS0 I/O 25 ACBUS1 I/O 26 ACBUS2 I/O 27 ACBUS3 I/O 28 ACBUS4 I/O 29 ACBUS5 I/O

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.5 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. 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. 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. 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 32 ACBUS8 I/O 33 ACBUS9 I/O 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 12

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 TXDEN Available On ACBUS Pin Description 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. 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 = Transmit signalling output. Pulses low when transmitting data (TXD) to the external device. This can be connected to an LED. RXLED = Receive signalling output. Pulses low when receiving data (RXD) from the external device. This can be connected to an LED. LED drive – pulses low when transmitting or receiving data from or to the external device. See Section 4.11 for more details. 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. 30MHz Clock output. *PWREN# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 TXLED# ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 ACBUS0, ACBUS5, ACBUS6,ACBUS8, ACBUS9 ACBUS0, ACBUS1, ACBUS2, ACBUS3, ACBUS4, ACBUS5, ACBUS6, ACBUS8, ACBUS9 ACBUS5, ACBUS6,ACBUS8, ACBUS9 RXLED# TX&RXLED# SLEEP# **CLK30 **CLK15 15MHz Clock output. **CLK7.5 7.5MHz Clock output. TriSt-PU Input Pull Up DRIVE 1 Output High DRIVE 0 Output Low I/O mode 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 13

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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. 13 14 15 16 17 18 19 20 Name TXD RXD RTS# CTS# DTR# DSR# DCD# RI# ** TXDEN ** RXLED ** TXLED Type OUTPUT INPUT OUTPUT INPUT OUTPUT INPUT INPUT INPUT 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 DSR# = Data Set Ready modem signalling line DCD# = Data Carrier Detect modem signalling line 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. TXDEN = (TTL level). Use to enable RS485 level converter RXLED = Receive signalling output. Pulses low when receiving data (RXD) from the external device (UART Interface). This should be connected to an LED. TXLED = Transmit signalling output. Pulses low when transmitting data (TXD) to the external device (UART Interface). This should be connected to an LED. 21 OUTPUT 27 OUTPUT 28 OUTPUT 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 14

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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. 13,14,15,16,17,18,19,20 Name ADBUS[7:0] Type I/O FT245 Configuration Description D7 to D0 bidirectional FIFO data. This bus is normally input unless OE# is low. 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. 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. 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. 21 RXF# OUTPUT 25 TXE# OUTPUT 26 RD# INPUT 27 WR# 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 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 15

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 ADBUS[7:0] Type I/O FT245 Configuration Description D7 to D0 bidirectional FIFO data. This bus is normally input unless RD# is low. 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. 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. 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. 21 RXF# OUTPUT 25 TXE# OUTPUT 26 27 28 RD# WR# INPUT INPUT 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.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 16

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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. 13,14,15,16,17,18,19,20 25 WRSTB# OUTPUT Name ADBUS[7:0] Type I/O Configuration Description D7 to D0 bidirectional Bit-Bang parallel I/O data pins 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). 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). 26 RDSTB# OUTPUT 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 17

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 18 19 20 21 25 26 27 28 29 30 31 GPIOL0 GPIOL1 GPIOL2 GPIOL3 GPIOH0 GPIOH1 GPIOH2 GPIOH3 GPIOH4 GPIOH5 GPIOH6 GPIOH7 I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output General Purpose input/output 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 18

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 AN-131).

When configured in this mode, the pins used and the descriptions of the signals are shown in Table 3.11. Pin No. 13 Name FSDI Type INPUT 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. 14 FSCLK INPUT 15 FSDO OUTPUT 16 FSCTS 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 19

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 ADBUS[7:0] Type Fast Serial Interface Configuration Description D7 to D0 bidirectional data bus Active low chip select input Address bit A0 Active Low FIFO Read input Active Low FIFO Write input Tie this pin to VCCIO if not used – otherwise, for normal operation 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. 13, 14, 15, 16, 17, 18, 19, 20 21 25 26 27 I/O INPUT INPUT INPUT INPUT CS# A0 RD# WR# 28 SIWU# INPUT 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 20

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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. 13 14 15 16 17 18 19 20 21 27 28 Name MIOSIO0 MIOSIO1 MIOSIO2 MIOSIO3 MIOSIO4 MIOSIO5 MIOSIO6 MIOSIO7 SCLK SS_n MISO Type INPUT /OUTPUT INPUT /OUTPUT INPUT /OUTPUT INPUT /OUTPUT INPUT /OUTPUT INPUT /OUTPUT INPUT /OUTPUT INPUT /OUTPUT INPUT INPUT OUTPUT UART Configuration Description Bi-directional synchronous command and data bus, bit 0 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 1 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 2 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 3 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 4 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 5 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 6 used to transmit and receive data from/to the master Bi-directional synchronous command and data bus, bit 7 used to transmit and receive data from/to the master Serial clock used to drive the slave device data 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 For functional description of this mode, please refer to section 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.5 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. Please note the FT232H does not support the baud rates of 7 Mbaud 9 Mbaud, 10 Mbaud and 11 Mbaud.

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. TXDEN - transmit enable for RS485 designs.

2. PWREN# - Power control for high power, bus powered designs. 3. TXLED# - for pulsing an LED upon transmission of data. 4. RXLED# - for pulsing an LED upon receiving data.

5. TX&RXLED# - which will pulse an LED upon transmission OR reception of data. 6. SLEEP# - indicates that the device going into USB suspend mode.

7. CLK30 / CLK15 / CLK7.5 - 30MHz, 15MHz and 7.5MHz clock output signal options. 8. TriSt-PU – Input pulled up, not used 9. DRIVE 1 – Output driving high 10. DRIVE 0 - Output driving low 11. 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 22

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 23

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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

24

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 25

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 26

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 27

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 Units ns 9.17 ns 9.17 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 28

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 RD# inactive to RXF# RXF# inactive after RD# cycle RD# to DATA RD# active pulse width RD# active after RXF# WR# active to TXE# inactive TXE# active to TXE# after WR# cycle DATA to WR# active setup time DATA hold time after WR# inactive WR# active pulse width WR# active after TXE# Description Min 1 49 1 30 0 1 49 5 5 30 0 Max 14 ns ns ns ns ns ns ns ns ns ns ns Units 14 14 Table 4.2 Asynchronous FIFO Timings (based on standard drive level outputs) 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.5 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)SCLKMIOSIOFT232H (FT1248 Slave)SCLK[7:0]MIOSIOMISOSS#MISOSS#

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.

CLKSCLKREADSS_nWRITEWRITE DATABUS TURNAROUNDMIOSIO[0]TXE#CMDRDATA0RDATA1RDATA2TXE#CMDWDATA 0WDATA 1TXE#MISORXF#STATUSSTATUSSTATUSRXF#STATUSSTATUSRXF#

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 30

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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.

LSBCMD[3]01-bit Bus WidthCMD[3]02-bit Bus WidthCMD[3]04-bit Bus WidthCMD[3]08-bit Bus WidthCMD[3]0

MSBBWID 2-bitBWID 4-bit1X101X1X12X2X202X2CMD[2]3CMD[2]3CMD[2]3CMD[2]3CMD[2]3BWID 8-bit 4X4X4X404CMD[1]5CMD[1]5CMD[1]5CMD[1]5CMD[1]5CMD[0]6CMD[0]6CMD[0]6CMD[0]6CMD[0]6X7X7X7X7X7Figure 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 31

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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, 4-bit and 8-bit modes.

SCLKSS_nCOMMAND PHASEWRITE DATABUS TURNAROUNDBUS TURNAROUNDBUS TURNAROUNDMIOSIO[0]TXE#CMD300CMD20CMD1CMD0B7B6B5B4B3B2B1B0TXE#MIOSIO[7:1]PULLED HIGHMISORXF#TXE#ACKRXF#

Figure 4.10: FT1248 1-bit Mode Protocol (WRITE)

SCLKSS_nCOMMAND PHASEREAD DATABUS TURNAROUNDBUS TURNAROUNDMIOSIO[0]TXE#CMD300CMD20CMD1CMD0B7B6B5B4B3B2B1B0TXE#MIOSIO[7:1]PULLED HIGHMISORXF#RXF#ACKRXF#

Figure 4.11: FT1248 1-bit Mode Protocol (READ)

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.5 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 8th 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 33

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 34

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 t2 t3 t4 t5 t6 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 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.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/BufferUSBUSB Tx FIFO/BufferParallel I/O dataParallel I/O pinsRDSTB#

Figure 4.13 Bit-bang Mode Dataflow Illustration Diagram.

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.5 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 36

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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).

TDOTCKGPIOL3RTCKARM CPUFT2232H

Figure 4.15 Adaptive Clocking Interconnect

TDO changes on falling edge of TCKTDOTCKRTCK

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 37

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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

Namet1t2t3t4t5t6t7 MinimumTypical55510101020MaximuUnitsnsnsnsnsnsnsnsDescriptionFSDO/FSCTS hold timeFSDO/FSCTS setup timeFSDI hold timeFSDI Setup TimeFSCLK lowFSCLK highFSCLK PeriodTable 4.5 Fast Serial Interface Signal Timings

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.5 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

FSCLKFSDO0StartBitD0D1D2D3D4D5D6D7SRCESourceBitData Bits - LSB firstFigure 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

FSCTSFSCLKFSDI0StartBitD0D1D2D3D4D5D6D7DESTDestinationBitData Bits - LSB first

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 39

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 40

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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# 1 0 0 A0 X 0 1 RD# X Read Data Pipe Read Status WR# X Write Data Pipe Send Immediate Table 4.6 CPU-Style FIFO Interface Operation Select The Status read is shown in Table 4.7 Data Bit bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 Data 1 1 1 1 X X X X Status Data available (=RXF) Space available (=TXE) Suspend Configured X X 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.

A0CS#WR#RD#D7..0t2

ValidValidt3t1t4t6Validt5t7

ValidFigure 4.21 CPU-Style FIFO Interface Operation Signal Waveforms.

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.5 Clearance No.: FTDI #199 Data Bit t1 t2 t3 t4 t5 t6 t7 t8 t9 Nom TBD TBD TBD TBD TBD TBD TBD TBD TBD Max Units ns ns ns ns ns ns ns ns ns Comment A0 / CS Setup to WR# Data setup to WR# WR# Pulse width A0/CS Hold from WR# Data hold from WR# A0/CS Setup to RD# Data delay from RD# A0/CS hold from RD# 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 42

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 43

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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.

CLKOUTWR#D7-D0SIWU#

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 44

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 bit-bang 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 45

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 Clearance No.: FTDI #199 4.14 Modes Configurations This section summarises what modes are configurable using the external EEPROM or the application software.

ASYNC Serial UART STYLE SYNC ASYNC 245 245 PARALLEL FIFO FIFO YES YES FT1248 ASYNC Bit-Bang SYNC Bit-Bang MPSSE Fast Serial Interface CPU-Style FIFO EEPROM configured YES YES NO NO NO YES YES Application Software NO NO YES NO YES configured Table 4.9 Configuration Using EEPROM and Application Software YES YES RESET NO 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 46

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 Storage Temperature Value -65°C to 150°C 168 Hours Floor Life (Out of Bag) At Factory Ambient (30°C / 60% Relative Humidity) (IPC/JEDEC J-STD-033A MSL Level 3 Compliant)* -40°C to 85°C TBD TBD -0.3 to +2.0 -0.3 to +4.0 -0.5 to +3.63 -0.3 to +5.8 16 Hours Unit Degrees C Conditions Ambient Operating Temperature (Power Applied) MTTF FT232HL MTTF FT232HL VCORE Supply Voltage VCCIO IO Voltage DC Input Voltage – USBDP and USBDM DC Input Voltage – High Impedance Bi-directionals (powered from VCCIO) DC Output Current – Outputs Table 5.1 Absolute Maximum Ratings Degrees C Hours Hours V V V V mA * 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 47

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 VCC Core Operating Supply Voltage VCCIO Operating Supply Voltage VREGIN Voltage regulator Input VREGIN Voltage regulator Input Regulator Current Regulator Current Core Operating Supply Current Minimum Typical Maximum Units Conditions VCORE 1.62 1.8 1.98 V VCCIO* VREGIN 5 Volts VREGIN 3.3 Volts Ireg Ireg 2.97 3.63 V Cells are 5V tolerant 3.6 5 5.5 V 5 volt input to VREGIN 3.3 volt input to VREGIN VREGIN +5V VREGIN +3.3V VCORE = +1.8V Normal Operation VCORE = +1.8V Device in reset state VCORE = +1.8V USB Suspend 3.3 3.3 3.6 V 54 52 24 mA mA Icc1 mA Icc1r Core Reset Supply Current 4.3 mA Icc1s Core Suspend Supply Current 330 µA 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 48

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 Ioh = +/-2mA 2.4 VCCIO VCCIO V I/O Drive strength* = 4mA I/O Drive strength* = 8mA I/O Drive strength* = 12mA I/O Drive strength* = 16mA Iol = +/-2mA Voh Output Voltage High 2.4 VCCIO VCCIO V 2.4 VCCIO VCCIO V 2.4 VCCIO VCCIO V 0 0.4 V I/O Drive strength* = 4mA I/O Drive strength* = 8mA I/O Drive strength* = 12mA I/O Drive strength* = 16mA LVTTL Vol Output Voltage Low 0 0 0 0.4 0.4 0.4 0.8 V V V Vil Input low Switching Threshold Input High Switching Threshold Switching Threshold Schmitt trigger negative going threshold voltage Schmitt trigger positive going threshold voltage Input pull-up resistance Input pull-down resistance Input Leakage Current V Vih Vt Vt- Vt+ Rpu Rpd Iin Ioz 2.0 0.8 1.5 1.1 1.6 75 75 +/-1 2.0 190 190 10 V V V V KΩ KΩ μA μA LVTTL LVTTL Vin = 0 Vin =VCCIO Vin = 0 Vin = 5.5V or 0 40 40 -10 Tri-state output leakage -10 +/-1 10 current Table 5.3 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) * The I/O drive strength and slow slew-rate are configurable in the EEPROM.

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.5 Clearance No.: FTDI #199 DC Characteristics (Ambient Temperature = -40°C to +85°C)

Parameter VPHY, VPLL Iccphy Iccphy (susp) Description Minimum Typical Maximum Units Conditions PHY Operating Supply Voltage PHY Operating Supply Current PHY Operating Supply Current 3.0 3.3 3.6 V 3.3V I/O --- 30 60 mA Hi-speed operation at 480 MHz --- 10 50 μA USB Suspend Table 5.4 PHY Operating Voltage and Current

Parameter Description Minimum VCORE-0.2 Typical Maximum Units Conditions Voh Vol Vil Output Voltage High Output Voltage Low Input low Switching Threshold Input High Switching Threshold 0.2 0.8 V V V 2.0 - - Vih V Table 5.5 PHY I/O Pin Characteristics

5.3 ESD Tolerance

ESD protection for FT232H IO‟s

Parameter Reference Minimum Typical Maximum Units Human Body Model (HBM) Machine Mode (MM) Charge Device Model (CDM) Latch-up Table 5.6 ESD Tolerance JEDEC EIA/JESD22-A114-B, Class 2 JEDEC EIA/JESD22-A115-A, Class B JEDEC EIA/ JESD22-C101-D, Class-III ±2kV kV ±200V V ±500V ±200mA V mA JESD78, Trigger Class-II

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.5 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 51

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 52

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 53

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 Conditions OSCI Vin FIn Ji Input Voltage Input Frequency Cycle to cycle jitter 2.97 3.3V 12MHz <150 3.63 V MHz pS ± 30ppm Table 6.1 OSCI Input characteristics

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.5 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 55

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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) USB Product UD (PID) bcd Device Serial Number Enabled? Serial Number 0403h 6014h 009h Yes See Note FTDI default VID (hex) FTDI default PID (hex) A unique serial number is generated and programmed into the EEPROM during device final test. Enabling this option will make the device pull down on the UART interface lines when in USB suspend mode (PWREN# is high). 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). Pull down I/O Pins in USB Suspend Disabled Manufacturer Name Product Description Max Bus Power Current Power Source Device Type USB Version FTDI Single-RS232-HS 90mA Bus Powered FT232H 0200 Remote Wake Up Enabled Taking RI# low will wake up the USB host controller from suspend in approximately 20 ms. Allows the user to select the hardware mode of the device. Options include: RS232 UART, 245 FIFO, CPU 245, OPTO Isolate and FT1248. FT1248 can be configured to set: Clock Polarity High; Bit Order LSB and Flow Control Not Selected. Enters low power state on ACBus7. Enables the high drive level on the UART and ACBUS I/O pins. Makes the device load the VCP driver interface Hardware Interface UART FT1248 Settings 00h Suspend ACBus7 Low High Current I/Os Disabled Disabled Load VCP Driver Enabled 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.5 Clearance No.: FTDI #199 Parameter Value Notes for the device. ACBUS0 TriSt-PU Default configuration of ACBUS0 – Input pulled up Default configuration of ACBUS1 – Input pulled up Default configuration of ACBUS2 Input pulled up Default configuration of ACBUS3 – Input pulled up Default configuration of ACBUS4 – Input pulled up Default configuration of ACBUS5 – Input pulled up Default configuration of ACBUS6 – Input pulled up Default configuration of ACBUS7 – Input pulled down Default configuration of ACBUS8 – Input pulled up Default configuration of ACBUS9 – Input pulled up ACBUS1 TriSt-PU ACBUS2 TriSt-PU ACBUS3 TriSt-PU ACBUS4 TriSt-PU ACBUS5 TriSt-PU ACBUS6 TriSt-PU ACBUS7 TriSt-PD ACBUS8 TriSt-PU ACBUS9 TriSt-PU Table 7.1 Default External EEPROM Configuration 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.5 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 58

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 59

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 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 60

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 Clearance No.: FTDI #199 Pb Free Solder Process Profile Feature (green material) Average Ramp Up Rate (Ts to Tp) 3°C / second Max. 150°C 200°C 60 to 120 seconds SnPb Eutectic and Pb free (non green material) Solder Process 3°C / Second Max. Preheat - Temperature Min (Ts Min.) - Temperature Max (Ts Max.) - Time (ts Min to ts Max) 100°C 150°C 60 to 120 seconds Time Maintained Above Critical Temperature TL: - Temperature (TL) - Time (tL) Peak Temperature (Tp) Time within 5°C of actual Peak Temperature (tp) Ramp Down Rate Time for T= 25°C to Peak Temperature, Tp Table 8.1 Reflow Profile Parameter Values 217°C 60 to 150 seconds 183°C 60 to 150 seconds 260°C 30 to 40 seconds 20 to 40 seconds 6°C / second Max. 8 minutes Max. 6°C / second Max. 6 minutes Max.

SnPb Eutectic and Pb free (non green material) Package Thickness Volume mm3 < 350 235 +5/-0 deg C 220 +5/-0 deg C Volume mm3 >=350 220 +5/-0 deg C 220 +5/-0 deg C < 2.5 mm ≥ 2.5 mm Pb Free (green material) = 260 +5/-0 deg C Table 8.2 Package Reflow Peak Temperature

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.5 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) sales1@ftdichip.com E-mail (Support) support1@ftdichip.com E-mail (General Enquiries) admin1@ftdichip.com Web Site URL http://www.ftdichip.com Web Shop URL http://www.ftdichip.com

Branch Office – Taipei, Taiwan

Future Technology Devices International Limited (Taiwan) 2F, No. 516, Sec. 1, NeiHu Road Taipei 114

Taiwan , R.O.C.

Tel: +886 (0) 2 8791 3570 Fax: +886 (0) 2 8791 3576

E-mail (Sales) tw.sales1@ftdichip.com E-mail (Support) tw.support1@ftdichip.com E-mail (General Enquiries) tw.admin1@ftdichip.com Web Site URL http://www.ftdichip.com

Branch Office – Hillsboro, Oregon, USA

Future Technology Devices International Limited (USA) 7235 NW Evergreen Parkway, Suite 600 Hillsboro, OR 97123-5803 USA

Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987

E-Mail (Sales) us.sales@ftdichip.com E-Mail (Support) us.support@ftdichip.com E-Mail (General Enquiries) us.admin@ftdichip.com Web Site URL 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) cn.sales@ftdichip.com E-mail (Support) cn.support@ftdichip.com E-mail (General Enquiries) cn.admin@ftdichip.com Web Site URL http://www.ftdichip.com

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.5 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 63

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 Clearance No.: FTDI #199 Appendix A – List of Figures and Tables List of Tables

Table 3.2 Common Function pins .................................................................................................. 10 Table 3.3 EEPROM Interface Group ............................................................................................... 11 Table 3.4 UART Interface and ACBUS Group (see note 1) ................................................................ 12 Table 3.5 ACBUS Configuration Control ......................................................................................... 13 Table 3.6 UART Configured Pin Descriptions ................................................................................... 14 Table 3.7 FT245 Synchronous FIFO Configured Pin Descriptions ....................................................... 15 Table 3.8 FT245 Style Asynchronous FIFO Configured Pin Descriptions .............................................. 16 Table 3.9 Synchronous or Asynchronous Bit-Bang Configured Pin Descriptions ................................... 17 Table 3.10 MPSSE Configured Pin Descriptions ............................................................................... 18 Table 3.11 Fast Serial Interface Configured Pin Descriptions............................................................. 19 Table 3.12 CPU-style FIFO Interface Configured Pin Descriptions ...................................................... 20 Table 3.13 FT1248 Configured Pin Descriptions .............................................................................. 21 Table 4.1 FT245 Synchronous FIFO Interface Signal Timings ............................................................ 28 Table 4.2 Asynchronous FIFO Timings (based on standard drive level outputs) ................................... 29 Table 4.3 Synchronous Bit-Bang Mode Timing Interface Example Timings .......................................... 35 Table 4.4 MPSSE Signal Timings ................................................................................................... 36 Table 4.5 Fast Serial Interface Signal Timings ................................................................................ 38 Table 4.6 CPU-Style FIFO Interface Operation Select ....................................................................... 41 Table 4.7 CPU-Style FIFO Interface Operation Read Status Description .............................................. 41 Table 4.8 CPU-Style FIFO Interface Operation Signal Timing. ........................................................... 42 Table 4.9 Configuration Using EEPROM and Application Software ...................................................... 46 Table 5.1 Absolute Maximum Ratings ............................................................................................ 47 Table 5.2 Operating Voltage and Current (except PHY) .................................................................... 48 Table 5.3 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) ........................................... 49 Table 5.4 PHY Operating Voltage and Current ................................................................................. 50 Table 5.5 PHY I/O Pin Characteristics ............................................................................................ 50 Table 5.6 ESD Tolerance .............................................................................................................. 50 Table 6.1 OSCI Input characteristics ............................................................................................. 54 Table 7.1 Default External EEPROM Configuration ........................................................................... 57 Table 8.1 Reflow Profile Parameter Values ..................................................................................... 61 Table 8.2 Package Reflow Peak Temperature .................................................................................. 61

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.5 Clearance No.: FTDI #199 List of Figures Figure 2.1 FT232H Block Diagram ................................................................................................... 4 Figure 3.1 FT232H Schematic Symbol ............................................................................................. 7 Figure 4.1 RS232 Configuration .................................................................................................... 24 Figure 4.2 Dual RS422 Configuration ............................................................................................. 25 Figure 4.3 Dual RS485 Configuration ............................................................................................. 26 Figure 4.4 FT245 Synchronous FIFO Interface Signal Waveforms ...................................................... 27 Figure 4.5 FT245 Asynchronous FIFO Interface READ Signal Waveforms ............................................ 29 Figure 4.6 FT245 Asynchronous FIFO Interface WRITE Signal Waveforms .......................................... 29 Figure 4.7 FT1248 Bus with Single Master and Slave. ...................................................................... 30 Figure 4.8: FT1248 Basic Waveform Protocol. ................................................................................. 30 Figure 4.9: FT1248 Command Structure ........................................................................................ 31 Figure 4.10: FT1248 1-bit Mode Protocol (WRITE) .......................................................................... 32 Figure 4.11: FT1248 1-bit Mode Protocol (READ) ............................................................................ 32 Figure 4.12 Synchronous Bit-Bang Mode Timing Interface Example ................................................... 35 Figure 4.13 Bit-bang Mode Dataflow Illustration Diagram. ................................................................ 35 Figure 4.14 MPSSE Signal Waveforms ........................................................................................... 36 Figure 4.15 Adaptive Clocking Interconnect.................................................................................... 37 Figure 4.16: Adaptive Clocking waveform. ..................................................................................... 37 Figure 4.17 Fast Serial Interface Signal Waveforms......................................................................... 38 Figure 4.18 Fast Serial Interface Output Data ................................................................................. 39 Figure 4.19 Fast Serial Interface Input Data ................................................................................... 39 Figure 4.20 Fast Serial Interface Example ...................................................................................... 40 Figure 4.21 CPU-Style FIFO Interface Operation Signal Waveforms. .................................................. 41 Figure 4.22 CPU-Style FIFO Interface Example ............................................................................... 42 Figure 4.23 Dual LED UART Configuration ...................................................................................... 43 Figure 4.24 Single LED UART Configuration .................................................................................... 43 Figure 4.25: Using SIWU# ........................................................................................................... 44 Figure 6.1 Bus Powered Configuration Example 1............................................................................ 51 Figure 6.2 Self Powered Configuration Example 1 ........................................................................... 52 Figure 6.3 Self Powered Configuration Example 2 ................................................................... 53 Figure 6.4 Recommended FT232H Oscillator Configuration ............................................................... 54 Figure 7.1 EEPROM Interface ........................................................................................................ 55 Figure 8.1 48 pin QFN Package Details .......................................................................................... 58 Figure 8.2 48 pin LQFP Package Details ............................................... Error! Bookmark not defined. Figure 8.3 48 pin LQFP and QFN Reflow Solder Profile ..................................................................... 60

Copyright © 2011 Future Technology Devices International Limited 65

Document No.: FT_000288 FT232H SINGLE CHANNEL HI-SPEED USB TO MULTIPURPOSE UART/FIFO IC Datasheet Version 1.5 Clearance No.: FTDI #199 Appendix B – Revision History Revision History Version draft 1.0 Version 1.0 Version 1.1

First draft available First release

13th January 2011 24th February 2011 19th April 2011

Changes made to ACBUS7 details. Updated the reset line of the schematics. Added USB Compliance logo and TID

Version 1.2 Version 1.3

Corrected TID number April 2011

Changed the value of recommended capacitor on the Reset# pin Changed signal label of WR to WR#

May 2011 September 2011

Version 1.4

Missing #(active low) on WR signal pgae 8 and page 40 Enhanced recommended schematics.

Added Pin 31 ACBUS7 Description (Table 9.1) Added Package Dimension Tolerance in Section 8.2 Added a list of unsupported baud rates to section 4.1 data transfer rate

Version 1.5

25th November 2011

Copyright © 2011 Future Technology Devices International Limited 66

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- sarr.cn 版权所有

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务