FT121Q-R FTDI, FT121Q-R Datasheet

no-image

FT121Q-R

Manufacturer Part Number
FT121Q-R
Description
USB Interface IC USB CONTROLLER W/SPI SLAVE IC
Manufacturer
FTDI
Datasheet

Specifications of FT121Q-R

Rohs
yes
Product
USB 2.0
Interface Type
SPI, USB
Operating Supply Voltage
4 V to 5.5 V
Operating Supply Current
3.9 mA
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
QFN-16
Minimum Operating Temperature
- 40 C
Future Technology Devices
Controller with SPI Slave IC)
The FT121 is a USB generic interface
controller with the following advanced
features:
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 produ ct. 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 preliminar y
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
(Enhanced USB Device
USB 2.0 Full Speed compatible
High performance USB device controller with
integrated SIE, endpoint buffer, transceiver
and voltage regulators
Fully
external crystal required
Supports Serial Parallel interface (SPI) slave to
external microcontroller
Supports up to 8 bi-directional endpoints with
total 2K bytes endpoint buffer
Max packet size is 504 bytes for isochronous
endpoint
control/bulk/interrupt endpoint
Double
increases data transfer throughput
Multiple interrupt modes to facilitate both bulk
and isochronous transfers
USB
optimized charging profile
International Ltd
integrated
Battery
buffer
and
FT121
Copyright © 2012 Future Technology Devices International Limited
Charger
scheme
clock
64
generation
FT121 ENHANCED USB DEVICE CONTROLLER WITH SPI SLAVE IC
detection
for
any
bytes
with
endpoint
allowing
.
for
no
Integrated
connection
Supports
application
VCC power supply operation at 3.3V or 5V
Internal 1.8V and 3.3V LDO regulators
VCC IO level range from 1.8V to 3.3V
Integrated power-on-reset circuit
UHCI/OHCI/EHCI host controller compatible
-40° C to 85° C extended operating temperature
range
Available in Pb-free TSSOP-16 and QFN-16
packages (RoHS compliant)
bus
DP
Document No.: FT_000648
Clearance No.: FTDI#
powered
pull-up
Datasheet Version 1.0
resistor
or
self
for
powered
312
USB
1

Related parts for FT121Q-R

FT121Q-R Summary of contents

Page 1

... UHCI/OHCI/EHCI host controller compatible  -40° 85° C extended operating temperature range  Available in Pb-free TSSOP-16 and QFN-16 64 bytes for packages (RoHS compliant) for any endpoint detection allowing Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# DP pull-up resistor for bus powered or self powered USB 1 ...

Page 2

... Part Numbers Part Number FT121T-x FT121Q-x Note: Packaging codes for x is Taped and Reel, (TSSOP is 2,500pcs per reel, QFN is 6,000pcs per reel Tube packing, 96pcs per tube (TSSOP only Tray packing, 490pcs per tray (QFN only) For example: FT121T-R is 2,500pcs taped and reel packing 1 ...

Page 3

... FT121 ENHANCED USB DEVICE CONTROLLER WITH SPI SLAVE IC 2 Block Diagrams Figure 2-1 FT121 Block Diagram For a description of each function please refer to Section 4. Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 3 ...

Page 4

... Data Flow Commands ....................................................................... 24 6.3.1 Read Interrupt Register .............................................................................................. 24 6.3.2 Select Endpoint ......................................................................................................... 26 6.3.3 Read Last Transaction Status ...................................................................................... 26 6.3.4 Read Endpoint Status ................................................................................................. 27 6.3.5 Read Buffer ............................................................................................................... 28 6.3.6 Write Buffer .............................................................................................................. 28 6.3.7 Clear Buffer .............................................................................................................. 28 6.3.8 Validate Buffer .......................................................................................................... 28 6.3.9 Set Endpoint Status ................................................................................................... 29 6.3.10 Acknowledge Setup ................................................................................................ 29 Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 4 ...

Page 5

... Read Current Frame Number ....................................................................................... 30 6.4.2 Send Resume ............................................................................................................ 30 6.4.3 Set 3-wire Mode ........................................................................................................ 30 6.4.4 Set Buffer Interrupt Mode ................................................. Error! Bookmark not defined. 6.4.5 Read Vendor ID ......................................................................................................... 31 6.4.6 Read Product ID ........................................................................................................ 31 6.4.7 Read FTDI ID ............................................................................................................ 31 6.4.8 Set IO Pad Drive Strength........................................................................................... 31 7 Application Information ............................................................. 32 8 Devices Characteristics and Ratings ........................................... 33 8.1 Absolute Maximum Ratings............................................................... 33 8.2 DC Characteristics............................................................................. 34 8.3 AC Characteristics ...

Page 6

... FT121 ENHANCED USB DEVICE CONTROLLER WITH SPI SLAVE IC 3 Device Pin Out and Signal Description 3.1 TSSOP-16 Package Pin Out Figure 3-1 TSSOP-16 package schematic symbol 3.2 QFN-16 Package Pin Out Figure 3-2 QFN-16 package schematic symbol Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 6 ...

Page 7

... To operate the IC at 3.3 V, supply 3 both the VCC and VOUT3V3 pins Power supply (3.3V or 5V) P Ground. P AIO USB data signal minus AIO USB data signal plus P Ground. Die pad for QFN-16 package. Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 7 ...

Page 8

... 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. Protocol Engine also includes a memory management unit which handles endpoint buffers. Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# The 8 ...

Page 9

... SS_n is de-asserted. This can be seen in Figure 4-1. Copyright © 2012 Future Technology Devices International Limited Bit Interrupt Pin Mode 0 Any bit in Interrupt register 1 Any bit in Interrupt register and SOF X Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Interrupt source SOF only 9 ...

Page 10

... The master will signal the end of the data read operation by drive the SS_n line high. Copyright © 2012 Future Technology Devices International Limited Command Command Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Write Data Write Data Read Data 10 ...

Page 11

... MOSI off at similar times. For the slave to drive MOSI it has to pass the clock Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 11 ...

Page 12

... I/O buffers, into the internal circuits, clock MOSI and then get MOSI out through the output buffers. This long path in and out of the slave will have an inherent delay of a few nanoseconds. Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 12 ...

Page 13

... Transfer Type Direction OUT Control IN Control OUT Bulk/Interrupt IN Bulk/Interrupt Endpoint Transfer Type Direction OUT Bulk/Interrupt IN Bulk/Interrupt OUT Isochronous IN Isochronous OUT Isochronous IN Isochronous Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Max Packet Size Max Packet Size 64 64 128 128 ...

Page 14

... Table 5-3 Example buffer configuration Copyright © 2012 Future Technology Devices International Limited Configuration 1 Configuration 2 EP Buffer (ISO (ISO Document No.: FT_000648 Datasheet Version 1.0 Clearance No.: FTDI# Buffer 312 14 ...

Page 15

... Note: 504 is the maximum byte count as there are 1024 bytes in total and 8 bytes IN and OUT packets for control endpoint 0 must always be reserved. Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 Clearance No.: FTDI# Non-isochronous endpoint Isochronous endpoint 8 bytes 16 bytes ...

Page 16

... Endpoint 1 OUT 82h Endpoint 1 IN 83h Endpoint 2 OUT 84h Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Data phase Write 1 byte Write 1 byte Write 2 bytes Write 1 byte Read 2 bytes Read 1 byte (optional) Read 1 byte (optional) Read 1 byte (optional) Read 1 byte (optional) ...

Page 17

... Endpoint 1 OUT B2h Endpoint 1 IN B3h Endpoint 2 OUT B4h Endpoint 2 IN B5h Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Data phase Read 1 byte Read multiple bytes Write multiple bytes Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte ...

Page 18

... Endpoint 6 IN 0Dh Endpoint 7 OUT 0Eh Endpoint 7 IN 0Fh Endpoint 0 OUT 40h Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Data phase Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte ...

Page 19

... Endpoint 5 OUT 8Ah Endpoint 5 IN 8Bh Endpoint 6 OUT 8Ch Endpoint 6 IN 8Dh Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Data phase Read 1 byte Read 1 byte Read 1 byte Read 1 byte Read 1 byte Read 1 byte Read 1 byte Read 1 byte Read 1 byte Read 1 byte ...

Page 20

... General Commands Device F6h Device F5h Device E8h Device E9h Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Data phase Read 1 byte Read 1 byte Read multiple bytes Write multiple bytes Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte Write 1 byte ...

Page 21

... Enable all endpoints (Note EP0 is always enabled regardless the setting of EP_Enable bit). Endpoints can only be enabled when the function is enabled. 0b’0000000 Reserved, write to 0 Reset 0b’00 Reserved, write to 0 Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Data phase Read 2 bytes Read 2 bytes Read 1 byte Description Description Description 21 ...

Page 22

... Reserved, write to 0b’1111 0b’00 Reserved, write This bit must be set normal operation 1: interrupt will generate on receiving SOF packet only, regardless the value of the Interrupt Pin Mode bit in the Interrupt configuration register. Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description Description 22 ...

Page 23

... Maximum USB packet size for this endpoint. Defines the IN buffer or OUT buffer size for the endpoint. Refer to Table 5-4 for full details on the buffer configuration. 0 Reserved, write to 0 Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description Description 23 ...

Page 24

... Interrupt for endpoint 3 IN buffer. Cleared by Read Last Transaction Status command. 0 Interrupt for endpoint 4 OUT buffer. Cleared by Read Last Transaction Status command. 0 Interrupt for endpoint 4 IN buffer. Cleared by Read Last Transaction Status command. Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description Description Description 24 ...

Page 25

... Interrupt for endpoint 6 IN buffer. Cleared by Read Last Transaction Status command. Reset 0 Interrupt for endpoint 7 OUT buffer. Cleared by Read Last Transaction Status command. 0 Interrupt for endpoint 7 IN buffer. Cleared by Read Last Transaction Status command. 0b’xxxxxx Reserved Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description Description 25 ...

Page 26

... SETUP token 0 0: packet has a DATA0 token 1: packet has a DATA1 token 0 0: previous transaction status was read 1: previous transaction status was not read Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description Description 26 ...

Page 27

... Reserved 0 0: indicate not a setup packet 1: indicate last received packet has a SETUP token 0b’xx Reserved 0 0: buffer 0 is not filled up 1: buffer 0 is filled buffer 1 is not filled up 1: buffer 1 is filled up Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description 27 ...

Page 28

... This is to free the buffer to receive next packet from USB host. 6.3.8 Validate Buffer Command : FAh Copyright © 2012 Future Technology Devices International Limited Reset 0 0: endpoint is not stalled 1: endpoint is stalled Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description 28 ...

Page 29

... SETUP packet. When this bit is written to ‘0’, the endpoint will reinitialize. Any data in the endpoint buffer will be flushed away, and the PID for next packet will carry DATA0 flag. 0b’xxxxxxx Reserved Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description 29 ...

Page 30

... Copyright © 2012 Future Technology Devices International Limited Reset 00h Frame number for last received SOF, byte 1 (least significant byte) Reset 0b’000 Frame number for last received SOF, byte 2 (Most significant byte) 0b’00000 Reserved Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Description Description 30 ...

Page 31

... EAh (for Enhanced Mode) Data : read 2 bytes Read the 2 bytes Product ID. Shall return 6018h. 6.4.6 Read FTDI ID Command : EDh (for Enhanced Mode) Data : read 1 byte Read the 1 byte FTDI ID. Shall return 11h. 6.4.7 Set IO Pad Drive Strength Command : E9h Data : Write 1 byte Bit Symbol 1-0 ...

Page 32

... VCC 27R DM 27R DP FT121 47pF 47pF VBUS_S RESET_n VCC3V3 VCCIO VOUT3V3 VCC 100nF 4.7uF + Document No.: FT_000648 Datasheet Version 1.0 Clearance No.: FTDI# VCC3V3 VCC 100nF 10k 10k GPIO SUSPEND INT_n GPIO SS_n SS# SCLK SCLK MISO MISO MOSI MOSI VCC VCC 100nF 10k ...

Page 33

... If devices are stored out of the packaging beyond this time limit the devices should be baked before use. The devices should be ramped temperature of +125° C and baked for hours. Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 Clearance No.: FTDI# Value -65 to 150 168 (IPC/JEDEC J-STD-033A MSL Level 3 ...

Page 34

... Minimum Typical Maximum 2.9 0.4 2.0 - 0.8 Minimum Typical Maximum 2.25 0.4 1.7 - 0.7 Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Units Conditions V Normal Operation Regulator by-pass V mode Operation V Normal Operation, mA USB bus transmit or receive USB Suspend, Clock Running = μA ‘0’, excluding the DP_Pullup current V VCC=5V Units Conditions ...

Page 35

... Typical Maximum 2.8 3.6 - 0.3 0.8 2.0 0.8 2.5 0 VCCIO=3.3V Min Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Units Conditions V I source = 4mA V I sink = 4mA V V Units Conditions R = 1.5kΩ 15kΩ to GND Including external Ω 27 Ω ±1% series resistor VCCIO=1 ...

Page 36

... SS_n hold time from falling sample SCLK edge SPI slave timing Table 8-7 Note: All timing figures applied for both 4-wire and 3-wire modes. Figure 8-1 SPI slave timing Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# VCCIO=3.3V VCCIO=1.8V Min Max Min Max 2 2 ...

Page 37

... FT121 ENHANCED USB DEVICE CONTROLLER WITH SPI SLAVE IC 9 Package Parameters The FT121 is available in two different packages. The FT121T is the TSSOP-16 package option and the FT121Q is the QFN-16 package option. The solder reflow profile for both packages is described in section 9.5. 9.1 TSSOP-16 Package Dimensions Figure 9-1 TSSOP-16 Package Dimensions The FT121T is supplied in a RoHS compliant 16 pin TSSOP package ...

Page 38

... The date code format is YYWW where digit week number digit year number. Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Line 1 – FTDI Logo Line 2 – Date Code, Revision Line 3 – FTDI Part Number 38 ...

Page 39

... This package is nominally 3mm x 3mm. The solder pads are on a 0.50mm pitch. The above mechanical drawing shows the QFN-16 package. All dimensions are in millimetres. The centre pad on the base of the FT121Q is internally connected to GND pin, and can be left unconnected, or connected to ground (recommended). ...

Page 40

... FT121 ENHANCED USB DEVICE CONTROLLER WITH SPI SLAVE IC 9.4 QFN-16 Package Markings YYWW-B FT121Q Figure 9-4 QFN-16 Package Markings The date code format is YYWW where digit week number digit year number. 9.5 Solder Reflow Profile The FT121 is supplied in Pb free TSSOP-16 and QFN-16 packages. The recommended solder reflow profile for both package options is shown in Figure 9-5 ...

Page 41

... seconds 6° second Max. 8 minutes Max. Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# Non-Pb Free Solder Process 3° Second Max. 100° C 150° 120 seconds 183° 150 seconds 240° seconds 6° ...

Page 42

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

Page 43

... Table 6-2 enhanced command set ................................................................................................ 21 Table 6-3 Address Enable Register ................................................................................................ 21 Table 6-4 Endpoint Enable Register ............................................................................................... 21 Table 6-5 Configuration Register (Byte 1) ...................................................................................... 22 Table 6-6 Configuration Register (Byte 2) ...................................................................................... 22 Table 6-7 Interrupt Configuration Register ..................................................................................... 23 Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 43 ...

Page 44

... Table 8-2 Operating Voltage and Current ....................................................................................... 34 Table 8-3 digital I/O Pin Characteristics (VCCIO=+3.3V) ................................................................. 34 Table 8-4 digital I/O Pin Characteristics (VCCIO=+2.5V) ................................................................. 34 Table 8-5 digital I/O Pin Characteristics (VCCIO=+1.8V) ................................................................. 35 Table 8-6 USB I/O Pin (DP, DM) Characteristics .............................................................................. 35 Table 9-1 Reflow Profile Parameter Values ..................................................................................... 41 Copyright © 2012 Future Technology Devices International Limited Document No.: FT_000648 Datasheet Version 1.0 312 Clearance No.: FTDI# 44 ...

Page 45

... Document Reference No.: Clearance No.: Product Page: Document Feedback: Version Draft Initial draft Version 1.0 Initial release Copyright © 2012 Future Technology Devices International Limited DS_FT121 FT_000648 FTDI# 312 http://www.ftdichip.com/Products/ICs/FT121.htm Send Feedback July 2012 1 Document No.: FT_000648 Datasheet Version 1.0 Clearance No.: FTDI# st October 2012 312 45 ...

Related keywords