FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Future Technology Devices International Ltd. FT4222H (USB2.0 to QuadSPI/I2C Bridge IC) FT4222H is a USB2.0 to Quad-SPI/I2C interface Device Controller with the following advanced features: Configurable GPIOs can be easily controlled by software applications via USB bus USB Battery Charger Detection. Single chip USB2.0 Hi-speed to SPI/I2C bridge with a variety of configurations Device supplied pre-programmed with unique USB serial number. Entire USB protocol handled on the chip. On-chip OTP memory for USB Vendor ID (VID), Product ID (PID), device serial number, product description string and various other vender specific data. USB Power Configurations; supports buspowered, self-powered and bus-powered with power switching. +5V USB VBUS detection engine Integrated 5V-3.3V-1.8V level converter for USB I/O. interface controller Support configurable data width with single, dual, quad data width transfer mode in SPI master True 3.3V CMOS drive output and TTL input. (operates down to 1V8 with external pull-ups) Configurable I/O pin output drive strength; 4 mA(min) and 16 mA(max) SCK can support up to 30MHz in SPI master Integrated power-on-reset circuit. Up to 28Mbps data transfer rate in SPI master with quad mode transfer USB2.0 Low operating and suspend current; 68mA (active-typ) and 375µA (suspend-typ). Support single bit data transfer with full-duplex transfer in SPI Slave UHCI / OHCI / EHCI / XHCI host controller compatible. Support up to 4 channels slave selection control pins in SPI master application Configurable I2C Master/Slave interface controller FTDI’s royalty-free Direct (D2XX) drivers for Windows eliminate the requirement for USB driver development in most cases. Extended operating temperature range; -40 to 85⁰C. Available in compact Pb-free 32 Pin VQFN packages (RoHS compliant). Configurable industry standard SPI Master/Slave conforming to I2C v2.1 and v3.0 specification. 2 Support 4 speed modes defined in I C-bus Specification, standard mode (SM) up to 100Kbit/s, fast mode (FM) up to 400Kbit/s, Fast mode plus (FM+) up to 1Mbit/s, and High Speed mode (HS) up to 3.4 Mbit/s Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. Future Technology Devices International Ltd will not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH United Kingdom. Scotland Registered Company Number: SC136640 Copyright © 2015 Future Technology Devices International Limited 1 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 1 Clearance No.: FTDI#405 Typical Applications USB to single mode SPI master controller USB Industrial Control USB to dual mode SPI master controller USB Data Acquisition USB to quad mode SPI master controller USB to single SPI slave controller Accessory connectivity solutions for mobiles and tablets USB to I2C master interface controller USB dongle implementations for Software/ Hardware Encryption and Wireless Modules USB to I2C slave interface controller Utilising USB to add system modularity Incorporate USB interface to enable PC transfers for development system communication Detect USB dedicated charging ports, to allow for high current battery charging in portable devices. 1.1 Driver Support Royalty free D2XX Direct Drivers (USB Drivers + DLL S/W Interface) Windows 10 32, 64-bit Windows 8.1 32, 64-bit Windows 8 32, 64-bit Windows 7 32, 64-bit Server 2008 R2 Server 2012 R2 For driver installation, please refer to http://www.ftdichip.com/Documents/InstallGuides.htm 1.2 Part Numbers Part Number Package FT4222HQ-x 32 Pin VQFN Note: Packing codes for x is: - R: Taped and Reel, 5,000pcs per reel - T: Tray packing, 490pcs per tray For example: FT4222HQ-R is 5,000pcs taped and reel packing Copyright © 2015 Future Technology Devices International Limited 2 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 1.3 USB Compliant The FT4222H is fully compliant with the USB 2.0 specification and has been given the USB-IF Test-ID (TID) 40001599. Copyright © 2015 Future Technology Devices International Limited 3 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 2 Clearance No.: FTDI#405 FT4222H Block Diagram Figure 2.1 FT4222H Block Diagram For a description of each function please refer to Section 4. Copyright © 2015 Future Technology Devices International Limited 4 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Table of Contents 1 Typical Applications ...................................................................... 2 1.1 Driver Support .................................................................................... 2 1.2 Part Numbers...................................................................................... 2 1.3 USB Compliant .................................................................................... 3 2 FT4222H Block Diagram ............................................................... 4 3 Device Pin Out and Signal Description .......................................... 7 3.1 VQFN-32 Package Pin Out ................................................................... 7 3.2 Pin Description ................................................................................... 8 4 Function Description................................................................... 10 4.1 Key Features ..................................................................................... 10 4.2 Functional Block Descriptions ........................................................... 11 FT4222H Chip Mode Configuration and SPI/I2C Interface .......... 14 5 5.1 Chip Mode Configuration ................................................................... 14 5.2 SPI Bus Interface ............................................................................. 15 5.2.1 SPI Pin Definition ....................................................................................................... 15 5.2.2 SPI Bus Protocol ........................................................................................................ 15 5.2.3 SCK Format .............................................................................................................. 17 5.2.4 5.3 I C Bus Interface .............................................................................. 20 5.3.1 I2C Pin Definition ....................................................................................................... 20 5.3.2 I2C Bus Protocol......................................................................................................... 20 5.3.3 I2C Slave Address ...................................................................................................... 21 5.3.4 I2C Timing ................................................................................................................ 21 5.4 6 GPIOs ............................................................................................... 23 Devices Characteristics and Ratings ........................................... 24 6.1 Absolute Maximum Ratings............................................................... 24 6.2 ESD and Latch-up Specifications ....................................................... 24 6.3 DC Characteristics............................................................................. 25 6.4 OTP Memory Reliability Characteristics ............................................ 30 7 8 SPI Timing ................................................................................................................ 18 2 FT4222H Configurations ............................................................. 31 7.1 USB Bus Powered Configuration ...................................................... 31 7.2 Self Powered Configuration with 5V Source Input ............................ 32 7.3 Self Powered Configuration with 3.3V Source In .............................. 33 7.4 Crystal Oscillator Configuration ........................................................ 34 7.5 USB Battery Charging Detection ....................................................... 35 Application Examples ................................................................. 36 Copyright © 2015 Future Technology Devices International Limited 5 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 9 Clearance No.: FTDI#405 Internal OTP Memory Configuration ........................................... 38 9.1 Default Values .................................................................................. 38 9.2 Method of Programming the OTP Memory......................................... 41 9.2.1 10 Programming the OTP memory over USB ...................................................................... 41 Package Parameters ................................................................... 42 10.1 VQFN-32 Package Mechanical Dimensions ..................................... 42 10.2 VQFN-32 Package Markings ........................................................... 43 10.3 Solder Reflow Profile ..................................................................... 44 11 Contact Information ................................................................... 45 Appendix A – References ........................................................................... 46 Appendix B - List of Figures and Tables ..................................................... 47 Appendix C - Revision History .................................................................... 49 Copyright © 2015 Future Technology Devices International Limited 6 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 3 Clearance No.: FTDI#405 Device Pin Out and Signal Description 3.1 VQFN-32 Package Pin Out Figure 3.1 Pin Configuration VQFN-32 (top-down view) Copyright © 2015 Future Technology Devices International Limited 7 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 3.2 Pin Description FT4222H Pin No. Pin Name Type 1 DEBUGGER I/O 2 STEST_RSTN I 3 RESETN I Chip reset input for non-test mode operation. Active low. 4 DCNF0 I Chip mode configuration selection bit 0. Refer to Section 5.1 5 DCNF1 I Chip mode configuration selection bit 1. Refer to Section 5.1 6 DGND P Digital Ground ** Description Debugging pin. Should be reserved and tied to high Chip reset input for test mode. Active low. Should be reserved and tied to high. +3.3V/2.5V/1.8V supply voltage. This is the supply voltage for all the I/O ports. This pin shall be connected to pin 25 when I/O ports are working at 3.3V 7 VCCIO 8 SCK I/O SPI interface clock. Serial clock output for SPI master; serial clock input for SPI slave mode 9 MISO I/O In SPI master single mode, it is master serial data input. In SPI master dual/quad mode, it is SPI data bus bit 1. In SPI slave mode, it is slave serial data output. 10 MOSI I/O In SPI master single mode, it is master serial data output. In SPI master dual/quad mode, it is SPI data bus bit 0. In SPI slave mode, it is slave serial data input. 11 IO2 I/O Quad SPI data bus bit 2 12 IO3 I/O Quad SPI data bus bit 3 13 GPIO0/SS1O/SCL I/O GPIO 0 (default) can be configured as slave selection 1, output pin for SPI master mode or serial clock for I2C mode 14 GPIO1/SS2O/SDA I/O GPIO 1 (default) can be configured as slave selection 2, output pin for SPI master mode or serial data for I2C mode 15 GPIO2/SS3O/SUSP_OUT I/O GPIO 2 (default) can be configured as slave selection 3, output pin for SPI master mode or USB suspend output indicator 16 GPIO3/WAKEUP/INTR I/O GPIO 3 (default) and can be configured as USB remote wakeup input pin or interrupt input 17 SS0O O Slave selection 0, output pin for SPI master mode. 18 XSCI AI Crystal oscillator input, 12MHz only. Related application circuit can be referred to in Section7.4 19 XSCO AO Crystal oscillator output, 12MHz only. Related application P Copyright © 2015 Future Technology Devices International Limited 8 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 FT4222H Pin No. Pin Name Type Clearance No.: FTDI#405 Description circuit can be referred to in Section7.4 20 UGND P 21 RREF AI 22 DM AI/O USB peripheral bidirectional DM line. 23 DP AI/O USB peripheral bidirectional DP line. 24 UGND P 25 VOUT3V3 26 VCCIN 27 ** P ** USB Analog Ground USB peripheral reference voltage input. Connect 12Kohm +/- 1% resistor to GND. USB Analog Ground +3.3V voltage Out May be used to power VCCIO. When VCCIN is supplied with 3.3V, this pin is a power input pin. Connect to pin 26. +5.0V(or 3.3V) supply voltage In P Power source-in to embedded regulator. AGND P Analog Ground 28 DGND P Digital Ground 29 VPP P Power source for Programming embedded OTP. It should be kept floating or 0V when not in programming mode 30 VBUS_DET I VBUS detection input. It is a +5.0V tolerant pin 31 BCD_DET O Battery charger detection indicator output when the device is connected to a dedicated battery charger port. Polarity can be defined 32 SS I SPI slave selection indicator from SPI master. This pin is active in SPI slave mode. It must be tied to high when SPI master mode enabled. +6.5V supply voltage In Table 3.1 FT4222H Pin Description **If VCCIN is supplied with 3.3V power input, then VOUT3V3 and VCCIO must also be driven with this 3.3V power source Copyright © 2015 Future Technology Devices International Limited 9 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 4 Clearance No.: FTDI#405 Function Description The FT4222H is a Hi-Speed USB2.0-to-Quad SPI/ I2C device controller in a compact 32-pin VQFN package. The FT4222H requires an external Crystal (12 MHz) for the internal PLL to operate. It supports multi-voltage IO, 3.3V, 2.5V or 1.8V. It also provides 128 bytes one-time-programmable (OTP) memory space for storing vendor specific information. The FT4222H contains SPI/ I2C configurable interfaces. The SPI interface can be configured in master mode with single, dual, or quad bits data width transfer or in slave mode with single bit data width transfer. The I2C interface can be configured in master or slave mode. 4.1 Key Features Functional Integration. The FT4222H is a USB 2.0 Hi-Speed (480Mbits/s) to flexible and configurable SPI or I2C interfaces IC. The FT4222H includes an integrated +1.8V and +3.3V Low Drop-Out (LDO) regulator and 12MHz to 480MHz PLL. It also includes Power-On-Reset (POR), VBUS detection with 5Vtolerance and 128 bytes one-time-programmable(OTP) memory which simplify external circuit design and reduce external component count. USB2.0 Hi-Speed Device Controller. The FT4222H integrates a USB protocol engine which controls the physical Universal Transceiver Macrocell Interface (UTMI) and handles all aspects of the USB 2.0 HiSpeed interface. It contains one control endpoint, and 4-pairs of IN and OUT endpoints. These endpoints can implement up to 4 independent interfaces/applications mapped to combined I2C, GPIO, SPI interfaces. Highly Integrated USB2.0 to Configurable SPI Bridge. The FT4222H provides the bridge function between a USB2.0 device, upstream port and an SPI Master/Slave. A support library, LibFT4222, based on FTDI’s D2XX driver, enables easy configuration of the SPI as a master or slave. Operating clock frequency on the SPI bus, clock phase and polarity, transfer data bit width mode, and the number of slave selection controls are also configurable. The maximum SPI interface operating clock can be set up to 40MHz in master mode and 20MHz in slave mode. With quad mode (4-bits) data bus width, the max data transfer throughput can be up to 28Mbps. USB to Configurable I2C Controller. The FT4222H also provides the bridge function between a USB2.0 device upstream port and an I2C Master/Slave interface. A support library, LibFT4222, based on FTDI’s D2XX driver, enables easy configuration of the I2C as either a master or slave, including target operating speed and bus protocol on the I2C bus. The device can run at common I2C bus speeds, standard mode (SM), fast mode (FM), Fast mode plus (FM+), and High Speed mode (HS). A higher bit rate on the I2C bus is also configurable up to 6.66Mbit/s. Clock stretching is supported to conform to v2.1 and v3.0 of the I2C specification. Configurable GPIOs. There are 4 GPIO pins in the FT4222H that can be configured for different purposes, such as a suspend indicator output, remote wake up input, an interrupt input or general purpose Input/Output. These GPIOs can be easily initialized and fully controlled at the USB host side by the application programming interface (API) defined in LibFT4222. Signal drive strength and slew rate of these GPIOs can be configured via the FT_Prog utility for different design needs. Embedded OTP memory. The internal OTP memory in the FT4222H is used to store USB Vendor ID (VID), Product ID (PID), device serial number, product description string and various other USB configuration descriptors. With this embedded OTP memory, the device can store vendor specific information and save the cost on BOM. The descriptors can be programmed using the FTDI utility software called FT_PROG, which can be downloaded from the FTDI Utilities page on the FTDI website (http://www.ftdichip.com/Support/Utilities.htm#FT_Prog). Power management. USB 2.0 suspend/resume and remote wakeup are fully supported. The PHY will be put to a power saving mode and the clock to most of the digital circuits will be stopped when the device is suspended. Source Power and Power Consumption. The FT4222H is capable of operating at a voltage supply of +3.3V or +5.0V with a nominal operational mode current of 68mA and a nominal USB suspend mode current of 375µA. This allows greater margin for peripheral designs to meet the USB suspend mode current limit of 2.5mA. An integrated level converter within the FT4222H allows the device to interface with logic running at +1.8V, 2.5V or +3.3V. (Note: External pull-ups are recommended for IO <3V3). Copyright © 2015 Future Technology Devices International Limited 10 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 4.2 Functional Block Descriptions The following paragraphs detail each function within the FT4222H. Please refer to the block diagram shown in Figure 2.1 USB2.0 UTMI PHY. The Universal Transceiver Macrocell Interface (UTMI) is a physical interface cell. This block handles the full speed and high 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 should be connected to the XSCI and XSCO pins. 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) and 12 Mbit/s “Full Speed” (FS). SYNC/EOP generation and checking. Data and clock recovery from a 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 USB Device Controller. The USB Device controller in the FT4222H controls and manages the interface between the UTMI PHY and the interfaces of the chip. It provides 9 endpoints to fit into the FT4222H applications. The USB Device Controller function includes: Endpoint-0 for a control pipe with max packet size 64 Bytes 4 endpoints for bulk-in pipe with configurable max packet size up to 512 Bytes 4 endpoints for bulk-out pipe with configurable max packet size up to 512 Bytes Multiple interfaces configuration support Suspend detection and power management Remote wake-up support Fully compatible to USB2.0 specification requirement Endpoint Buffer. For fulfilling the max packet size requirement and high performance data transfer throughput, the Endpoint Buffer is 4160 bytes SRAM with configurable size management to each endpoint. It can be configured as single or double buffers and adjustable size for each endpoint. QuadSPI Master/Slave Controller. The QuadSPI is a fully configurable SPI master/slave device, which allows the user to configure polarity and phase of the serial clock signal SCK. When SPI is configured as a master, it can be configured automatically to drive slave select outputs (SS3O – SS0O), and address the SPI slave device to exchange serially shifted data. The data bus can be configured as single (1bit), dual (2-bits) and quad (4-bits) mode for different transfer requests and applications. The interface operating clock can be easily configured up to 30MHz. When SPI is configured as a slave, the SPI engine can support one slave port and operate a single data mode transfer. The max acceptable operating clock can be up to 20MHz. The QuadSPI controller can be configured via a support library, LibFT4222. For details refer to the User Guide For LibFT4222. QuadSPI as master functions include: Single Mode (1-bit) data transfer with full duplex serial data transfer Dual Mode (2-bit) data transfer Quad Mode (4-bit) data transfer Up to 4 SPI slave channels can be addressed via pins SS3O~SS0O Shared data bus to minimize related pin counts 4 types of transfer format can be selected by Phase and Polarity Configurable interface clock on SCK as 1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256 of 80MHz, 60MHz,48MHz and 24MHz Copyright © 2015 Future Technology Devices International Limited 11 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 SCK Freq. (Hz) Clearance No.: FTDI#405 SCK = Operating Clock * the following ratio Operating Clock Max Throughput can be expected 1/2 1/4 1/8 1/16 1/32 1/64 1/128 1/256 80MHz 28.1Mbps* 40M* 20M* 10M 5M 2.5M 1.25M 625K 312.5K 60MHz 20.5Mbps* 30M* 15M 7.5M 3.75M 1.875M 937.5K 468.75K 234.375K 48MHz 16.3Mbps* 24M* 12M 6M 3M 1.5M 750K 375K 187.5K 24MHz 8.0Mbps* 12M* 6M 3M 1.5M 750K 375K 187.5K 93.75K Table 4.1 SCK Operating Frequency in SPI Master Mode *The max. throughput can be expected under the condition of quad mode transfers with a high operating frequency on SCK. It also depends on the USB bus transfer condition. For example, the max throughput that can be expected is up to 28.1Mbps when the operating clock is equal to 80MHz, SCK is set as 20MHz or 40MHz, the data bus is operating in quad mode and the USB bus is operating at hi-speed USB rates with sufficient bandwidth. QuadSPI as slave functions include: Single Mode (1-bit) data transfer with full duplex serial data transfer Can accept SCK operating frequency up to 20 MHz Operating Clock Frequency Max Acceptable Frequency on SCK 80MHz <= 20MHz 60MHz <= 15MHz 48MHz <= 12MHz 24MHz <= 6MHz Table 4.2 Max. Acceptable Operating Frequency on SCK in SPI Slave Mode I2C Master/Slave Controller. I2C (Inter Integrated Circuit) is a multi-master serial bus invented by Philips. I2C uses two bi-directional open-drain wires called serial data (SDA) and serial clock (SCL). Common I2C bus speeds are the standard mode (SM) with bit rate up to 100 Kbit/s, fast mode (FM) with the bit rate up to 400 kbit/s, Fast mode plus (FM+) with the bit rate up to 1 Mbit/s, and High Speed mode (HS) with the bit rate up to 3.4 Mbit/s. Refer to the I2C specification for more information on the protocol. The FT4222H device can operates as master or slave, and the major functions include: Master or slave mode configurable Fully compatible to v2.1 and v3 specification 7-bit address support Support 4 speed configurations defined in I2C-bus specification Support bit rate up to 6.66Mbit/s both in master and slave mode Clock stretching support in master and slave mode GPIOs. FT4222H contains 4 GPIO pins for various functions. The drive strength, slew rate control and pull high/low resistors can be configured in the vendor configurable area of the OTP via FT_PROG. When the USB GPIO interface is enabled and supported, GPIOs can be directly controlled by APIs (Application Programming Interface) which are defined in the support library, LibFT4222, to match the requirement. GPIOs in the FT4222H functions include: GPIO0 can be configured as GPIO0 or I2C SCL or SPIM slave selection SS1O GPIO1 can be configured as GPIO1 or I2C SDA or SPIM slave selection SS2O Copyright © 2015 Future Technology Devices International Limited 12 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 GPIO2 can be configured as GPIO2 or USB suspend status output(SUSP) or SPIM slave selection SS3O GPIO3 can be configured as GPIO3 or USB remote wake-up input(WAKE) or external interrupt input(INTR) Adjustable Driving Strength : 4mA/8mA/12mA/16mA Slew Rate, Pull High/Low resistor, open drain configurable WAKE can be configured as rising or falling edge triggered SUSP trigger mode can be configured as rising edge, falling edge, high level and low level trigger For configuration details refer to Section 9.1. Built-in Clock Synthesizer. With an on-chip clock synthesizer, the FT4222H may operate with a lowcost 12 MHz crystal (or oscillator) by connecting to XSCI and XSCO, and generates a standard internal 480 MHz clock for the USB interface. The Clock Synthesizer takes the 480MHz clock from the embedded UTMI PHY and generates the 80MHz, 60MHz, 48MHz and 24MHz as reference clocks. The user can select one of these reference clocks via the API, FT4222_SetClock which is defined in LibFT4222, as the system operating clock. The system operating clock will be the base and used by the embedded functions to generate the required interface clock. Protocol Control Engine. The FT4222H has an embedded and robust control engine. It deals with the USB enumeration commands and flow control between driver and function such as SPI or I 2C devices. It can perform the bridge function initialization and enable an exceptional data transfer performance through the USB bus. It collects and summarizes the SPI and I2C bus protocol and simplifies the protocol as a command set via the USB Bulk transfer pipe. A support library, LibFT4222, is defined for the FT4222H and is responsible for communicating with this protocol engine. With related APIs (Application Programming Interface) defined in LibFT4222, this control engine provides a very flexible USB bridge for SPI and I2C bus access suitable for a wide range of applications. OTP Controller + Internal OTP Memory. The internal OTP memory provides storage for vendor configuration data. This vendor configuration area, named as user area, is used to store USB Vendor ID (VID), Product ID (PID), device serial number, product description string and various other USB configuration descriptors. It is also used to configure the function pins capability. For further details refer to Section 9. This user area in the internal OTP memory is available to system designers to allow storing additional data from the user application over USB. The internal OTP memory can be programmed in circuit, over USB with an external voltage requirement on VPP pin (6.5V). The descriptors can be programmed using the FTDI utility software called FT_PROG, which can be downloaded from FTDI Utilities on the FTDI website (http://www.ftdichip.com/Support/Utilities.htm#FT_Prog). 5V-3.3V-1.8V LDO regulator. The LDO will regulate out 2 reference voltages for use within the FT4222H. The +3.3V LDO regulator generates the +3.3V reference voltage for driving the USB transceiver cell output buffers. It requires an external decoupling capacitor to be attached to the VOUT3V3 regulator output pin. Another +1.8V LDO regulator generates the +1.8V reference voltage for driving the internal core of the IC. POR RESET Generator. POR is the integrated Power on Reset Generator Cell providing a reliable poweron reset to the device internal circuitry at power up. There is also a RESETN input pin allowing an external device to reset the FT4222H. RESETN can be tied to VCCIO (+3.3v) if not being used. Embedded BCD Detection. Supports Battery Charger Detection. The BCD_DET pin will be active if the device is connected to a dedicated charger instead of a standard USB Host. Refer to section 7.5 for an example application circuit. Copyright © 2015 Future Technology Devices International Limited 13 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 5 Clearance No.: FTDI#405 FT4222H Chip Mode Configuration and SPI/I2C Interface 5.1 Chip Mode Configuration The FT4222H has 4 configuration modes selected by {DCNF1, DCNF0}. The chip configuration mode will determine the number of USB interfaces for data streams and for GPIO control. The data stream interface is for data transfer between the USB2.0 host and the SPI/ I2C device. The purpose of the GPIO interface is for fully controlling the GPIOs. The following table shows the pin functions corresponding to the chip configuration mode. Table 5.1 FT4222H Pin Functions on Chip Configuration Mode *One of the SPIM, SPIS, I2C function is selected, the other 2 functions will be disabled Note that GPIOx pins cannot be controlled by the software driver when GPIOx pins play the role as SPIM SSxO, I2C SCL/SDA, SUSP or WAKE. Chip Configuration only determines the number of interface/functions supported but do not decide which bus interface (SPI/ I2C /GPIO) or which role (master/slave) that the FT4222H will take. The user can use the initialisation APIs provided by the support library, LibFT4222, to configure which interface and role will be taken. The support library for FT4222H, LibFT4222, which is based on D2XX, provides high-level and convenient APIs (Application Programming Interface) to speed up user application development. For further details refer to the User Guide For LibFT4222. Copyright © 2015 Future Technology Devices International Limited 14 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 5.2 SPI Bus Interface 5.2.1 SPI Pin Definition The QuadSPI function in the FT4222H is a fully configurable SPI master/slave device. Users can utilize the API in LibFT4222, FT4222_SPIMaster_Init or FT4222_SPISlave_Init, to select in which mode (master or slave) the FT4222H will function. When the FT4222H is set as a USB-to-SPI bridge function, and chip configuration mode is chosen, the pins of the FT4222H will be mapped accordingly. The SPI related pins are Clock – SCK (pin-8), 4 types of transfer formats supported, details refer to Section5.2.2 Data – MISO (pin-9), data transfer from slave to master for single mode, or data bus bit-1 for dual and quad mode – MOSI (pin-10), data transfer from master to slave for single mode, or data bus bit-0 for dual and quad mode – IO2 (pin-11), data bus bit-2 for quad mode – IO3 (pin-12), data bus bit-3 for quad mode Slave Selection when QuadSPI acts as SPI master – SS0O (pin-17), slave selection to slave device-0 – SS1O (pin-13), slave selection to slave device-1 – SS2O (pin-14), slave selection to slave device-2 – SS3O (pin-15), slave selection to slave device-3 Slave Selection when QuadSPI acts as SPI slave – SS (pin-32), slave selection for SPI master control. Must tie high when QuadSPI acts as SPI master 5.2.2 SPI Bus Protocol The QuadSPI allows SPI data transfers in three types of bit width: Single SPI transfer – Standard data transfer format – data is read and written simultaneously DUAL SPI Transfer/Receive - Data is transferred out or received in on 2 SPI lines simultaneously QUAD SPI Transfer/Receive – Data is transferred out or received in on 4 SPI lines simultaneously The operating bit width in single, dual or quad mode can also be determined by these 2 APIs, FT4222_SPIMaster_Init and FT4222_SPISlave_Init, which are defined in LibFT4222 when the SPI function is enabled and selected. Copyright © 2015 Future Technology Devices International Limited 15 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 When the FT4222H is operating as an SPI master or slave device, QuadSPI can transfer data in single bit mode with full-duplex transmission. Figure5.1 shows the basic protocol in single transfer mode Figure 5.1 QuadSPI Bus Protocol when Transferring in Single Mode QuadSPI can operate in dual or quad transfer mode when QuadSPI is programmed as an SPI master. These multi-bit transfer modes can speed up the data transfer rate between QuadSPI and the SPI slave device supporting the multi-bit transfer. Figure5.2 shows the bus protocol in dual or quad mode Figure 5.2 QuadSPI Bus Protocol when Transferring in Quad Mode Copyright © 2015 Future Technology Devices International Limited 16 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 5.2.3 SCK Format Software can select any of four combinations of serial clock (SCK) phase and polarity. The clock polarity is specified by the CPOL control bit, which selects an active high or active low clock and has no significant effect on the transfer format. The clock phase (CPHA) control bit selects one of two fundamentally different transfer formats. The clock phase and polarity should be identical for the master SPI device and the communicating slave device. In some cases, the phase and polarity are changed between transfers to allow a master device to communicate with peripheral slaves having different requirements. The flexibility of the SPI system on the QuadSPI allows direct interface to almost any existing synchronous serial peripheral. Users can also use the FT4222_SPIMaster_Init API which is defined in the support library LibFT4222 to select the operating phase and polarity of SCK. 5.2.3.1 CPHA=0 Transfer Format Figure5.3 shows a timing diagram of an SPI transfer where CPHA is equal to 0. Two waveforms are shown for SCK: one for CPOL equal to 0 and another for CPOL equal to 1. The diagram may be interpreted as a master or slave timing diagram since the SCK, master in/slave out (MISO), and master out/slave in (MOSI) pins are directly connected between the master and the slave. The MISO signal is the output from the slave, and the MOSI signal is the output from the master. Figure 5.3 SCK Transfer Format when CPHA=0 5.2.3.2 CPHA=1 Transfer Format Figure 5.4 is a timing diagram of an SPI transfer where CPHA equal to 1. Two waveforms are shown for SCK: one for CPOL equal to 0 and another for CPOL equal to 1. The diagram may be interpreted as a master or slave timing diagram since the SCK, MISO, and MOSI pins are directly connected between the master and the slave. The MISO signal is the output from the slave, and the MOSI signal is the output from the master. The SS line is the slave select input to the slave. Figure 5.4 SCK Transfer Format when CPHA=1 Copyright © 2015 Future Technology Devices International Limited 17 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 5.2.4 SPI Timing Figure 5.5 SPI Timing The Table5.2 shows the timing information for QuadSPI. The result is under the condition of all the related pins with 5pF loading. T6 is the required setup time to the related SCK edge for the input data path of QuadSPI. The minimum value of T4 means that the guaranteed setup time to the related SCK edge for connected device to fetch data from QuadSPI. The maximum value of T6 means that data can be accepted correctly by QuadSPI with 5pF pin loading assumed. If the pin load is larger, the timing should be considered conservatively. Parameter Min (ns) Typ(ns) T1@master T2+T3 SCK Period when QuadSPI as master T1@slave 50 Acceptable SCK Period when QuadSPI as slave device T2 12.5 SCK HIGH, related to the operating clock and ratio T3 12.5 SCLK LOW, related to the operating clock and ratio T4 T3-2.0 T3-1.1 Data output path: setup time to corresponding SCK edge T5 T2+0.1 T2+0.6 Data output path: hold time to corresponding SCK edge T6 4.9 9.8 Data input path: required setup time to corresponding SCK edge 0.1 Data input path: required hold time to corresponding SCK edge T7 Max(ns) Description T8 6*T1 SSxO setup time to 1st SCK period boundary T9 6*T1 SSxO hold time from last SCK period boundary T10@master 6*T1 Idle time on SCK between byte boundary when master T10@slave 0 Idle time on SCK between byte boundary when slave Table 5.2 SPI Timing for VCCIO=3.3V with 5pF output pin load Copyright © 2015 Future Technology Devices International Limited 18 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Table5.3 shows the timing information for QuadSPI with VCCIO equal to 1.8V and with 5pF loading on all the related pins. The required setup time for input path is increasing since VCCIO=1.8V. The maximum operating frequency of SCK is recommended not exceeded 30MHz. Parameter Min (ns) Typ(ns) T1@master T2+T3 SCK Period when QuadSPI as master T1@slave 50 Acceptable SCK Period when QuadSPI as slave device T2 16.67 SCK HIGH, related to the operating clock and ratio T3 16.67 SCLK LOW, related to the operating clock and ratio T4 T3-2.1 T3-1.2 Data output path: setup time to corresponding SCK edge T5 T2+0.1 T2+0.6 Data output path: hold time to corresponding SCK edge T6 8.6 16.5 Data input path: required setup time to corresponding SCK edge 0.1 Data input path: required hold time to corresponding SCK edge T7 Max(ns) Description T8 6*T1 SSxO setup time to 1st SCK period boundary T9 6*T1 SSxO hold time from last SCK period boundary T10@master 6*T1 Idle time on SCK between byte boundary when master T10@slave 0 Idle time on SCK between byte boundary when slave Table 5.3 SPI Timing for VCCIO=1.8V with 5pF output pin load Copyright © 2015 Future Technology Devices International Limited 19 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 5.3 I2C Bus Interface 2 I C (Inter Integrated Circuit) is a multi-master serial bus invented by Philips. I2C uses two bi-directional open-drain wires called serial data (SDA) and serial clock (SCL). Common I²C bus speeds are standard mode (SM) with bit rate up to 100 Kbit/s, fast mode (FM) with bit rate up to 400 Kbit/s, Fast mode plus (FM+) with bit rate up to 1 Mbit/s, and High Speed mode (HS) with the bit rate up to 3.4 Mbit/s. An I2C bus node can operate either as a master or a slave: Master node – issues the clock and addresses slaves Slave node – receives the clock line and address. The FT4222H can operate as a master or slave, and is capable of being set to the speed modes defined in the I2C bus specification. Besides the speed mode defined in the I2C standard specification, the I2C controller of the FT4222H can support flexible SCL frequencies defined by the following function 𝑺𝑪𝑳 𝑭𝒓𝒆𝒒 = 𝐎𝐩𝐞𝐫𝐚𝐭𝐢𝐧𝐠 𝐂𝐥𝐨𝐜𝐤 𝐅𝐫𝐞𝐪𝐮𝐞𝐧𝐜𝐲 𝐌∗(𝐍+𝟏) 𝑴 = 𝟔 𝒐𝒓 𝟖; 𝑵 = 𝟏, 𝟐, 𝟑, … … , 𝟏𝟐𝟕 When the target frequency is below 100 KHz, M will be equal to 8; otherwise, M will be equal to 6. For example, to generate a 2.5MHz frequency on SCL, M will be selected as 6. Then with an operating clock frequency equal to 60MHz the user can set N as 3. The SCL frequency for I2C master mode can be set via the FT4222_I2CMaster_Init command defined in the support library, LibFT4222. Refer to the User Guide For LibFT4222 for further details. 5.3.1 I2C Pin Definition The I2C function in the FT4222H is a fully configurable I2C master/slave device. When the chip configuration is set as CNFMODE0 or CNFMODE3 and the USB-to-I2C bridge function is enabled via the FT4222_I2CMaster_Init API which is defined in the support library LibFT4222. The pins of the FT4222H will be mapped accordingly. The I2C pins are Clock – SCL (pin-13), as clock output with open-drain design when I2C bus is set as master. as clock input when I2C bus is set as slave. Data – SDA (pin-14), command/address/data transfer between master and slave with opendrain design 2 5.3.2 I C Bus Protocol There are four potential modes of operation for a given bus device, although most devices only use a single role (Master or Slave) and its two modes (Transmit and Receive): Master transmit – sending data to a slave Master receive – receiving data from a slave Slave transmit – sending data to a master Slave receive – receiving data from the master The following figure shows the basic I2C bus protocol Figure 5.6 I2C Bus Protocol Copyright © 2015 Future Technology Devices International Limited 20 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 The master is initially in master transmit mode by sending a start bit followed by the 7-bit address of the slave it wishes to communicate with, which is finally followed by a single bit representing whether it wishes to write(0) to or read(1) from the slave. If the slave exists on the bus then it will respond with an ACK bit (active low for acknowledged) for that address. The master then continues in either transmit or receive mode (according to the read/write bit it sent), and the slave continues in its complementary mode (receive or transmit, respectively). The address and the data bytes are sent most significant bit first. The start bit is indicated by a high-tolow transition of SDA with SCL high; the stop bit is indicated by a low-to-high transition of SDA with SCL high. If the master wishes to write to the slave then it repeatedly sends a byte with the slave sending an ACK bit. (In this situation, the master is in master transmit mode and the slave is in slave receive mode.) If the master wish to read from the slave then it repeatedly receives a byte from the slave, the master sends an ACK bit after every byte but the last one. (In this situation, the master is in master receive mode and the slave is in slave transmit mode.) The master then ends transmission with a stop bit, or it may send another START bit if it wishes to retain control of the bus for another transfer (a "combined message"). I²C defines three basic types of message, each of which begins with a START and ends with a STOP: Single message where a master writes data to a slave; Single message where a master reads data from a slave; Combined messages, where a master issues at least two reads and/or writes to one or more slaves In a combined message, each read or write begins with a START and the slave address. After the first START, these are also called repeated START bits; repeated START bits are not preceded by STOP bits, which is how slaves know the next transfer is part of the same message. Users can refer to the I2C specification for more information on the protocol. 5.3.3 I2C Slave Address When the FT4222H is configured as a USB to I²C master bridge, it must be able to issue any value of 7bits slave address. Users can issue I2C commands to read or write data to a slave via the commands FT4222_I2CMaster_Read and FT4222_I2CMaster_Write, defined in the support library LibFT4222, with a corresponding slave address. When the FT4222H is configured as a USB to I²C slave bridge, the slave address may be defined by the user. This slave address parameter is defined by default as 40h and can be set once in the I²C Slave Address parameter which is defined in the user data area of the OTP memory. For further details refer to Section 9. 5.3.4 I2C Timing Figure 5.7 I2C Bus Timing Copyright © 2015 Future Technology Devices International Limited 21 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Parameter Min(ns) Typ(ns) Max(ns) Clearance No.: FTDI#405 Description T0@48MHz 20.833 T0 is the period when operating clock=48MHz T0@60MHz 16.666 T0 is the period when operating clock=60MHz T0@80MHz 12.500 T0 is the period when operating clock=80MHz Timing for I2C Master T1@SM 16*T0 8*(1+N)*T0 SCK Period when I2C as master with standard speed mode(SM) T1@FM/HM 12*T0 6*(1+N)*T0 SCK Period when I2C as master with FM, FM+, HS speed mode T2 8*T0 4*(1+N)*T0 SCK high pulse width when I2C as master with standard speed mode(SM) T2 4*T0 2*(1+N)*T0 SCK high pulse width when I2C as master with FM, FM+, HS speed mode T3 2*(1+N)*T0 SDA output setup time to SCL rising edge when I2C as master T4 2*(1+N)*T0 SDA output hold time to SCL falling edge when I2C as master T5 >=0 input setup time requirement from SDA to SCL rising edge when I2C as master T6 >=0 input hold time requirement from SDA to SCL falling edge when I2C as master T7 2*(1+N)*T0 Start bit setup time to SCL falling edge T8 4*(1+N)*T0 Start bit hold time to SCL falling edge T9 2*(1+N)*T0 Stop bit setup time to SCL rising edge T10 2*(1+N)*T0 Stop bit hold time to SCL rising edge T11 4*(1+N)*T0 Bus free time between Start and Stop bit Timing for I2C Slave T1 12*T0 T2 1*T0 Acceptable SCL Period when I2C as slave device SCL high pulse width requirement when I2C as slave T3 T4 >=0 1*T0 T5 T6 input hold time requirement from SDA to SCL falling edge when I2C as slave device T8 - T6 3*T0 input setup time requirement from SDA to SCL rising edge when I2C as slave device SDA output setup time to SCL rising edge 4*T0 5*T0 SDA output hold time to SCL falling edge 2 Table 5.4 I C Timing for VCCIO=3.3V Note that N can be ranged from 1 to 255 Copyright © 2015 Future Technology Devices International Limited 22 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 5.4 GPIOs When the configuration mode of the FT4222H is set as CNFMODE0 or CNFMODE1, a GPIO pipe will be enabled. These 4 pins, GPIO0, GPIO1, GPIO2 and GPIO3, can be set as general purpose Input/Output pins or other functions such as multi-channel SPI slave selections, I2C interface, suspend out indicator, remote wake up input or interrupt. If no functions are set on these pins, the default function is GPIO. The user can set the direction for GPIOs via the API, FT4222_GPIO_Init, defined in LibFT4222. The logic level can be read and written via the APIs, FT4222_GPIO_Read and FT4222_GPIO_Write. The FT4222H also provides an interrupt input source for the user to utilize. GPIO3(pin-16) can be set as an interrupt input source via the API, FT4222_SetWakeUpInterrupt, defined in LibFT4222. GPIO3 can be set as a rising edge or falling edge triggered interrupt via FT_Prog. The related parameter defined in the user area is named as the interrupt trigger edge. The default setting is rising edge triggered. Details can be referenced in Table9.1. Figure5.8 shows the different behaviour when GPIO3 acts as GPIO or interrupt. The interrupt is set by default as rising edge triggered. Users can choose either one for their application. Figure 5.8 Different status when GPIO3 set as GPIO or interrupt input Copyright © 2015 Future Technology Devices International Limited 23 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 6 Clearance No.: FTDI#405 Devices Characteristics and Ratings 6.1 Absolute Maximum Ratings The absolute maximum ratings for the FT4222H devices are as follows. These are in accordance with the Absolute Maximum Rating System (IEC 60134). Exceeding these may cause permanent damage to the device. Parameter Value Unit Storage Temperature -65°C to 150°C Degrees C Conditions 168 Hours Floor Life (Out of Bag) At Factory Ambient (30°C / 60% Relative Humidity) (IPC/JEDEC JSTD-033A MSL Level 3 Compliant)* Ambient Operating Temperature (Power Applied) -40°C to 85°C Degrees C MTTF FT4222H TBD Hours VCCIN Supply Voltage -0.3 to +5.5 V VCCIO IO Voltage -0.3 to +4.0 V VPP Supply Voltage 6.5±0.25 V DC Input Voltage – USBDP and USBDM -0.5 to +3.63 V DC Input Voltage – High Impedance Bi-directionals (powered from VCCIO) -0.3 to +(VCCIO+0.5V) V DC Output Current – Outputs 100 ** mA Hours Table 6.1 Absolute Maximum Ratings * If devices are stored out of the packaging beyond this time limit the devices should be baked before use. The devices should be ramped up to a temperature of +125°C and baked for up to 17 hours. ** This DC output current is also the power supply source for FT4222H operation. If it must be the source for other component on the system, it only can supply 25mA or less. 6.2 ESD and Latch-up Specifications Description Specification Human Body Mode (HBM) > ± 2kV Machine mode (MM) > ± 200V Charged Device Mode (CDM) > ± 500V Latch-up > ± 200mA Table 6.2 ESD and Latch-Up Specifications Copyright © 2015 Future Technology Devices International Limited 24 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 6.3 DC Characteristics DC Characteristics (Ambient Temperature = -40°C to +85°C) Parameter VCC1 VCC2 Icc1 Icc2 3V3 Description Minimum Typical Maximum Units Conditions 4.5 5 5.5 V VCCIN is supplied with 5V 2.97 3.3 3.63V V VCCIN is supplied with 3.3V 2.97 3.3 3.63 V VCCIO is supplied with 3.3V 2.25 2.5 2.75 V VCCIO is supplied with 2.5V 1.62 1.8 1.98 V VCCIO is supplied with 1.8V 50 52 mA Normal Operation at 24MHz 62 64 mA Normal Operation at 48MHz 68 70 78 80 375 460 377 465 386 419 388 456 VCCIN Operating Supply Voltage VCCIO Operating Supply Voltage Operating Supply Current Suspend Supply Current 3.3v regulator output 2.97 3.3 3.63 mA Normal Operation at 60MHz mA Normal Operation at 80MHz μA USB Suspend when SPI Master μA USB Suspend when SPI Slave μA USB Suspend when I2C Master μA USB Suspend when I2C Slave V VCCIN must be greater than 3V3 otherwise VOUT3V3 is an input which must be driven with 3.3V Table 6.3 Operating Voltage and Current Copyright © 2015 Future Technology Devices International Limited 25 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Parameter Description Clearance No.: FTDI#405 Minimum Typical Maximum Units Conditions 2.97 VCCIO VCCIO V 2.97 VCCIO VCCIO V I/O Drive strength* = 8mA 2.97 VCCIO VCCIO V I/O Drive strength* = 12mA 2.97 VCCIO VCCIO V I/O Drive strength* = 16mA 0 0.4 V 0 0.4 V I/O Drive strength* = 8mA 0 0.4 V I/O Drive strength* = 12mA 0 0.4 V I/O Drive strength* = 16mA 0.8 V LVTTL V LVTTL LVTTL Ioh = +/-2mA Voh Output Voltage High I/O Drive strength* = 4mA Iol = +/-2mA Vol Output Voltage Low I/O Drive strength* = 4mA Vil Input low Switching Threshold Vih Input High Switching Threshold Vt Switching Threshold 1.49 V Vt- Schmitt trigger negative going threshold voltage 1.15 V Vt+ Schmitt trigger positive going threshold voltage 1.64 V Rpu Input pull-up resistance 40 75 190 KΩ Vin = 0 Rpd Input pull-down resistance 40 75 190 KΩ Vin =VCCIO Iin Input Leakage Current -10 +/-1 10 μA Vin = 0 Ioz 2.0 Tri-state output leakage -10 +/-1 10 μA Vin = 5.5V or 0 current Table 6.4 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) * The I/O drive strength and slow slew-rate are configurable in the OTP memory. Copyright © 2015 Future Technology Devices International Limited 26 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Parameter Description Clearance No.: FTDI#405 Minimum Typical Maximum Units Conditions 2.25 VCCIO VCCIO V 2.25 VCCIO VCCIO V I/O Drive strength* = 8mA 2.25 VCCIO VCCIO V I/O Drive strength* = 12mA 2.25 VCCIO VCCIO V I/O Drive strength* = 16mA 0 0.4 V 0 0.4 V I/O Drive strength* = 8mA 0 0.4 V I/O Drive strength* = 12mA 0 0.4 V I/O Drive strength* = 16mA 0.8 V LVTTL V LVTTL LVTTL Ioh = +/-2mA Voh Output Voltage High I/O Drive strength* = 4mA Iol = +/-2mA Vol Output Voltage Low I/O Drive strength* = 4mA Vil Input low Switching Threshold Vih Input High Switching Threshold Vt Switching Threshold 1.1 V Vt- Schmitt trigger negative going threshold voltage 0.8 V Vt+ Schmitt trigger positive going threshold voltage 1.2 V Rpu Input pull-up resistance 40 75 190 KΩ Vin = 0 Rpd Input pull-down resistance 40 75 190 KΩ Vin =VCCIO Iin Input Leakage Current -10 +/-1 10 μA Vin = 0 Ioz 1.7 Tri-state output leakage -10 +/-1 10 μA Vin = 5.5V or 0 current Table 6.5 I/O Pin Characteristics VCCIO = +2.5V (except USB PHY pins) * The I/O drive strength and slow slew-rate are configurable in the OTP memory. Copyright © 2015 Future Technology Devices International Limited 27 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Parameter Description Clearance No.: FTDI#405 Minimum Typical Maximum Units Conditions 1.62 VCCIO VCCIO V 1.62 VCCIO VCCIO V I/O Drive strength* = 8mA 1.62 VCCIO VCCIO V I/O Drive strength* = 12mA 1.62 VCCIO VCCIO V I/O Drive strength* = 16mA 0 0.4 V 0 0.4 V I/O Drive strength* = 8mA 0 0.4 V I/O Drive strength* = 12mA 0 0.4 V I/O Drive strength* = 16mA 0.63 V LVTTL V LVTTL LVTTL Ioh = +/-2mA Voh Output Voltage High I/O Drive strength* = 4mA Iol = +/-2mA Vol Output Voltage Low I/O Drive strength* = 4mA Vil Input low Switching Threshold Vih Input High Switching Threshold Vt Switching Threshold 0.77 V Vt- Schmitt trigger negative going threshold voltage 0.557 V Vt+ Schmitt trigger positive going threshold voltage 0.893 V Rpu Input pull-up resistance 40 75 190 KΩ Vin = 0 Rpd Input pull-down resistance 40 75 190 KΩ Vin =VCCIO Iin Input Leakage Current -10 +/-1 10 μA Vin = 0 Ioz 1.17 Tri-state output leakage -10 +/-1 10 μA Vin = 5.5V or 0 current Table 6.6 I/O Pin Characteristics VCCIO = +1.8V (except USB PHY pins) * The I/O drive strength and slow slew-rate are configurable in the OTP memory. Copyright © 2015 Future Technology Devices International Limited 28 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 DC Characteristics (Ambient Temperature = -40°C to +85°C) Parameter Description Minimum Typical Maximum Units Conditions VPHY, PHY Operating Supply Voltage 3.0 3.3 3.6 V 3.3V I/O PHY Operating Supply Current --- 30 60 mA High-speed operation at 480 MHz PHY Suspend Supply Current --- 210 250 μA USB Suspend Units Conditions VPLL ICCPHY ICCPHY (susp) Table 6.7 USB PHY Operating Voltage and Current Parameter Description Minimum VHSDIFF High Speed Differential input voltage sensitivity 300 VHSCM Common mode voltage range of high speed data signalling -50 VHSSQ High speed Squelch detection threshold VHSDSC High Speed disconnection detection threshold Typical Maximum VI(DP) – VI(DM) mV Measure at the connection of an application circuit 500 mV 100 mV Squelch is detected 150 mV Squelch is not detected 625 mV Disconnection is detected 525 mV Disconnection is not detected VHSOI High Speed idle level output voltage(Differential) -10 10 mV VHSOL High Speed low level output voltage(Differential) -10 10 mV VHSOL High Speed high level output voltage(Differential) 360 400 mV VCHIRPJ Chirp-J output voltage(Differential) 700 1100 mV VCHIRPK Chirp-K output voltage(Differential) -900 -500 mV VDI Full Speed Differential input voltage sensitivity 0.2 VCM Differential common mode voltage range of full speed data signalling 0.8 V 2.5 VI(DP) – VI(DM) V Copyright © 2015 Future Technology Devices International Limited 29 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 VSE Full Speed Single-ended receiver threshold 0.8 2.0 V VOLPHY Full Speed Low-level output voltage 0 0.3 V VOHPHY Full Speed High-level output voltage 2.8 3.6 V Clearance No.: FTDI#405 Table 6.8 USB I/O Pin (DP, DM) Characteristics 6.4 OTP Memory Reliability Characteristics The internal 128 Bytes OTP memory has the following reliability characteristics: Parameter Value Unit Data Retention 10 Years Write Cycle 1 Times Read Cycle Unlimited Times Table 6.9 OTP Memory Characteristics Copyright © 2015 Future Technology Devices International Limited 30 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 7 Clearance No.: FTDI#405 FT4222H Configurations The following sections illustrate possible USB power configurations for the FT4222H. 7.1 USB Bus Powered Configuration Figure 7.1 Bus Powered Configuration Figure 7.1 illustrates the FT4222H in a typical USB2.0 bus powered design configuration. A USB bus powered device gets its power from the USB bus. Basic rules for USB bus powered devices are as follows i) ii) iii) iv) v) On plug-in to USB, the device should draw no more current than 100mA. In USB Suspend mode the device should draw no more than 2.5mA. A bus powered, high power USB device (one that draws more than 100mA) can use SUSP_OUT(pin-15) as a power disable function and use it to keep the current below 2.5mA on USB suspend. A device that consumes more than 100mA cannot be plugged into a USB bus powered hub. No device can draw more than 500mA from the USB bus. The power descriptors in the internal OTP memory of the FT4222H should be programmed to match the current drawn by the device. A ferrite bead is connected in series with the USB power supply to reduce EMI noise from the FT4222H and associated circuitry being radiated down the USB cable to the USB host. The value of the Ferrite Bead depends on the total current drawn by the application. A suitable range of Ferrite Beads is available from Steward (www.steward.com), for example Laird Technologies Part # MI0805K400R-10. Copyright © 2015 Future Technology Devices International Limited 31 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 7.2 Self Powered Configuration with 5V Source Input Figure 7.2 Self Powered Configuration with 5V Source Input Figure 7.2 illustrates the FT4222H in a typical USB2.0 self-powered configuration. A USB self-powered device gets its power from its own power supply, 5V, and does not draw current from the USB bus. The basic rules for USB self-powered devices are as follows – i) ii) iii) A self-powered device should not force current down the USB bus when the USB host or hub controller is powered down. A self-powered device can use as much current as it needs during normal operation and USB suspend as it has its own power supply. A self-powered device can be used with any USB host, a bus powered USB hub or a selfpowered USB hub. The power descriptor in the internal OTP memory of the FT4222H should be programmed to a value of zero (self-powered). In order to comply with the first requirement above, the USB bus power (USB connector pin 1) is used to control the VBUS_DET pin of the FT4222H device. When the USB host or hub is powered up an internal 1.5kΩ resistor on DP is pulled up to +3.3V, thus identifying the device to the USB host or hub. When the USB host or hub is powered off, the VBUS_DET pin will be low and the FT4222H is held in a suspend state. In this state the internal 1.5kΩ resistor is not pulled up to any power supply (hub or host is powered down), so no current flows down DP via the 1.5kΩ pull-up resistor. Failure to do this may cause some USB host or hub controllers to power up erratically. Copyright © 2015 Future Technology Devices International Limited 32 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 7.3 Self Powered Configuration with 3.3V Source In Figure 7.3 Self Powered Configuration with 3.3V Source Input Figure 7.3 illustrates the FT4222H in a typical USB self-powered configuration similar to Figure 7.2Error! Reference source not found.. The difference here is that the self-power source is 3.3V. If using 3.3V as power source in, remember to connect it to VOUT3V3 to supply actual operating voltage to USB2.0 PHY. Copyright © 2015 Future Technology Devices International Limited 33 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 7.4 Crystal Oscillator Configuration Figure 7.4 Recommended FT4222H Crystal Oscillator Configuration. Figure 7.4 illustrates how to connect the FT4222H with a 12MHz ± 0.003% crystal. In this case loading capacitors should to be added between OSCI, OSCO and GND as shown. A value of 27pF is shown as the capacitor in the example – this will be good for many crystals but it is recommended to select the loading capacitor value based on the manufacturer’s recommendations wherever possible. It is recommended to use a parallel cut type crystal. It is also possible to use a 12 MHz oscillator with the FT4222H. In this case the output of the oscillator would drive XSCI, and XSCO should be left unconnected. The oscillator must have a CMOS output drive capability. Parameter Description Minimum Typical Maximum Units XSCI Vin Input Voltage 2.97 3.30 3.63 V Fin Input Frequency 12 MHz Ji Cycle to cycle jitter < 150 ps Conditions +/- 30ppm Table 7.1 XSCI Input characteristics Copyright © 2015 Future Technology Devices International Limited 34 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 7.5 USB Battery Charging Detection An addition to the USB specification (http://www.usb.org/developers/docs/devclass_docs/BCv1.2_070312.zip) is to allow charging profiles to be used for charging batteries in portable devices. These charging enumerate the USB port of the peripheral. The FT4222H device will detect that a dedicated charging port (DCP) is connected. Once detected while in suspend mode a detection signal is then provided to allow external logic to switch to charging mode operation mode. for additional profiles do not USB compliant battery charge as opposed to Figure 7.5 USB Battery Charging Detection To use the FT4222H with battery charging detection, the BCD_DET pin acts as BCD Charger output to switch the external charger circuitry on. If the charging circuitry requires an active low signal to enable it, the polarity of BCD_DET can be configured in the vender configuration area of internal OTP memory. When connected to a USB compliant dedicated charging port (DCP, as opposed to a standard USB host) the device USB signals will be shorted together. The BCD charger signal will bring the LTC4053 out of suspend and allow battery charging to start. The charge current in the example above is 1A as defined by the resistance on the PROG pin. To calculate the equivalent resistance on the LTC4053 PROG pin select a charge current, then Res = 1500V/Ichg For more configuration options of the LTC4053 refer to : Section4.3 Example with 1 CBUS pin in AN_175_Battery Charging Over USB Note: If the FT4222H is connected to a standard host port such that the device is enumerated, the signal BCD_DET is inactive, LTC4053 is in shut down condition and the charging function will not be enabled. Copyright © 2015 Future Technology Devices International Limited 35 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 8 Clearance No.: FTDI#405 Application Examples The following diagrams show the possible applications of the FT4222H. In Figure 8.1, a control IC with an SPI slave interface but without a USB device interface can easily connect to USB by integrating the FT4222H into the system. With FTDI’s mature and stable D2XX driver, and easy to use support library, LibFT4222, the FT4222H can easily connect an application to USB. Figure 8.1 Application Example 1 In Figure 8.2, a control IC with an SPI master interface but without a USB upstream port (USB device interface) can easily connect to USB by integrating the FT4222H into the system. With a single SPI slave interface defined in FT4222H and easy to use API defined in LibFT4222, it is easy to connect an application to USB via FT4222H. Figure 8.2 Application Example 2 Copyright © 2015 Future Technology Devices International Limited 36 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 In Figure 8.3, a control IC with an I2C slave interface but without a USB device interface can easily connect to USB by integrating the FT4222H into the system. With FTDI’s mature and stable D2XX driver, and easy to use support library, LibFT4222, the FT4222H can easily connect an application to USB. With a suitable pull-high resistor value on I2C bus, the transfer speed at this I2C interface can be sped up to the HS mode defined in I2C specification. Figure 8.3 Application Example 3 In Figure 8.4, a control IC with an I2C master interface but without a USB upstream port (USB device interface) can easily connect to USB by integrating the FT4222H into the system. With an I2C slave interface defined in the FT4222H and easy to use API defined in LibFT4222, it is easy to connect an application to USB via the FT4222H. With a suitable pull-high resistor value on I2C bus, the transfer speed at this I2C interface can be speed up to the HS mode. Figure 8.4 Application Example 4 Copyright © 2015 Future Technology Devices International Limited 37 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 9 Clearance No.: FTDI#405 Internal OTP Memory Configuration The FT4222H includes an internal OTP memory which holds the USB configuration descriptors, other configuration data for the chip and also user data areas. Following a power-on reset or a USB reset the FT4222H will scan its internal OTP memory and read the USB configuration descriptors stored there. In many cases, the default values programmed into the OTP memory will be suitable and no reprogramming will be necessary. The defaults can be found in Section 9.1. The OTP memory in the FT4222H can be programmed over USB if the values need to be changed for a particular application. Further details of this are provided from section 9.2 onwards. 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. See TN_100 – USB Vendor ID/Product ID Guidelines for more details. 9.1 Default Values The default factory programmed values of the internal OTP memory are shown in Table9.1. Parameter Default Value Notes Device Type FT4222H USB Vendor ID (VID) 0403h USB Vendor ID. Defined in the USB device descriptor. The format is 16-bit hex coded and default is set as FTDI VID. USB Product ID (PID) 601Ch USB Product ID. Defined in the USB device descriptor The format is 16-bit hex coded and default is set as FTDI VID. Read-Only. Indicate the Chip is FT4222H. Read-only. Returns the USB 2.0 device descriptor to the host. USB Version 0200h Power Source Bus Powered Note: FT4222H is a Hi-speed USB2.0 device. If the connected host/hub is full speed only, the FT4222H will operate at full speed without changing this USB version parameter to USB1.1. Define whether the power source is from the USB bus or a local source. Max Bus Power Current 100mA The max power that will be drawn from VBUS when using bus power. Range from 0~500mA. If the power source is defined as self-powered, it must be set as 0mA. Remote Wake Up Enable Define if the FT4222H supports remote wake up or not. Manufacturer Name FTDI Product Description FT4222 Serial Number Enabled? No Describing the manufacturer. A string descriptor defined in USB device descriptors Describing the product. A string descriptor defined in USB device descriptors Enable the string descriptor for serial number or not. Copyright © 2015 Future Technology Devices International Limited 38 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Parameter Default Value Notes Serial Number None Enable Suspend Out enable Suspend Out Polarity active-high I2C Slave Address 40h Set the I2C slave address when I2C Slave function is enabled. Range from 00h ~ 7Fh SPI Drive Strength 4mA Adjustable drive strength for SPI related pins SCK, MISO/MOSI/IO2/IO3, SS0O. Drive strength can be set as 4mA, 8mA, 12mA and 16mA SPI Weak Pullup/Pulldown disable Enable the weak pullup / pulldown resistor on the pin SS(pin-32). Default is disabled (without any pull). SPI Slew Rate Enable? disable Set the slew rate control for SPI related pins SCK, MISO, MOSI, SS0O, IO2, IO3. Default is disabled SPI Suspend Mode disable(tri-state) A unique serial number is generated and programmed into the OTP memory. Refer to the Utility FT_Prog for details Set GPIO2(pin-15) as USB suspend indicator Set the polarity on GPIO2 pin for indicating suspend out. Default is set as active-high. Mode selection for I/O status of SPI related pins SCK, MISO, MOSI, IO2, IO3, SS0O when USB suspends. Refer to table 5.8 for defaults. Define the behaviour of SPI related pins MISO, MOSI, IO2/IO3, SS0O when USB suspend happens. Behaviour can be set as No change, push-high or push-low when SPI Suspend Mode is set as Enable SPI pin control. SPI Suspend No change GPIO Drive Strength 4mA Adjustable drive strength for GPIO related pins GPIO0, GPIO1, GPIO2, GPIO3. Drive strength can be set as 4mA, 8mA, 12mA and 16mA GPIO Open Drain disable Set the behaviour of GPIO pins as open-drain. Default is disabled(GPIO acts as push-pull mode) GPIO Weak Pullup/Pulldown disable Enable the weak pullup / pulldown resistor on the pins GPIO0, GPIO1, GPIO2, GPIO3. Default is disabled (without any pull). GPIO Suspend input(tri-state) Define the behaviour of GPIO related pins GPIO0, GPIO1, GPIO2, GPIO3 when suspend happens. Pins can be set as No change, input as tri-state, pushhigh or push-low BCD_DET Function Disable? No Battery Charger Detection function can be disabled on BCD_DET pin (pin-31). BCD_DET Drive Strength 4mA Adjustable drive strength for BCD_DET pin. Drive strength can be set as 4mA, 8mA, 12mA and 16mA BCD_DET Polarity active-high Set the polarity on BCD_DET pin for indicating battery charge detected. Default is set as activehigh. Copyright © 2015 Future Technology Devices International Limited 39 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Parameter Default Value Notes Interrupt trigger edge rising edge Define the interrupt trigger edge when GPIO3 (pin16) is set as INTR/WAKEUP function. Default is rising-edge triggered. Table 9.1 Default Internal OTP Memory Configuration Copyright © 2015 Future Technology Devices International Limited 40 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 9.2 Method of Programming the OTP Memory 9.2.1 Programming the OTP memory over USB The OTP memory on a FT4222H device can be programmed over USB. This method is the same as for the MTP on other FTDI devices such as the FT-X series. Please note that in order to program OTP, the FT4222H requires an additional programming voltage (6.5V) on its VPP pin. The programming board, UMFT4222PROG, supplies an easy connection bridge between the FT4222H and a USB host for boosting the VBUS up to 6.5V and for communicating with the programming utility FT_Prog. Further details may be found in the Datasheet for UMFT4222PROG, the FT4222H programming module. The FT_Prog utility is provided free-of-charge from the FTDI website, and can be found at the link below. The user guide is also available at this link. http://www.ftdichip.com/Support/Utilities.htm#FT_Prog Additionally, D2XX commands can be used to program the OTP memory from within the user applications. For more information on the commands available, please see the D2XX Programmers Guide below. http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).p df Copyright © 2015 Future Technology Devices International Limited 41 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 10 Package Parameters The FT4222H is available in a VQFN-32 package. The solder reflow profile for VQFN-32 is described in Section 10.3. 10.1 VQFN-32 Package Mechanical Dimensions Figure 10.1 VQFN-32 Package Dimensions The FT4222H is supplied in a RoHS compliant leadless VQFN-32 package. The package is lead (Pb) free, and uses a ‘green’ compound. The package is fully compliant with European Union directive 2002/95/EC. This package is nominally 5.00mm x 5.00mm. The solder pads are on a 0.5mm pitch. The above mechanical drawing shows the VQFN-32 package. All dimensions are in millimetres. The centre pad on the base of the FT4222H is internally connected to GND and the PCB should not have signal tracking on the top layer under this area. Connect to GND. Copyright © 2015 Future Technology Devices International Limited 42 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 10.2 VQFN-32 Package Markings 1 24 FTDI Line 1 – FTDI Logo XXXXXXXX FT4222HQ Line 2 – Wafer Lot Number Line 3 – FTDI Part Number YYWW-B 9 Line 4 – Date Code, Revision 16 Figure 10.2 VQFN-32 Package Markings The date code format is YYWW where WW = 2 digit week number, YY = 2 digit year number. This is followed by the revision number. The code XXXXXXXX is the manufacturing LOT code Copyright © 2015 Future Technology Devices International Limited 43 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 10.3 Solder Reflow Profile The FT4222H is supplied in a Pb free VQFN-32 package. The recommended solder reflow profile is shown in Figure 10.3. Temperature, T (Degrees C) tp Tp Critical Zone: when T is in the range TL to Tp Ramp Up TL tL TS Max Ramp Down TS Min tS Preheat 25 T = 25º C to TP Time, t (seconds) Figure 10.3 FT4222H Solder Reflow Profile The recommended values for the solder reflow profile are detailed in Table 10.1. Values are shown for both a completely Pb free solder process (i.e. the FT4222H is used with Pb free solder), and for a non-Pb free solder process (i.e. the FT4222H is used with non-Pb free solder). Profile Feature Pb Free Solder Process Non-Pb Free Solder Process Average Ramp Up Rate (Ts to Tp) 3°C / second Max. 3°C / Second Max. Preheat - Temperature Min (Ts Min.) 150°C 100°C - Temperature Max (Ts Max.) 200°C 150°C - Time (ts Min to ts Max) 60 to 120 seconds 60 to 120 seconds 217°C 183°C 60 to 150 seconds 60 to 150 seconds 260°C 240°C 20 to 40 seconds 20 to 40 seconds Ramp Down Rate 6°C / second Max. 6°C / second Max. Time for T= 25°C to Peak Temperature, Tp 8 minutes Max. 6 minutes Max. Time Maintained Above Critical Temperature TL: - Temperature (TL) - Time (tL) Peak Temperature (Tp) Time within 5°C of actual Peak Temperature (tp) Table 10.1 Reflow Profile Parameter Values Copyright © 2015 Future Technology Devices International Limited 44 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 11 Contact Information Head Office – Glasgow, UK Future Technology Devices International Limited Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) [email protected] [email protected] [email protected] Branch Office – Tigard, Oregon, USA Future Technology Devices International Limited (USA) 7130 SW Fir Loop Tigard, OR 97223 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) E-Mail (Support) E-Mail (General Enquiries) [email protected] [email protected] [email protected] Branch Office – Taipei, Taiwan Future Technology Devices International Limited (Taiwan) 2F, No. 516, Sec. 1, NeiHu Road Taipei 114 Taiwan , R.O.C. Tel: +886 (0) 2 8791 3570 Fax: +886 (0) 2 8791 3576 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) [email protected] [email protected] [email protected] Branch Office – Shanghai, China Future Technology Devices International Limited (China) Room 1103, No.666 West Huaihai Road, Shanghai, 200052 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) [email protected] [email protected] [email protected] Web Site http://ftdichip.com Distributor and Sales Representatives Please visit the Sales Network page of the FTDI Web site for the contact details of our distributor(s) and sales representative(s) in your country. System and equipment manufacturers and designers are 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 © 2015 Future Technology Devices International Limited 45 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Appendix A – References Useful Application Notes http://www.ftdichip.com/Support/Documents/AppNotes/AN_329_User_Guide_For_LibFT4222.pdf http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_UMFT4222EV.pdf http://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_UMFT4222PROG.pdf http://www.ftdichip.com/Support/Utilities.htm#FT_Prog http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer's_Guide(FT_000071).p df http://www.ftdichip.com/Documents/AppNotes/AN_107_AdvancedDriverOptions_AN_000073.pdf http://www.ftdichip.com/Documents/AppNotes/AN_121_FTDI_Device_EEPROM_User_Area_Usage.pdf http://www.ftdichip.com/Documents/InstallGuides.htm http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_100_USB_VID-PID_Guidelines.pdf http://www.ftdichip.com/Support/Documents/AppNotes/AN_175_Battery%20Charging%20Over%20USB %20with%20FTEX%20Devices.pdf http://i2c2p.twibright.com/spec/i2c.pdf http://www.usb.org/developers/docs/devclass_docs/BCv1.2_070312.zip Copyright © 2015 Future Technology Devices International Limited 46 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Appendix B - List of Figures and Tables List of Figures Figure 2.1 FT4222H Block Diagram ................................................................................................. 4 Figure 3.1 Pin Configuration VQFN-32 (top-down view) ..................................................................... 7 Figure 5.1 QuadSPI Bus Protocol when Transferring in Single Mode ................................................... 16 Figure 5.2 QuadSPI Bus Protocol when Transferring in Quad Mode .................................................... 16 Figure 5.3 SCK Transfer Format when CPHA=0 ............................................................................... 17 Figure 5.4 SCK Transfer Format when CPHA=1 ............................................................................... 17 Figure 5.5 SPI Timing .................................................................................................................. 18 Figure 5.6 I2C Bus Protocol .......................................................................................................... 20 Figure 5.7 I2C Bus Timing ............................................................................................................ 21 Figure 5.8 Different status when GPIO3 set as GPIO or interrupt input .............................................. 23 Figure 7.1 Bus Powered Configuration ........................................................................................... 31 Figure 7.2 Self Powered Configuration with 5V Source Input ............................................................ 32 Figure 7.3 Self Powered Configuration with 3.3V Source Input .......................................................... 33 Figure 7.4 Recommended FT4222H Crystal Oscillator Configuration. ................................................. 34 Figure 7.5 USB Battery Charging Detection .................................................................................... 35 Figure 8.1 Application Example 1 .................................................................................................. 36 Figure 8.2 Application Example 2 .................................................................................................. 36 Figure 8.3 Application Example 3 .................................................................................................. 37 Figure 8.4 Application Example 4 .................................................................................................. 37 Figure 10.1 VQFN-32 Package Dimensions ..................................................................................... 42 Figure 10.2 VQFN-32 Package Markings......................................................................................... 43 Figure 10.3 FT4222H Solder Reflow Profile ..................................................................................... 44 Copyright © 2015 Future Technology Devices International Limited 47 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 List of Tables Table 3.1 FT4222H Pin Description .................................................................................................. 9 Table 4.1 SCK Operating Frequency in SPI Master Mode .................................................................. 12 Table 4.2 Max. Acceptable Operating Frequency on SCK in SPI Slave Mode ........................................ 12 Table 5.1 FT4222H Pin Functions on Chip Configuration Mode .......................................................... 14 Table 5.2 SPI Timing for VCCIO=3.3V with 5pF output pin load ........................................................ 18 Table 5.3 SPI Timing for VCCIO=1.8V with 5pF output pin load ........................................................ 19 Table 5.4 I2C Timing for VCCIO=3.3V ............................................................................................ 22 Table 6.1 Absolute Maximum Ratings ............................................................................................ 24 Table 6.2 ESD and Latch-Up Specifications .................................................................................... 24 Table 6.3 Operating Voltage and Current ....................................................................................... 25 Table 6.4 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) ........................................... 26 Table 6.5 I/O Pin Characteristics VCCIO = +2.5V (except USB PHY pins) ........................................... 27 Table 6.6 I/O Pin Characteristics VCCIO = +1.8V (except USB PHY pins) ........................................... 28 Table 6.7 USB PHY Operating Voltage and Current .......................................................................... 29 Table 6.8 USB I/O Pin (DP, DM) Characteristics .............................................................................. 30 Table 6.9 OTP Memory Characteristics ........................................................................................... 30 Table 7.1 XSCI Input characteristics.............................................................................................. 34 Table 9.1 Default Internal OTP Memory Configuration ..................................................................... 40 Table 10.1 Reflow Profile Parameter Values .................................................................................... 44 Copyright © 2015 Future Technology Devices International Limited 48 FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC 1.1 Document No.: FT_001011 Clearance No.: FTDI#405 Appendix C - Revision History Document Title: FT4222H USB2.0 TO QUADSPI/I2C BRIDGE IC Document Reference No.: FT_001011 Clearance No.: FTDI#405 Product Page: http://www.ftdichip.com/Products/ICs/FT4222H.html Document Feedback: Send Feedback Revision Changes Date 1.0 Initial Release 2014-09-16 1.1 Revised Release 2015-09-10 Copyright © 2015 Future Technology Devices International Limited 49