FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Future Technology Devices International Ltd. FT220X (USB 4-BIT SPI/FT1248 IC) The FT220X is a USB to FTDIs proprietary FT1248 interface and the following advanced features: USB Battery Charger Detection. Allows for USB peripheral devices to detect the presence of a higher power source to enable improved charging. FT1248 serial parallel interface in 1, 2 or 4 bit wide mode. Device supplied pre-programmed with unique USB serial number. Similar to an SPI slave in 1 bit mode Entire USB protocol handled on the chip. No USB specific firmware programming required. USB Power Configurations; supports buspowered, self-powered and bus-powered with power switching. Fully integrated 2048 byte multi-timeprogrammable (MTP) memory, storing device descriptors and CBUS I/O configuration. Integrated +3.3V level converter for USB I/O. True 3.3V CMOS drive output and TTL input. (operates down to 1V8 with external pull-ups) Fully integrated clock generation with no external crystal required plus optional clock output selection enabling a glue-less interface to external MCU or FPGA. Configurable I/O pin output drive strength; 4 mA(min) and 16 mA(max) Integrated power-on-reset circuit. Fully integrated AVCC supply filtering - no external filtering required. + 5V Single Supply Operation. Internal 3V3/1V8 LDO regulators FTDIs royalty-free Virtual Com Port (VCP) and Direct (D2XX) drivers eliminate the requirement for USB driver development in most cases. Low operating and USB suspend current; 8mA (active-typ) and 125uA (suspend-typ). Low USB bandwidth consumption. Configurable CBUS I/O pin. UHCI/OHCI/EHCI host controller compatible. USB 2.0 Full Speed compatible. Extended operating temperature range; -40 to 85C. Available in compact Pb-free 16 Pin SSOP and QFN packages (both RoHS compliant). Data transfer rates to 500kByte/s. 512 byte receive buffer and 512 byte transmit buffer utilising buffer smoothing technology to allow for high data throughput. 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 (c) 2012 Future Technology Devices International Limited 1 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 1 Typical Applications USB to SPI interface in 1-bit mode USB Industrial Control Upgrading Legacy Peripherals to USB USB MP3 Player Interface Utilising USB to add system modularity USB FLASH Card Reader and Writers Incorporate USB interface to enable PC transfers for development system communication Set Top Box PC - USB interface USB Digital Camera Interface USB dongle implementations for Software/ Hardware Encryption and Wireless Modules Detect USB dedicated charging ports, to allow for high current battery charging in portable devices. Interfacing MCU/PLD/FPGA based designs to add USB connectivity 1.1 Driver Support Royalty free VIRTUAL COM PORT (VCP) DRIVERS for... Royalty free D2XX Direct Drivers (USB Drivers + DLL S/W Interface) Windows 7 32,64-bit Windows 7 32,64-bit Windows Vista and Vista 64-bit Windows Vista and Vista 64-bit Windows XP and XP 64-bit Windows XP and XP 64-bit Server 2003, XP and Server 2008 Server 2003, XP and Server 2008 Windows XP Embedded Windows XP Embedded Windows CE 4.2, 5.0 and 6.0 Windows CE 4.2, 5.0 and 6.0 Mac OS-X Mac OS-X Linux 3.2 and greater Linux 2.6 and greater Android Android The drivers listed above are all available to download for free from FTDI website (www.ftdichip.com). Various 3rd party drivers are also available for other operating systems - see FTDI website (www.ftdichip.com) for details. For driver installation, please refer to http://www.ftdichip.com/Documents/InstallGuides.htm 1.2 Part Numbers Part Number Package FT220XQ-x 16 Pin QFN FT220XS-x 16 Pin SSOP Note: Packing codes for x is: - R: Taped and Reel, (SSOP is 3,000pcs per reel, QFN is 5,000pcs per reel). - U: Tube packing, 100pcs per tube (SSOP only) - T: Tray packing, 490pcs per tray (QFN only) For example: FT220XQ-R is 5,000pcs taped and reel packing Copyright (c) 2012 Future Technology Devices International Limited 2 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 1.3 USB Compliant The FT220X is fully compliant with the USB 2.0 specification and has been given the USB-IF Test-ID (TID) 40001333 (Rev B). Copyright (c) 2012 Future Technology Devices International Limited 3 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 2 FT220X Block Diagram VCC 1V8 Internal Core Supply 3V3OUT USBDP USBDM 3.3 Volt LDO Regulator USB Transceiver with Integrated 1.5k pullups and battery charge detection 1.8 Volt LDO Regulator FIFO RX Buffer (512 bytes) VCCIO MIOSI[0] MIOSI[1] MIOSI[2] MIOSI[3] Serial Interface Engine (SIE) USB Protocol Engine FT1248 Controller CLK CS# MISO CBUS3 Internal MTP Memory USB DPLL FIFO TX Buffer (512 bytes) Internal 12MHz Oscillator 3V3OUT RESET# X4 Clock Multiplier Reset Generator 48MHz To USB Transceiver Cell GND Figure 2.1 FT220X Block Diagram For a description of each function please refer to Section 4. Copyright (c) 2012 Future Technology Devices International Limited 4 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Table of Contents 1 Typical Applications ...................................................................... 2 1.1 Driver Support .................................................................................... 2 1.2 Part Numbers...................................................................................... 2 1.3 USB Compliant .................................................................................... 3 2 FT220X Block Diagram ................................................................. 4 3 Device Pin Out and Signal Description .......................................... 7 3.1 16-LD QFN Package ........................................................................... 7 3.1.1 3.2 16-LD SSOP Package.......................................................................... 9 3.2.1 3.3 4 QFN Package PinOut Description .................................................................................... 7 SSOP Package PinOut Description .................................................................................. 9 CBUS Signal Options ......................................................................... 11 Function Description................................................................... 13 4.1 Key Features ..................................................................................... 13 4.2 Functional Block Descriptions ........................................................... 13 5 FT1248 Interface Description. .................................................... 15 5.1 Determining the Dynamic Bus Width ................................................ 15 5.2 Supported Commands on the FT1248 Interface ................................ 16 5.3 LSB or MSB Selection ........................................................................ 17 5.4 Clock Phase/Polarity ........................................................................ 17 5.4.1 5.5 6 CPHA = 1 ................................................................................................................. 18 FT1248 Timing .................................................................................. 19 Devices Characteristics and Ratings ........................................... 21 6.1 Absolute Maximum Ratings............................................................... 21 6.2 ESD and Latch-up Specifications ....................................................... 21 6.3 DC Characteristics............................................................................. 22 6.4 MTP Memory Reliability Characteristics ............................................ 26 6.5 Internal Clock Characteristics ........................................................... 26 7 USB Power Configurations .......................................................... 27 7.1 USB Bus Powered Configuration ...................................................... 27 7.2 Self Powered Configuration .............................................................. 28 7.3 USB Bus Powered with Power Switching Configuration .................... 29 7.4 USB Battery Charging Detection ....................................................... 30 8 Application Examples ................................................................. 32 8.1 USB to FT1248 Converter .................................................................. 32 8.2 LED Interface .................................................................................... 35 Copyright (c) 2012 Future Technology Devices International Limited 5 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 9 Internal MTP Memory Configuration ........................................... 36 9.1 Default Values .................................................................................. 36 9.2 Methods of Programming the MTP Memory ....................................... 37 9.2.1 Programming the MTP memory over USB ...................................................................... 37 9.2.2 Programming the MTP memory over FT1248 ................................................................. 37 9.3 Memory Map ..................................................................................... 38 9.4 Hardware Requirements ................................................................... 39 9.5 Protocol ............................................................................................ 39 10 9.5.1 Address MTP memory (0x05) ...................................................................................... 39 9.5.2 Write MTP memory (0x06) .......................................................................................... 39 9.5.3 Read MTP memory (0x07) .......................................................................................... 39 9.5.4 Examples of Writing and Reading ................................................................................. 39 Package Parameters ................................................................... 41 10.1 SSOP-16 Package Mechanical Dimensions ..................................... 41 10.2 SSOP-16 Package Markings............................................................ 42 10.3 QFN-16 Package Mechanical Dimensions ....................................... 43 10.4 QFN-16 Package Markings ............................................................. 44 10.5 Solder Reflow Profile ..................................................................... 45 11 Contact Information ................................................................... 46 Appendix A - References ........................................................................... 47 Appendix B - List of Figures and Tables ..................................................... 48 Appendix C - Revision History .................................................................... 50 Copyright (c) 2012 Future Technology Devices International Limited 6 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 3 Device Pin Out and Signal Description 7 6 VCCIO 3V3OUT VCC 8 1 10 3.1 16-LD QFN Package MIOSI0 MIOSI1 MIOSI2 MIOSI3 USBDM USBDP 12 11 5 14 3 13 17 RESET# CLK CS# MISO CBUS3 GND GND GND 9 15 2 16 4 Figure 3.1 QFN Schematic Symbol 3.1.1 QFN Package PinOut Description Note: # denotes an active low signal. Pin No. Name Type ** POWER Input 10 VCC 1 VCCIO 3V3OUT 3, 13 Input 5 V (or 3V3) supply to IC 1V8 - 3V3 supply for the IO cells 3V3 output at 50mA. May be used to power VCCIO. ** 8 POWER Description GND POWER Output POWER Input When VCC is 3V3; pin 8 is an input pin. Connect to pin 10. 0V Ground input. Table 3.1 Power and Ground *Pin 17 is centre pad on base of chip package. Connect to GND. ** If VCC is 3V3 then 3V3OUT must also be driven with 3V3 input Pin No. Name Type Description 7 USBDM INPUT USB Data Signal Minus. 6 USBDP INPUT USB Data Signal Plus. 9 RESET# INPUT Reset input (active low). Table 3.2 Common Function pins Copyright (c) 2012 Future Technology Devices International Limited 7 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Pin No. Name Type Description 15 MIOSI[0] I/O Bi-Directional data bit 0 2 MIOSI[1] I/O Bi-Directional data bit 1 16 MIOSI[2] I/O Bi-Directional data bit 2 4 MIOSI[3] I/O Bi-Directional data bit 3 12 CLK Input Clock input from FT1248 interface master 11 CS# Input Chip select input to enable the device interface. Active low logic. 5 MISO Output 14 CBUS3 I/O Master In Slave Out. Used to provide status information to the FT1248 interface master. Configurable CBUS I/O Pin. Function of this pin is configured in the device MTP memory. See CBUS Signal Options, Table 3.7. Table 3.3 FT1248 Interface and CBUS 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 MTP memory. Copyright (c) 2012 Future Technology Devices International Limited 8 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 9 8 VCCIO 3V3OUT VCC 10 3 12 3.2 16-LD SSOP Package 5 GND RESET# 15 14 7 16 CLK CS# MISO CBUS3 13 11 GND USBDM USBDP 1 4 2 6 MIOSI0 MIOSI1 MIOSI2 MIOSI3 Figure 3.2 SSOP Schematic Symbol 3.2.1 SSOP Package PinOut Description Note : # denotes an active low signal. Pin No. Name Type ** POWER Input 12 VCC 3 VCCIO 3V3OUT 5, 13 Input 5 V (or 3V3) supply to IC 1V8 - 3V3 supply for the IO cells 3V3 output at 50mA. May be used to power VCCIO. ** 10 POWER Description GND POWER Output POWER Input When VCC is 3V3; pin 10 is an input pin. Connect to pin 12. 0V Ground input. Table 3.4 Power and Ground ** If VCC is 3V3 then 3V3OUT must also be driven with 3V3 input Pin No. Name Type Description 9 USBDM INPUT USB Data Signal Minus. 8 USBDP INPUT USB Data Signal Plus. 11 RESET# INPUT Reset input (active low). Table 3.5 Common Function pins Copyright (c) 2012 Future Technology Devices International Limited 9 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Pin No. Name Type Description 1 MIOSI[0] I/O Bi-Directional data bit 0 4 MIOSI[1] I/O Bi-Directional data bit 1 2 MIOSI[2] I/O Bi-Directional data bit 2 6 MIOSI[3] I/O Bi-Directional data bit 3 15 CLK Input Clock input from FT1248 interface master 14 CS# Input Chip select input to enable the device interface. Active low logic. 7 MISO Output 16 CBUS3 I/O Master In Slave Out. Used to provide status information to the FT1248 interface master. Configurable CBUS I/O Pin. Function of this pin is configured in the device MTP memory. See CBUS Signal Options, Table 3.7. Table 3.6 FT1248 Interface and CBUS 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 MTP memory. Copyright (c) 2012 Future Technology Devices International Limited 10 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 3.3 CBUS Signal Options The following options can be configured on the CBUS I/O pin. CBUS signal options are common to both package versions of the FT220X. These options can be configured in the internal MTP memory using the software utility FT_PPROG, which can be downloaded from the FTDI Utilities (www.ftdichip.com). The default configuration is described in Section 9. CBUS Signal Option Available On CBUS Pin TRI-STATE CBUS3 IO Pad is tri-stated DRIVE 1 CBUS3 Output a constant 1 DRIVE 0 CBUS3 Output a constant 0 PWREN# CBUS3 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# CBUS3 Transmit data LED drive - pulses low when transmitting data via USB. See Section 8.2 for more details. RXLED# CBUS3 Receive data LED drive - pulses low when receiving data via USB. See Section 8.2 for more details. TX&RXLED# CBUS3 LED drive - pulses low when transmitting or receiving data via USB. See Section 8.2 for more details. SLEEP# CBUS3 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. CLK24MHz CBUS3 24 MHz Clock output.* CLK12MHz CBUS3 12 MHz Clock output.* CLK6MHz CBUS3 6 MHz Clock output.* GPIO CBUS3 CBUS bit bang mode option. Allows the CBUS pins to be used as general purpose I/O. Configured in the internal MTP memory. A separate application note, AN232R-01, available from FTDI website (www.ftdichip.com) describes in more detail how to use CBUS bit bang mode. BCD Charger CBUS3 Battery Charger Detect, indicates when the device is connected to a dedicated battery charger port. Active high output. BCD Charger# CBUS3 Inverse of BCD Charger (open drain) BitBang_WR# CBUS3 Synchronous and asynchronous bit bang mode WR# strobe output. BitBang_RD# CBUS3 Synchronous and asynchronous bit bang mode RD# strobe output. VBUS Sense CBUS3 Input to detect when VBUS is present. Time Stamp CBUS3 Toggle signal which changes state each time a USB SOF is Description Copyright (c) 2012 Future Technology Devices International Limited 11 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 CBUS Signal Option Available On CBUS Pin Description received Keep_Awake# CBUS3 Prevents the device from entering suspend state when unplugged. May be used if programming the MTP memory over FT1248 interface. Table 3.7 CBUS Configuration Control *When in USB suspend mode the outputs clocks are also suspended. Copyright (c) 2012 Future Technology Devices International Limited 12 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 4 Function Description The FT220X is a USB to FTDI Proprietary FT1248 interface device which simplifies USB implementations and reduces external component count by fully integrating an MTP memory and an integrated clock circuit which requires no external crystal. It has been designed to operate efficiently with USB host controllers by using as little bandwidth as possible when compared to the total USB bandwidth available. 4.1 Key Features Functional Integration. Fully integrated MTP memory, clock generation, AVCC filtering, Power-OnReset and LDO regulator. Configurable CBUS I/O Pin Options. The fully integrated MTP memory allows configuration of the Control Bus (CBUS) functionality and drive strength selection. There is 1 configurable CBUS I/O pin. The configurable options are defined in section 3.3. The CBUS line can be configured with any one of these output options by setting bits in the internal MTP memory. The device is supplied with the most commonly used pin definitions pre-programmed - see Section 9 for details. Asynchronous Bit Bang Mode with RD# and WR# Strobes. The FT220X supports FTDIs previous chip generation bit-bang mode. In bit-bang mode, the 4 MIOSI data lines can be switched from the regular interface mode to a 4-bit general purpose I/O port. Data packets can be sent to the device and they will be sequentially sent to the interface at a rate controlled by an internal timer (equivalent to the baud rate pre-scalar). Synchronous Bit Bang Mode. The FT220X supports synchronous bit bang mode. This mode differs from asynchronous bit bang mode in that the interface pins are only read when the device is written to. This makes it easier for the controlling program to measure the response to an output stimulus as the data returned is synchronous to the output data. An application note, AN232R-01, available from FTDI website (www.ftdichip.com) describes this feature. Source Power and Power Consumption. The FT220X is capable of operating at a voltage supply between +3.3V and +5.25V with a nominal operational mode current of 8mA and a nominal USB suspend mode current of 125A. This allows greater margin for peripheral designs to meet the USB suspend mode current limit of 2.5mA. An integrated level converter within the FT1248 interface allows the FT220X to interface to logic running at +1.8V, 2.5V, +3.3V or +5V. (Note: External pull-ups are recommended for IO <3V3). 4.2 Functional Block Descriptions The following paragraphs detail each function within the FT220X. Please refer to the block diagram shown in Figure 2.1 Internal MTP Memory. The internal MTP memory in the FT220X is used to store USB Vendor ID (VID), Product ID (PID), device serial number, product description string and various other USB configuration descriptors. The internal MTP memory is also used to configure the CBUS pin functions. The FT220X is supplied with the internal MTP memory pre-programmed as described in Section 9. A user area of the internal MTP memory is available to system designers to allow storing additional data from the user application over USB. The internal MTP memory descriptors can be programmed in circuit, over USB without any additional voltage requirement. The descriptors can be programmed using the FTDI utility software called FT_PROG, which can be downloaded from FTDI Utilities on the FTDI website (www.ftdichip.com). Alternatively the MTP memory may be configured over the FT1248 interface. +1.8V LDO Regulator. The +1.8V LDO regulator generates the +1.8V reference voltage for driving the internal core of the IC. +3.3V LDO Regulator. 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 3V3OUT regulator output pin. It also provides +3.3V power to the 1.5k internal pull up resistor on USBDP. The main function of the LDO is to power the USB Transceiver and the Reset Generator Cells rather than to power external logic. However, it can be used to supply external circuitry requiring a +3.3V nominal supply with a maximum current of 50mA. USB Transceiver. The USB Transceiver Cell provides the USB 1.1 / USB 2.0 full-speed physical interface to the USB cable. The output drivers provide +3.3V level slew rate control signalling, whilst a differential input receiver and two single ended input receivers provide USB data in, Single-Ended-0 (SE0) and USB Copyright (c) 2012 Future Technology Devices International Limited 13 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 reset detection conditions respectfully. This function also incorporates a 1.5k pull up resistor on USBDP. The block also detects when connected to a USB power supply which will not enumerate the device but still supply power and may be used for battery charging. USB DPLL. The USB DPLL cell locks on to the incoming NRZI USB data and generates recovered clock and data signals for the Serial Interface Engine (SIE) block. Internal 12MHz Oscillator - The Internal 12MHz Oscillator cell generates a 12MHz reference clock. This provides an input to the x4 Clock Multiplier function. The 12MHz Oscillator is also used as the reference clock for the SIE, USB Protocol Engine and UART FIFO controller blocks. Clock Multiplier / Divider. The Clock Multiplier / Divider takes the 12MHz input from the Internal Oscillator function and generates the 48MHz, 24MHz, 12MHz and 6MHz reference clock signals. The 48Mz clock reference is used by the USB DPLL and the Baud Rate Generator blocks. Serial Interface Engine (SIE). The Serial Interface Engine (SIE) block performs the parallel to serial and serial to parallel conversion of the USB data. In accordance with the USB 2.0 specification, it performs bit stuffing/un-stuffing and CRC5/CRC16 generation. It also checks the CRC on the USB data stream. USB Protocol Engine. The USB Protocol Engine manages the data stream from the device USB control endpoint. It handles the low level USB protocol requests generated by the USB host controller and the commands for controlling the functional parameters of the FT1245 in accordance with the USB 2.0 specification chapter 9. FIFO RX Buffer (512 bytes). Data sent from the USB host controller to the FT1248 interface via the USB data OUT endpoint is stored in the FIFO RX (receive) buffer. Data is removed from the buffer to the FT1248 transmit register under control of the FT1248 FIFO controller. (Rx relative to the USB interface). FIFO TX Buffer (512 bytes). Data from the FT1248 receive register is stored in the TX buffer. The USB host controller removes data from the FIFO TX Buffer by sending a USB request for data from the device data IN endpoint. (Tx relative to the USB interface). FT1248 interface controller. Controls the FT1248 interface, dynamically switching the width of the bus as commanded by the external bus master. 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 FT220X. RESET# can be tied to 3V3OUT. Copyright (c) 2012 Future Technology Devices International Limited 14 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 5 FT1248 Interface Description. The FT1248 protocol has a dynamic bi-directional data bus interface that can be configured as 1, 2, 4, or 8-bits wide (only 4 bit wide on the FT220X) providing users with the flexibility to configure the interface with performance, pin count and PCB area in mind. For example, 1-bit mode it requires 8 clock cycles to get 8 data bits and in 8-bit mode all 8 bits are sent with one clock. In the FT1248 there are 3 distinct phases: While CS# is inactive, the FT1248 reflects the status of the write buffer and read buffers within the FT220X on the MIOSIO[0] and MISO wires respectively. The buffers are 512 Bytes each and the status will reflect if at least one byte of space is available for the external device to write to and whether at least one byte is available to be read by the external device. Additionally, the FT1248 slave block supports multiple slave devices where a master can communicate with multiple SPI slave devices. When the slave is sharing buses with other SPI slave devices, the write and read buffer status cannot be reflected on the MIOSIO[0] and MISO wires during CS# 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. (This setting may be applied in the internal MTP memory with FT_PROG at the same time as selecting FT1248 mode). When CS# 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 CS# 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 deasserting CS#. Figure 5.1: FT1248 Basic Waveform Protocol. 5.1 Determining the Dynamic Bus Width The bus width is dynamic. In order for the FT220X, in FT1248 mode, 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 CS# is active and has a data width of 4-bits. If any of the MIOSIO[3:2] signals are driven low by the external host then the data transfer width equals 4-bits If MIOSIO[1] signal is driven low by the external host then the data transfer width equals 2-bits Else the bus width is defaulted to 1-bit 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 FT220X in FT1248 mode as logic 1from the internal resistors. This means that when a FT1248 master does not wish to use certain MIOSIO signals, the slave (FT220X) is still capable of determining the requested bus width since any unused MIOSIO signals shall be pulled up by default. 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. Copyright (c) 2012 Future Technology Devices International Limited 15 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 LSB MSB CMD [ 3] 1-bit Bus Width 2-bit Bus Width 4-bit Bus Width BWID 2 -bit BWID 4- bit CMD [ 2] BWID 8- bit CMD [1] CMD [0 ] X 0 1 2 3 4 5 6 7 CMD [ 3] X X CMD [ 2] X CMD [1] CMD [0 ] X 0 1 2 3 4 5 6 7 CMD [ 3] 0 X CMD [ 2] X CMD [1] CMD [0 ] X 0 1 2 3 4 5 6 7 CMD [ 3] X 0 CMD [ 2] X CMD [1] CMD [0 ] X 0 1 2 3 4 5 6 7 Figure 5.2: FT1248 Command Structure 5.2 Supported Commands on the FT1248 Interface The FT1248 interface can accept and decode up to 16 unique commands. At this time only 9 unique commands are implemented as shown below. Command Identifier Description write 0x00 Write request command read 0x01 Read request command read modem status 0x02 Read modem status command, users may wish to emulate modem status control. A RMS command returns status bits RTS and DTR write modem status 0x03 Write modem status command, users may wish to emulate modem status control. A WMS command allows users to set status bits: DCD, RI, DSR, CTS write buffer flush 0x04 Write buffer flush request - This command is used to indicate to the FT1248 slave that its write buffers should be flushed rather than wait for any latency timers to expire. If this command is received the FT1248 block will flag the upstream controllers (USB FIFOs etc) to flush their write buffers regardless of what content is present in the FT1248 write Copyright (c) 2012 Future Technology Devices International Limited 16 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 buffer address eeprom 0x05 Address EEPROM command sets the address users wish to write or read from write eeprom 0x06 Write EEPROM command sets the write data to be written into the EEPROM read eeprom 0x07 Read EEPROM command reads read usb status 0x08 Read USB Status: 00 = suspended, 01 = default, 10 = addressed, 11 = configured Reserved 0x09 - 0xF Unused Commands Table 5.1: FT1248 Commands 5.3 LSB or MSB Selection The data can be sent/received Least Significant Bit First (LSB) or Most Significant Bit First (MSB). To determine which mode is used by the FT1248 interface of the FT220X the MTP memory must be set. This may be selected with FT_PROG. 5.4 Clock Phase/Polarity The FT1248 slave does not need to have any knowledge of clock rate as this is supplied by the FT1248 master. However the relationship between clock and data needs to be controllable, to allow the slave to operate in the same way as the master such that data is correctly driven and sampled on the correct clock phases. By configuring the polarity and phase of CLK with respect to the data it is possible to match the FT1248 master. There are 4 possible modes which are determined by the Clock Polarity (CPOL) and Clock Phase (CPHA) signals. The different combinations of these signals are commonly referred to as modes, see Table 5.2 below. For the FT1248 slave, only 2 of these 4 modes are supported. CPHA will always be set to 1 in the FT1248 slave because data is available or driven on to MIOSIO wires on the first clock edge after CS# is active and is therefore sampled on the trailing edge of the first clock pulse. When CPHA equals 0, it means data must be available or driven onto the MIOSIO wires on the first leading edge of the clock after CS# is active. However, during this period between CS# becoming active and the first leading clock edge is when the MIOSIO wires are being "turned around" as when CS# is inactive the FT1248 slave is driving the write buffer status. Supporting CPHA = 0 would result in bus contention and therefore, shall not be supported. Mode CPOL CPHA Supported 0 0 0 NO 1 0 1 YES 2 1 0 NO 3 1 1 YES Table 5.2: CPOL & CPHA Mode Numbers Copyright (c) 2012 Future Technology Devices International Limited 17 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 When CPOL is 1, the idle state of the clock is high. When CPOL is 0, the idle state of the clock is low. It should be noted that clock phase and polarity need to be identical for the master and attached slave device. 5.4.1 CPHA = 1 When CPHA is set to 1, the first edge after CS# goes low will be used to shift (or drive) the first data bit onto MIOSIO. Every odd numbered edge after this will shift out the next data bit. Incoming data will be sampled on the second or trailing SCLK edge and every even edge thereafter. Figure 5.3 shows this for both CPOL = 0 and CPOL = 1. end of idle SCK Edge No. Transfer start 1 2 3 4 5 6 7 8 9 end 10 11 12 13 14 15 start of next idle 16 SCK (CPOL = 0) SCK (CPOL = 1) SS_n CPHA = 1 Sample MISO 0 1 2 3 4 5 6 7 MOSI 0 1 2 3 4 5 6 7 Figure 5.3: FT1248 Clock Format CPHA = 1 Note: The CPOL value may be selected in the MTP memory. This may be done with FT_PROG. Note: Further information on this interface can be found in AN_167_FT1248 Parallel Serial Interface Basics from the FTDI website www.ftdichip.com. Copyright (c) 2012 Future Technology Devices International Limited 18 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 5.5 FT1248 Timing Figure 5.4: FT1248 Clock Format CPHA = 1 The timings will vary depending on VCCIO. Min (ns) Typical (ns) Max (ns) Description T1 83.33 SCLK Period T2 41.67 SCLK HIGH T3 41.67 SCLK LOW T4 1 T5 25 MIOSIO setup time to rising or falling sample SCLK edge T6 3 MIOSIO hold time from rising or falling sample SCLK edge T7 5 SS_n setup time to rising or falling SCLK edge T8 5 SS_n hold time from rising or falling sample SCLK edge 30 SCLK rising or falling driving edge to MIOSIO/MSIO Table 5.3: 1V8 VCCIO timings Copyright (c) 2012 Future Technology Devices International Limited 19 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Min (ns) Typical (ns) Max (ns) Description T1 83.33ns SCLK Period T2 41.67ns SCLK HIGH T3 41.67ns SCLK LOW T4 1 T5 22 MIOSIO setup time to rising or falling sample SCLK edge T6 1 MIOSIO hold time from rising or falling sample SCLK edge T7 5 SS_n setup time to rising or falling SCLK edge T8 5 SS_n hold time from rising or falling sample SCLK edge 15 SCLK rising or falling driving edge to MIOSIO/MSIO Table 5.4: 2V5 VCCIO timings Min (ns) Typical (ns) Max (ns) Description T1 83.33ns SCLK Period T2 41.67ns SCLK HIGH T3 41.67ns SCLK LOW T4 1 T5 20 MIOSIO setup time to rising or falling sample SCLK edge T6 0 MIOSIO hold time from rising or falling sample SCLK edge T7 5 SS_n setup time to rising or falling SCLK edge T8 5 SS_n hold time from rising or falling sample SCLK edge 10 SCLK rising or falling driving edge to MIOSIO/MSIO Table 5.5: 3V3 VCCIO timings Copyright (c) 2012 Future Technology Devices International Limited 20 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 6 Devices Characteristics and Ratings 6.1 Absolute Maximum Ratings The absolute maximum ratings for the FT220X 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 -65C to 150C Degrees C Conditions 168 Hours Floor Life (Out of Bag) At Factory Ambient (30C / 60% Relative Humidity) (IPC/JEDEC JSTD-033A MSL Level 3 Compliant)* Ambient Operating Temperature (Power Applied) -40C to 85C Degrees C MTTF FT220XS TBD Hours MTTF FT220XQ TBD Hours VCC Supply Voltage -0.3 to +5.5 V VCCIO IO Voltage -0.3 to +4.0 V DC Input Voltage - USBDP and USBDM -0.5 to +3.63 V -0.3 to +5.8 V DC Output Current - Outputs 22 mA ESD Charge Device Mode(CDM) 500 V Class III ESD Human Body Mode (HDM) 2000 V Class 2 DC Input Voltage - High Impedance Bi-directionals (powered from VCCIO) 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 +125C and baked for up to 17 hours. 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 (c) 2012 Future Technology Devices International Limited 21 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 6.3 DC Characteristics DC Characteristics (Ambient Temperature = -40C to +85C) Parameter Description Minimum Typical Maximum Units Conditions VCC VCC Operating Supply Voltage 2.97 5 5.5 V Normal Operation VCC2 VCCIO Operating Supply Voltage 1.62 --- 3.63 V Icc1 Operating Supply Current 9.7 10.5 12.3 mA Normal Operation Icc2 Operating Supply Current A USB Suspend V VCC must be greater than 3V3 otherwise 3V3OUT is an input which must be driven with 3.3V 3V3 3.3v regulator output 125 2.97 3.3 3.63 Table 6.3 Operating Voltage and Current Copyright (c) 2012 Future Technology Devices International Limited 22 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Parameter Description 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 A Vin = 5.5V or 0 2.0 Tri-state output leakage -10 +/-1 10 current Table 6.4 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) Ioz * The I/O drive strength and slow slew-rate are configurable in the MTP memory. Copyright (c) 2012 Future Technology Devices International Limited 23 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Parameter Description 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 Ioh = +/-2mA Voh Output Voltage High I/O Drive strength* = 4mA Iol = +/-2mA Vol Output Voltage Low 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 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 A Vin = 5.5V or 0 0.8 Tri-state output leakage -10 +/-1 10 current Table 6.5 I/O Pin Characteristics VCCIO = +2.5V (except USB PHY pins) Ioz * The I/O drive strength and slow slew-rate are configurable in the MTP memory. Copyright (c) 2012 Future Technology Devices International Limited 24 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Parameter Description 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 Ioh = +/-2mA Voh Output Voltage High I/O Drive strength* = 4mA Iol = +/-2mA Vol Output Voltage Low 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.77 V LVTTL V LVTTL LVTTL 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 A Vin = 5.5V or 0 1.6 Tri-state output leakage -10 +/-1 10 current Table 6.6 I/O Pin Characteristics VCCIO = +1.8V (except USB PHY pins) Ioz * The I/O drive strength and slow slew-rate are configurable in the MTP memory. Copyright (c) 2012 Future Technology Devices International Limited 25 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Parameter Description Minimum Voh Output Voltage High VCC-0.2 Vol Output Voltage Low Vil Input low Switching Threshold Vih Input High Switching Threshold Typical Maximum Units Conditions V - 0.2 V 0.8 V - 2.0 V Table 6.7 USB I/O Pin (USBDP, USBDM) Characteristics 6.4 MTP Memory Reliability Characteristics The internal 2048 Bytes MTP memory has the following reliability characteristics: Parameter Value Unit Data Retention 10 Years Write Cycle 2,000 Cycles Read Cycle Unlimited Cycles Table 6.8 MTP Memory Characteristics 6.5 Internal Clock Characteristics The internal Clock Oscillator has the following characteristics: Value Parameter Unit Minimum Typical Maximum Frequency of Operation (see Note 1) 11.98 12.00 12.02 MHz Clock Period 83.19 83.33 83.47 ns Duty Cycle 45 50 55 % Table 6.9 Internal Clock Characteristics Note 1: Equivalent to +/-1667ppm Copyright (c) 2012 Future Technology Devices International Limited 26 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 7 USB Power Configurations The following sections illustrate possible USB power configurations for the FT220X. The illustrations have omitted pin numbers for ease of understanding since the pins differ between the FT220XS and FT220XQ package options. All USB power configurations illustrated apply to both package options for the FT220X device. Please refer to Section 3 for the package option pin-out and signal descriptions. 7.1 USB Bus Powered Configuration VCC Ferrite Bead 1 VCC 27R 2 USBDM 3 27R USBDP 4 5 47pF FT220X 47pF RESET# SHIELD VCCIO GND 10nF GND VCC GN D AG ND 3V3OUT 100nF + 4.7uF 100nF GND GND Figure 7.1 Bus Powered Configuration Figure 7.1 Illustrates the FT220X in a typical USB bus powered design configuration. A USB bus powered device gets its power from the USB bus. Basic rules for USB bus power 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) should use one of the CBUS pins configured as PWREN# and use it to keep the current below 100mA on plug-in and 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 MTP memory of the FT220X 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 FT220X 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 Steward Part # MI0805K400R-10. Note: If using PWREN# (available using the CBUS) the pin should be pulled to VCCIO using a 10k resistor. Copyright (c) 2012 Future Technology Devices International Limited 27 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 7.2 Self Powered Configuration VCC(3.3-5.25V) 1 VCC 27R 2 USBDM 27R 3 USBDP 4 47pF 47pF 4k7 FT220X 5 RESET# SHIELD VCCIO GND 10k GND GND GN D AG ND 3V3OUT VCC 100nF 100nF 100nF + 4.7uF GND GND Figure 7.2 Self Powered Configuration Figure 7.2 illustrates the FT220X in a typical USB self powered configuration. A USB self powered device gets its power from its own power supply, VCC, 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 self powered USB hub. The power descriptor in the internal MTP memory of the FT220X should be programmed to a value of zero (self powered). In order to comply with the first requirement above, the USB bus power (pin 1) is used to control the VBUS_Sense pin of the FT220X device. When the USB host or hub is powered up an internal 1.5k resistor on USBDP is pulled up to +3.3V, thus identifying the device as a full speed device to the USB host or hub. When the USB host or hub is powered off, VBUS_Sense pin will be low and the FT220X 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 USBDP via the 1.5k pull-up resistor. Failure to do this may cause some USB host or hub controllers to power up erratically. Figure 7.2 illustrates a self powered design which has a +3.3V to +5.25V supply. Note: 1. When the FT220X is in reset, the FT1248 interface I/O pins are tri-stated. Input pins have internal 75k pull-up resistors to VCCIO, so they will gently pull high unless driven by some external logic. Copyright (c) 2012 Future Technology Devices International Limited 28 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 7.3 USB Bus Powered with Power Switching Configuration P Channel Power MOSFET Switched 5V Power to External Logic 0.1uF 0.1uF 100k 1k PWREN# Ferrite Bead 1 VCC 2 27R 3 27R USBDM USBDP 4 47pF 47pF FT220X 5 SHIELD RESET# 10nF VCCIO GND VCC CBUS3 GN D AG ND 3V3OUT GND 100nF + 4.7uF 100nF GND Figure 7.3 Bus Powered with Power Switching Configuration A requirement of USB bus powered applications, is when in USB suspend mode, the application draws a total current of less than 2.5mA. This requirement includes external logic. Some external logic has the ability to power itself down into a low current state by monitoring the PWREN# signal. For external logic that cannot power itself down in this way, the FT220X provides a simple but effective method of turning off power during the USB suspend mode. Figure 7.3 shows an example of using a discrete P-Channel MOSFET to control the power to external logic. A suitable device to do this is an International Rectifier (www.irf.com) IRLML6402, or equivalent. It is recommended that a "soft start" circuit consisting of a 1k series resistor and a 0.1F capacitor is used to limit the current surge when the MOSFET turns on. Without the soft start circuit it is possible that the transient power surge, caused when the MOSFET switches on, will reset the FT220X or the USB host/hub controller. The soft start circuit example shown in Figure 7.3 powers up with a slew rate of approximaely12.5V/ms. Thus supply voltage to external logic transitions from GND to +5V in approximately 400 microseconds. As an alternative to the MOSFET, a dedicated power switch IC with inbuilt "soft-start" can be used. A suitable power switch IC for such an application is the Micrel (www.micrel.com) MIC2025-2BM or equivalent. With power switching controlled designs the following should be noted: i) The external logic to which the power is being switched should have its own reset circuitry to automatically reset the logic when power is re-applied when moving out of suspend mode. ii) Set the Pull-down on Suspend option in the internal FT220X MTP memory. iii) One of the CBUS Pins should be configured as PWREN# in the internal FT220X MTP memory, and used to switch the power supply to the external circuitry. iv) For USB high-power bus powered applications (one that consumes greater than 100mA, and up to 500mA of current from the USB bus), the power consumption of the application must be set in the Max Power field in the internal FT220X MTP memory. A high-power bus powered application uses the descriptor in the internal FT220X MTP memory to inform the system of its power requirements. v) PWREN# gets its VCC from VCCIO. For designs using 3V3 logic, ensure VCCIO is not powered down using the external logic. In this case use the +3V3OUT. Copyright (c) 2012 Future Technology Devices International Limited 29 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 7.4 USB Battery Charging Detection A recent addition to the USB specification (http://www.usb.org/developers/devclass_docs/BCv1.2_011912.zip ) is to allow for additional charging profiles to be used for charging batteries in portable devices. These charging profiles do not enumerate the USB port of the peripheral. The FT220X device will detect that a USB compliant dedicated charging port (DCP) is connected. Once detected while in suspend mode a battery charge detection signal is then provided to allow external logic to switch to charging mode as opposed to operation mode. VBUS 3V3OUT VBUS VBUS DD+ ID GND 1 2 3 4 5 VBUS 0.1uF GND DM DP 27R 27R 3V3OUT 0.1uF VCCIO 3V3OUT VCC 600R/2A CN USB 3V3OUT GND RESET# 10nF N.F. GND GND 0.1uF 0R BCD CBUS3 FT220X SLD GND GND GND VBUS VBUS GND VBUS VBATT 4.7uF 0.1uF GND 1 2 3 4 5 GND CHRG VCC FAULT TIMER GND ACPR BAT SHDN PROG NTC GND 0.1uF 10 9 8 7 6 1 + NCT TB3.5mm BCD NTC LTC4053EDD 11 2K2 1uF 1K5 1R GND GND GND GND GND EEPROM Setting X-Chip Pin CBUS3 Function BCD Battery Options Battery Charger Enable X Force Power Enable GND GND 1A when connected to a dedicated charger port 0A when enumerated 0A when not enumerated and not in sleep 0A when in sleep VBUS NTC JP1 NCT Available 4K32 1% De-acticate Sleep JUMPER-2mm JP1 SIP-3 1-2 2-3 NCT Enabled NCT Disabled (Default) GND Figure 7.4 USB Battery Charging Detection To use the FT220X with battery charging detection the CBUS pin must be reprogrammed to allow for the BCD Charger output to switch the external charger circuitry on. The CBUS pins are configured in the internal MTP memory with the free utility FT_PROG. If the charging circuitry requires an active low signal to enable it, the CBUS pin can be programmed to BCD Charger# as an alternative. 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 and the device suspended. 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: Copyright (c) 2012 Future Technology Devices International Limited 30 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 AN_175_Battery Charging Over USB Note: If the FT220X is connected to a standard host port such that the device is enumerated the battery charge detection signal is inactive as the device will not be in suspend. Copyright (c) 2012 Future Technology Devices International Limited 31 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 8 Application Examples The following sections illustrate possible applications of the FT220X. The illustrations have omitted pin numbers for ease of understanding since the pins differ between the FT220XS and FT220XQ package options. 8.1 USB to FT1248 Converter VCCIO 10k 10k FT220X MIOSIO[0] 10k 10k SCLK FT1248 BUS MASTER SS_N MISO Figure 8.1 Application Example showing USB to FT1248 host The FT1248 can be used with 1-bit. 2-bit, or 4-bit wide data. The Figure 8.1 is showing 1 bit mode. By using 4 data bits you need fewer clock cycles to get the data across. The FT220X is the slave device and the external FPGA/MCU is the bus master. The FT220X will auto detect the bus width from the initial command byte sent by the controller. If not using all 4 data lines the pins may be left unterminated as an internal pull-up ensures the device detects logic 1. Timing diagrams for 1-bit accesses can be seen in figures 8.2 and 8.3. For further information on the mode see AN_167 FT1248 Basics from the FTDI website. Copyright (c) 2012 Future Technology Devices International Limited 32 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 CLK SS_n COMMAND PHASE WRITE DATA BUS TURNAROUND MIOSIO[0] TXE# CMD3 0 0 BUS TURNAROUND CMD2 0 B7 B6 B5 B4 B3 B2 B1 B0 TXE# PULLED HIGH MIOSIO[7:1] MISO CMD1 CMD0 BUS TURNAROUND RXF# TXE# ACK RXF# Figure 8.2 FT1248 1- bit write timing diagram Copyright (c) 2012 Future Technology Devices International Limited 33 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 CLK SS_n COMMAND PHASE READ DATA BUS TURNAROUND MIOSIO[0] TXE# CMD3 0 0 BUS TURNAROUND CMD2 0 B7 B6 B5 B4 B3 B2 B1 B0 TXE# PULLED HIGH MIOSIO[7:1] MISO CMD1 CMD0 RXF# RXF# ACK RXF# Figure 8.3 FT1248 1- bit read timing diagram Copyright (c) 2012 Future Technology Devices International Limited 34 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 8.2 LED Interface Any of the CBUS I/O pins can be configured to drive an LED. The FT220X has 3 configuration options for driving LEDs from the CBUS. These are TXLED#, RXLED#, and TX&RXLED#. Refer to Section 3.3 for configuration options. VCCIO LED 270R FT220X CBUS[3] TX& RXLED# Figure 8.4 Single LED Configuration Another example of using the FT220X to drive LEDs is shown in Figure 8.4. In this example one of the CBUS pins is used to indicate when data is being transmitted or received by the device (TX&RXLED). In this configuration the FT220X will drive only a single LED. Copyright (c) 2012 Future Technology Devices International Limited 35 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 9 Internal MTP Memory Configuration The FT220X includes an internal MTP 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 FT220X will scan its internal MTP memory and read the USB configuration descriptors stored there. In many cases, the default values programmed into the MTP memory will be suitable and no reprogramming will be necessary. The defaults can be found in Section 9.1. The MTP memory in the FT220X can be programmed over USB or over the FT1248 bus 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 MTP memory are shown in Table 9.1. Parameter Value Notes USB Vendor ID (VID) 0403h FTDI default VID (hex) USB Product UD (PID) 6015h FTDI default PID (hex) Serial Number Enabled? Yes Serial Number See Note A unique serial number is generated and programmed into the MTP memory during device final test. Pull down I/O Pins in USB Suspend Disabled Enabling this option will make the device pull down on the UART interface lines when in USB suspend mode (PWREN# is high). Manufacturer Name FTDI Product Description FT220X 4-BIT FT1248 Max Bus Power Current 90mA Power Source Bus Powered Device Type FT220X 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 High Speed device (480Mb/s). USB Version 0200 Remote Wake Up Disabled DBUS Drive Current Strength 4mA Options are 4mA, 8mA, 12mA, 16mA DBUS slew rate Slow Options are slow or fast Copyright (c) 2012 Future Technology Devices International Limited 36 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Parameter Value Notes DBUS Schmitt Trigger Enable Normal Options are normal or Schmitt CBUS Drive Current Strength 4mA Options are 4mA, 8mA, 12mA, 16mA CBUS slew rate Slow Options are slow or fast CBUS Schmitt Trigger Enable Normal Load VCP Driver Disabled CBUS3 Keep_Awake# Options are normal or Schmitt Enabling this will load the VCP driver interface for the device. Prevents the device from entering suspend state when unplugged. May b3e used if programming the MTP memory over the FT1248 interface. Table 9.1 Default Internal MTP Memory Configuration 9.2 Methods of Programming the MTP Memory 9.2.1 Programming the MTP memory over USB The MTP memory on all FT-X devices can be programmed over USB. This method is the same as for the EEPROM on other FTDI devices such as the FT232R. No additional hardware, connections or programming voltages are required. The device is simply connected to the host computer in the same way that it would be for normal applications, and the FT_Prog utility is used to set the required options and program the device. 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 MTP memory from within 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 9.2.2 Programming the MTP memory over FT1248 In the FT220X device, it is possible to program the MTP memory over its FT1248 interface. This is the same interface which is used in the normal application of the FT220X and would normally be connected to a microcontroller (MCU) or FPGA. However, special commands can also be used to access the MTP memory in the FT220X over the same FT1248 connection, allowing the MCU/FPGA to read and write locations in the MTP memory. No additional hardware, connections or programming voltages are required. Two examples where it may be desired to use the FT1248 interface to write and read the MTP Memory are given below. In some cases, the application may use both of these possibilities. 1. To store and retrieve application specific data such as calibration constants in the user area (e.g. if the overall application was an analog measurement system). This can avoid the need for an extra EEPROM chip on the application board. 2. To read and write the configuration data (e.g. custom VID, PID, description strings or CBUS signal selection to enable signals for battery charging etc) without a USB host. This could allow an MCU/FPGA to configure the FT220X during production testing of the finished device or even when in use in the field. Copyright (c) 2012 Future Technology Devices International Limited 37 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 The information in the rest of this chapter can be used to implement the storing and reading of application data in the user area as in example 1 above. Example 2 requires details of the configuration data stored in the MTP memory which is FTDI proprietary information. A separate application note is available under NDA from FTDI support for customers who require to do this (support1@ftdichip.com). 9.3 Memory Map The FT-X family MTP memory has various areas which come under three main categories: User Memory Area Configuration Memory Area (writable) Configuration Memory Area (non-writable) Memory Area Description Word Address User Memory Area 2 Accessible via USB, I2C and FT1248 0x3FF - 0x80 Configuration Memory Area Accessible via USB, I2C and FT1248 0x7E - 0x50 Configuration Memory Area Cannot be written 0x4E - 0x40 User Memory Area 1 Accessible via USB, I2C and FT1248 0x3E - 0x12 Configuration Memory Area Accessible via USB, I2C and FT1248 0x10 - 0x00 Figure 9.1: Simplified memory map for the FT-X User Memory Area The User Memory Areas are highlighted in Green on the memory map. They can be read and written via both USB and FT1248 on the FT220X. All locations within this range are freely programmable; no areas have special functions and there is no checksum for the user area. Note that the application should take into account the specification for the number of write cycles in Section 6.4 if it will be writing to the MTP memory multiple times. Configuration Memory Area (writable) This area stores the configuration data for the device, including the data which is returned to the host in the configuration descriptors (e.g. the VID, PID and string descriptions) and also values which set the hardware configuration (the signal assigned to each CBUS pin for example). These values can have a significant effect on the behaviour of the device. Steps must be taken to ensure that these locations are not written to un-intentionally by an application which is intended to access only the user area. Copyright (c) 2012 Future Technology Devices International Limited 38 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 This area is included in a checksum which covers configuration areas of the memory, and so changing any value can also cause this checksum to fail. Configuration Memory Area (non-writable) This is a reserved area and the application should not write to this area of memory. Any attempt to write these locations will fail. 9.4 Hardware Requirements The hardware is the same as for a typical USB-FT1248 application and no additional hardware or programming voltages are required. The FT1248 connections are the same as shown in Section 5. For the USB connections, either a bus-powered configuration (see Section 7.1and 7.3) or a self-powered configuration (see Section 7.2) could be used. 9.5 Protocol The FT1248 MTP memory protocol consists of 3 commands: Address MTP memory (0x05) Write MTP memory (0x06) Read MTP memory (0x07) For further details on the FT1248 protocol, refer to section 5. 9.5.1 Address MTP memory (0x05) This consists of a command phase followed by 2 data bytes which represent the MTP memory address allowing users to address, potentially, up to 64K byte addresses. 9.5.2 Write MTP memory (0x06) This consists of a command phase followed by 1 data byte which shall be programmed into the MTP memory at the address location set by the MTP memory address command. 9.5.3 Read MTP memory (0x07) This consists of a command phase followed by 1 data byte which is the data read from the MTP memory at the address location set by the MTP memory address command. 9.5.4 Examples of Writing and Reading When performing MTP memory write and read requests via the FT1248 protocol, users must first issue the MTP memory address command along with 2 bytes representing the MTP memory address. The status and acknowledge phases of this command represents the current status of the MTP memory (whether it is busy or not). If the MTP memory is being accessed during an FT1248 access then the status and acknowledge of the respective command and data phases will NAK the master. The address will only be updated when the MTP memory is inactive. Writing The first part of the communication sets the address, and this is followed by the write command along with the data to be written. The MTP memory write itself will be initiated when the FT220X receives an MTP memory write command followed by a single data byte. Two status phases occur during an MTP write (once during the command phase and the other during the data phase). Both status phases represent the current activity of the MTP memory (busy or not busy). A successful write will only occur when both status phases acknowledge the master indicating that the MTP memory can start the write. Users wishing to determine if the MTP memory write was successful should immediately try an EEPROM read. Copyright (c) 2012 Future Technology Devices International Limited 39 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Reading As with the writing process, the first part of the communication for a read sets the address. The read will then be initiated when the FT1248 slave receives an MTP memory read command. The status during the command phase indicates whether or not the MTP memory shall be able to service the read request. If it is possible to carry out the read, the FT1248 moves into the data phase where it can either continue with the read transaction until the slave successfully returns an ACK along with the data or if it receives NAK during the data phase it can abort the read transfer and try again. When the read has been serviced the data shall be returned on the 1st data byte phase. Copyright (c) 2012 Future Technology Devices International Limited 40 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 10 Package Parameters The FT220X is available in two different packages. The FT220XS is the SSOP-16 option and the FT220XQ is the QFN-16 package option. The solder reflow profile for both packages is described in Section 10.5. 10.1 SSOP-16 Package Mechanical Dimensions Figure 10.1 SSOP-16 Package Dimensions The FT220XS is supplied in a RoHS compliant 16 pin SSOP 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 4.90mm x 3.91mm body (4.90mm x 5.99mm including pins). The pins are on a 0.635 mm pitch. The above mechanical drawing shows the SSOP-16 package. All dimensions are in inches. Copyright (c) 2012 Future Technology Devices International Limited 41 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 10.2 SSOP-16 Package Markings -B FT220XS Figure 10.2 SSOP-16 Package Markings The date code format is YYXX where XX = 2 digit week number, YY = 2 digit year number. This is followed by the revision number. The code XXXXXXXXXXXX is the manufacturing LOT code. Copyright (c) 2012 Future Technology Devices International Limited 42 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 10.3 QFN-16 Package Mechanical Dimensions Figure 10.3 QFN-16 Package Dimensions The FT220XQ is supplied in a RoHS compliant leadless QFN-16 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 4.00mm x 4.00mm. The solder pads are on a 0.65mm pitch. The above mechanical drawing shows the QFN-16 package. All dimensions are in millimetres. The centre pad on the base of the FT220XQ is internally connected to GND and the PCB should not have signal tracking on the top layer under this area. Connect to GND. Copyright (c) 2012 Future Technology Devices International Limited 43 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 10.4 QFN-16 Package Markings 1 FTDI I XXXXXXXXXX 12 FT220XQ YYWW-B 5 8 Figure 10.4 QFN-16 Package Markings The date code format is YYXX where XX = 2 digit week number, YY = 2 digit year number. This is followed by the revision number. The code XXXXXXX is the manufacturing LOT code Copyright (c) 2012 Future Technology Devices International Limited 44 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 10.5 Solder Reflow Profile The FT220X is supplied in Pb free 16 LD SSOP and QFN-16 packages. The recommended solder reflow profile for both package options is shown in Figure 10.5. 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.5 FT220X 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 FT220X is used with Pb free solder), and for a non-Pb free solder process (i.e. the FT220X 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) 3C / second Max. 3C / Second Max. Preheat - Temperature Min (Ts Min.) 150C 100C - Temperature Max (Ts Max.) 200C 150C - Time (ts Min to ts Max) 60 to 120 seconds 60 to 120 seconds 217C 183C 60 to 150 seconds 60 to 150 seconds 260C 240C 20 to 40 seconds 20 to 40 seconds Ramp Down Rate 6C / second Max. 6C / second Max. Time for T= 25C 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 5C of actual Peak Temperature (tp) Table 10.1 Reflow Profile Parameter Values Copyright (c) 2012 Future Technology Devices International Limited 45 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 11 Contact Information Head Office - Glasgow, UK Branch Office - Hillsboro, Oregon, USA Future Technology Devices International Limited Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 Future Technology Devices International Limited (USA) 7235 NW Evergreen Parkway, Suite 600 Hillsboro, OR 97123-5803 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) E-Mail (Sales) E-Mail (Support) E-Mail (General Enquiries) sales1@ftdichip.com support1@ftdichip.com admin1@ftdichip.com Branch Office - Taipei, Taiwan Future Technology Devices International Limited (Taiwan) 2F, No. 516, Sec. 1, NeiHu Road Taipei 114 Taiwan , R.O.C. Tel: +886 (0) 2 8791 3570 Fax: +886 (0) 2 8791 3576 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) tw.sales1@ftdichip.com tw.support1@ftdichip.com tw.admin1@ftdichip.com us.sales@ftdichip.com us.support@ftdichip.com us.admin@ftdichip.com Branch Office - Shanghai, China Future Technology Devices International Limited (China) Room 408, 317 Xianxia Road, Shanghai, 200051 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) cn.sales@ftdichip.com cn.support@ftdichip.com cn.admin@ftdichip.com Web Site http://ftdichip.com 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 users 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 (c) 2012 Future Technology Devices International Limited 46 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Appendix A - References Useful Application Notes http://www.ftdichip.com/Documents/AppNotes/AN232R-01_FT232RBitBangModes.pdf 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/AppNotes/AN_167_FT1248_Parallel_Serial_Interface_Basics.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://www.usb.org/developers/devclass_docs/BCv1.2_011912.zip Copyright (c) 2012 Future Technology Devices International Limited 47 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Appendix B - List of Figures and Tables List of Figures Figure 2.1 FT220X Block Diagram ................................................................................................... 4 Figure 3.1 QFN Schematic Symbol .................................................................................................. 7 Figure 3.2 SSOP Schematic Symbol ................................................................................................ 9 Figure 5.1: FT1248 Basic Waveform Protocol.................................................................................. 15 Figure 5.2: FT1248 Command Structure ........................................................................................ 16 Figure 5.3: FT1248 Clock Format CPHA = 1 ................................................................................... 18 Figure 5.4: FT1248 Clock Format CPHA = 1 ................................................................................... 19 Figure 7.1 Bus Powered Configuration ........................................................................................... 27 Figure 7.2 Self Powered Configuration ........................................................................................... 28 Figure 7.3 Bus Powered with Power Switching Configuration ............................................................ 29 Figure 7.4 USB Battery Charging Detection .................................................................................... 30 Figure 8.1 Application Example showing USB to FT1248 host ........................................................... 32 Figure 8.2 FT1248 1- bit write timing diagram ................................................................................ 33 Figure 8.3 FT1248 1- bit read timing diagram ................................................................................ 34 Figure 8.4 Single LED Configuration .............................................................................................. 35 Figure 9.1: Simplified memory map for the FT-X ............................................................................ 38 Figure 10.1 SSOP-16 Package Dimensions ..................................................................................... 41 Figure 10.2 SSOP-16 Package Markings ......................................................................................... 42 Figure 10.3 QFN-16 Package Dimensions ....................................................................................... 43 Figure 10.4 QFN-16 Package Markings .......................................................................................... 44 Figure 10.5 FT220X Solder Reflow Profile ....................................................................................... 45 List of Tables Table 3.1 Power and Ground .......................................................................................................... 7 Table 3.2 Common Function pins .................................................................................................... 7 Table 3.3 FT1248 Interface and CBUS Group (see note 1).................................................................. 8 Table 3.4 Power and Ground .......................................................................................................... 9 Table 3.5 Common Function pins .................................................................................................... 9 Table 3.6 FT1248 Interface and CBUS Group (see note 1)................................................................ 10 Table 3.7 CBUS Configuration Control ........................................................................................... 12 Table 5.1: FT1248 Commands ...................................................................................................... 17 Table 5.2: CPOL & CPHA Mode Numbers ........................................................................................ 17 Table 5.3: 1V8 VCCIO timings ...................................................................................................... 19 Table 5.4: 2V5 VCCIO timings ...................................................................................................... 20 Table 5.5: 3V3 VCCIO timings ...................................................................................................... 20 Table 6.1 Absolute Maximum Ratings ............................................................................................ 21 Table 6.2 ESD and Latch-Up Specifications .................................................................................... 21 Table 6.3 Operating Voltage and Current ....................................................................................... 22 Table 6.4 I/O Pin Characteristics VCCIO = +3.3V (except USB PHY pins) ........................................... 23 Table 6.5 I/O Pin Characteristics VCCIO = +2.5V (except USB PHY pins) ........................................... 24 Copyright (c) 2012 Future Technology Devices International Limited 48 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Table 6.6 I/O Pin Characteristics VCCIO = +1.8V (except USB PHY pins) ........................................... 25 Table 6.7 USB I/O Pin (USBDP, USBDM) Characteristics .................................................................. 26 Table 6.8 MTP Memory Characteristics........................................................................................... 26 Table 6.9 Internal Clock Characteristics ......................................................................................... 26 Table 9.1 Default Internal MTP Memory Configuration ..................................................................... 37 Table 10.1 Reflow Profile Parameter Values .................................................................................... 45 Copyright (c) 2012 Future Technology Devices International Limited 49 FT220X USB 4-BIT SPI/FT1248 IC Datasheet Version 1.1 Document No.: FT_000629 Clearance No.: FTDI# 262 Appendix C - Revision History Document Title: USB 4-BIT SPI/FT1248 IC FT220X Document Reference No.: FT_000629 Clearance No.: FTDI# 262 Product Page: http://www.ftdichip.com/FT-X.htm Document Feedback: Send Feedback Version 1.0 Initial Release 8th February 2012 Version 1.1 Added USB compliance in section 1.3 17th April 2012 Clarified MTP Reliability in table 6.8 Edited EEPROM Table 9.1 changed Load VCP Driver to Disabled and edited Product Description Copyright (c) 2012 Future Technology Devices International Limited 50