Application Note AN_302. Comparison of Device / Software features for FT313H and ST- Ericsson ISP1763

Similar documents
Technical Note TN_173. UMFT4222PROG-IC Errata

Application Note AN_207 USB-DUO

Future Technology Devices International

Technical Note TN_175 FT4222H Revision D

Future Technology Devices International Ltd. TN_145 FT311D Errata Technical Note

Future Technology Devices International Ltd. TN_142 FT120 Errata Technical Note

Application Note AN_423 FT_App_Imageviewer

TN_130 FT232H Errata Technical Note

Future Technology Devices International Limited

AN_357. Android Java D2xx Demo Application for FT4222

FTDI Chip. VI800A-232U Datasheet Plug in accessory for VM800P Embedded Video Engine Plus module. 1.1 Features. 1 Introduction

Future Technology Devices International Ltd. TN_137 FT220X Errata Technical Note

Future Technology Devices International Ltd. TN_140 FT231X Errata Technical Note

Future Technology Devices International Ltd. Application Note AN_172. Vinculum-II. Using the USB Slave Driver

UMFT4222PROG FT4222 Programmer Module

Future Technology Devices International Ltd. TN_161 FT4222H Errata Technical Note

UMFT4222PROG FT4222 Programmer Module

Future Technology Devices International Ltd

Technical Note. TN_134 FTDI Android D2XX Driver

Application Note AN_163. Vinculum-II USB Slave Disconnect Detection

Application Note AN_144. VINCULUM-II IO_Mux Configuration Utility User Guide

Future Technology Devices International

TTL-234X. TTL234X Series Range of Cables. Datasheet

Future Technology Devices International Ltd. Application Note AN_168. Vinculum-II USB Slave. Customizing an FT232 Device

Application Note AN_191. Vinculum-II Interrupts

Future Technology Devices International Ltd. TN_124 FT2232D Errata Technical Note

Application Note AN_193. Vinculum-II SPI Master to USB HID Class Host Bridge

Future Technology Devices International Ltd. TN_118 Vinculum-II Errata Technical Note

FT4232H-56Q Mini Module. USB Hi-Speed FT4232H Evaluation Module. Datasheet

Application Note AN_145. Vinculum-II Toolchain. Installation Guide

Future Technology Devices International Ltd

Future Technology Devices International Limited

TN_120 FT232R Errata Technical Note

Application Note AN_335. FT801 Graph Application

Future Technology Devices International Limited

Application Note AN_189. Vinculum-II Using the LFAT Driver

Application Note AN_182. Vinculum-II UART to FT232Host Bridge

Application Note AN_164. Vinculum-II USB Slave. Writing a Function Driver

Future Technology Devices International Ltd. FTDI Drivers Installation guide for. Windows 7

Future Technology Devices International Ltd

C232HD. USB 2.0 Hi-Speed to UART Cable. Datasheet

TTL-232R. TTL to USB Serial Converter Range of Cables. Datasheet

Future Technology Devices International Ltd

TTL-232R-PCB. TTL to USB Serial Converter PCB. Datasheet

Future Technology Devices International Ltd

Technical Note TN_107

TTL-232RG. TTL to USB Serial Converter Generic Cables. Datasheet

FTDI Chip VA800A-SPI USB 2.0 Hi-Speed to MPSSE SPI Module

FT2232H Mini Module. USB Hi-Speed FT2232H Evaluation Module. Datasheet

Application Note AN_342. FT90x Assembly Language Programming Guide

Future Technology Devices International Ltd

Application Note AN_146. USB Hardware Design Guidelines for FTDI ICs

FTDI Chip. VI800A-PoE Datasheet Plug in accessory for VM800P Embedded Video Engine Plus module. 1.1 Features. 1 Introduction

FTDI Chip. VA800A PROG Datasheet Programmer for VM800P Embedded Video Engine Plus module. 1.1 Features. 1 Introduction

Future Technology Devices International Ltd. OSX. Document Reference No.: FT_ Version 1.0 Issue Date:

Future Technology Devices International Ltd. V-Eval USB Missile Launcher. Application Note

Future Technology Devices International Ltd. DB9-USB Family of UART Converter Modules Datasheet

Future Technology Devices International Ltd

Vinculum-II Debug Interface Description

Future Technology Devices International Ltd

Future Technology Devices International

Migrating Vinculum Designs From VNC1L to VNC2-48L1A

Future Technology Devices International Ltd

V2DIP2-32. VNC2-32Q Development Module Datasheet

Future Technology Devices International Ltd UMFT313EV Development Module Datasheet

USB-COM232-PLUS1. Datasheet

USB-COM232-PLUS1. Datasheet

Future Technology Devices International Ltd USB TO RS485 UART SERIAL CONVERTER PCB. Datasheet

Future Technology Devices International

TTL-232R-PCB. TTL to USB Serial Converter PCB. Datasheet

USB-COM485-PLUS1. Datasheet

UB232R. USB Mini-B FT232R Evaluation Module. Datasheet

Future Technology Devices International

APPLICATION NOTE AN_261. FT_App_Clocks

Future Technology Devices International Ltd

USB-COM422-PLUS4. Datasheet

Future Technology Devices International Ltd UMFT4222EV. USB2.0 to QuadSPI/I2C Bridge Development Module Datasheet

Future Technology Devices International

General Purpose USB2.0 Hi-Speed USB Host Contoller. 1.1 Features

USB-COM232-PLUS1. Datasheet

Future Technology Devices International Ltd Vinculum Firmware Tools User Manual

Bridgetek Pte Ltd. Datasheet CleO35-WIFI Module. 1 Introduction. 1.1 Features. CleO35-WIFI Module Datasheet Version 1.0

Application Note AN_124. User Guide For FTDI FT_Prog Utility

TTL-232R. TTL to USB Serial Converter Range of Cables. Datasheet

The DB9-USB Family of USB to. UART Converter Modules. Datasheet

Future Technology Devices International Ltd. FT602Q IC Datasheet. (FIFO to USB 3.0 UVC Bridge) Version 1.2

Future Technology Devices International Ltd

Future Technology Devices International Limited

Bridgetek Pte Ltd. CleOIO-Shield Module Datasheet. 1 Introduction. 1.1 Features. CleOIO-Shield Module Datasheet Version 1.0

Future Technology Devices International

V2DIP2-48. VNC2-48 Development Module. Datasheet

Future Technology Devices International Ltd. FT600/FT601

Bridgetek Pte Ltd. Datasheet MM930Mini Module High Speed USB-Serial MCU Development Module. 1 Introduction. 1.1 Features

V2DIP1-64. VNCL2-64Q Development Module Datasheet

V2DIP1-48. VNC2-48 Development Module. Datasheet

Vinculo Development Module. Datasheet

FTDI Chip. VM800P Datasheet Embedded Video Engine Plus Module. VM800P Embedded Video Engine Plus Module Datasheet Version 1.3

Vinculo Development Module. Datasheet

FTDI Ltd DS_US232R-10(R-100) USB to RS232 Adapter cable. Data Sheet. Document Reference No.: FT_ Version 1.0 Issue Date:

Bridgetek Pte Ltd. VM816C Datasheet Embedded Video Engine Credit Card Board. 1 Introduction. 1.1 Features

Transcription:

AN_302 Comparison of Device / Software features for FT313H and ST- Ericsson ISP1763 Issue Date: 2014-03-04 In this application note, features of the FT313H and ST-Ericsson ISP1763 are compared with the main focus on software development related features. Differences between these two chips are highlighted and each feature is briefly described. This document could serve as a starting point for migrating from ISP1763 to FT313H. 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 FTDI harmless from any and all damages, claims, suits or expense resulting from such use. Future Technology Devices International Limited (FTDI) Unit 1, 2 Seaward Place, Glasgow G41 1HH, United Kingdom Tel.: +44 (0) 141 429 2777 Fax: + 44 (0) 141 429 2758 Web Site: http://ftdichip.com

Table of Contents 1 Introduction... 2 2 Features shared between FT313H and ISP1763... 3 3 Feature differences of FT313H and ISP1763... 4 3.1 Register definition... 4 3.2 Chip architecture... 4 3.3 Memory management... 4 3.4 Transfer scheduling... 4 3.4.1 ISP1763 traffic scheduling... 4 3.4.2 FT313H transfer scheduling... 5 3.4.3 Interrupt processing... 5 4 Summary... 6 5 Contact Information... 7 Appendix A References... 8 Document References... 8 Acronyms and Abbreviations... 8 Appendix B List of Tables & Figures... 9 List of Tables... 9 No table of figures entries found.list of Figures... 9 Appendix C Revision History... 10 1

1 Introduction FT313H is an embedded USB 2.0 Hi-Speed host controller chip which is EHCI compatible (revision 1.0) and provides one downstream port for support of Hi-Speed, Full-Speed, and Low-Speed USB peripherals. The FT313H provides a subset of the ISP1763 functionality, specifically, a USB2.0 Hi-Speed Host port, and offers many of the same IO interfaces so that the chip should be capable of being easily integrated into current ISP1763 systems. Note the FT313H targets a low cost, single host port for embedded systems and is compatible with the EHCI specification (1.0). The FT313H functions as an embedded USB Host port, whereas the ISP1763 is a dual port chip that supports the USB2.0 On-The-Go protocol. As a result the effort to change devices will center around the software integration of the FT313H HCD over the selected IO, and integration to the USB Host stack. In addition to this application note the designer should also consult the FT313H Programming Guide, AN_226. In the end, when the system requires a single, USB2.0 host port with common IO between the FT313H and ISP1763, the FT313H can meet the system requirement and likely offer a reduced bill of material. In this article, we compare the features of these two chips and highlight the differences. In addition a description of features provides a good starting point for software engineers to port ISP1763 software to FT313H. 2

2 Features shared between FT313H and ISP1763 FT313H and ISP1763 share a number of features, including: both chips primary function is to provide USB 2.0 Hi-Speed USB host, both have 24 Kbytes of on-chip memory. As they are both embedded USB host controllers, they share the operation that USB transfer descriptors must be programmed into their memory and payload must be copied from their chip s master memory into memory for OUT transfers, and payload must be copied to their chip s master memory from their memory for IN transfers. Both chips apply similar data port concepts to access memory by either 8-bit or 16-bit interfaces. 3

3 Feature differences between FT313H and ISP1763 3.1 Register definition Though the ISP1763 claims to be EHCI compatible in its datasheet, its register definition is quite different from that in EHCI specification. There are only five registers that seem related to EHCI, and the device does not possess all the functional bits as defined by the EHCI specification. In comparision, the FT313H s register definition is compatible to EHCI definition, with only a few registers needing an addressing offset change. 3.2 Chip architecture The ISP1763 exports USB downstream ports through a built-in hub, thus after the ISP1763 s USB host controller completes initialization it will start to enumerate its built-in hub. As a result, the ISP1763 requires a standard hub (not root hub) driver for integration with the ISP1763 USB stack. This in turn requires support of periodic transfer (interrupt transfer) in ISP1763 s host controller driver (HCD). In comparison, the FT313H executes USB downstream port though its host controller s root hub. As a result, it is possible that the FT313H host controller driver does not need to support interrupt transfer transactions. This is very efficient and convenient for resource, restricted embedded systems. 3.3 Memory management Both FT313H and ISP1763 have 24 Kbytes of built-in memory which is used for holding transfer descriptors and payload data. However, the FT313H and ISP1763 apply different strategies for memory management. The ISP1763 reserves the first 4 Kbytes to store the 16 ATL, 16 ISO and 16 INT transfer descriptors with the remaining 20 Kbytes for payload. The location and total number of each kind of descriptors are all fixed. In comparison, the FT313H apply a much more flexible memory management scheme, as long as alignment requirements are met. The FT313H software can partition the memory according to its needs and also control the number of different descriptors as needed. 3.4 Transfer scheduling The ISP1763 and FT313H apply different methods to schedule transfer on the USB bus. 3.4.1 ISP1763 traffic scheduling The ISP1763 schedules transfers by manipulating the skip register and corresponding category of descriptor. ISP1763 driver need to update the content of selected PTD (ISP1763 Proprietary Transfer Descriptor) according to the transfer requests such as, endpoint type, data payload length etc. and clear the corresponding bit in the skip register to trigger the execution of the descriptor. This is applicable to all three types of descriptors. 4

3.4.2 FT313H transfer scheduling In comparision, the FT313H employs different methods for asynchronous transfers and periodic transfers. 3.4.2.1 Asynchronous transfers The FT313H use two types of descriptors to schedule asynchronous transfers (control and bulk transfers), qhead and qtd.the former one represents an endpoint, and the latter one carries the actual payload. All qheads must be linked as a looped linked list which starts from an offset indicated by ASYNCLISTADDR register. After software enables the asynchronous traffic scheduling, the FT313H hardware will start to execute all the transfers described by the qhead and qtd. 3.4.2.2 Periodic transfer FT313H applies an array based method to schedule periodic transfer (interrupt and isochronous transfers). A 256, 512 or 1024 double word array (configurable) starting at 4 Kbytes aligned address (recommend at address 0) is used to represent the time frames on the USB bus. The transfers which are scheduled at certain times will be indicated by the pointers stored in the corresponding element of the frame array. All these transfer requests that need to happen in the same frame will be linked together as a linked list. 3.4.3 Interrupt processing When one or more transfers scheduled are completed on the USB bus, both FT313H and ISP1763 will generate an interrupt to notify software for further processing. However, the ISP1763 depends upon the PTD Done Map register to find out which PTD has been scheduled. In comparison, the FT313H reads out all the descriptors for FT313H built-in memory to find out which descriptor has been executed and needs further processing. 5

4 Summary This document compares major functional differences between the ISP1763 and FT313H which are important for software development. This document is not a step by step guide for replacing the ISP1763 with the FT313H. However as the primary function of the two devices (USB2.0 Hi- Speed Host port) is the same and many of the IO interfaces are identical, it is very possible to convert a system with the ISP1763 to FT313H. Users are encouraged to further review the FT313H datasheet and AN_226 FT313H Programming Guide for more detailed information. 6

5 Contact Information Head Office Glasgow, UK Future Technology Devices International Limited Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) sales1@ftdichip.com support1@ftdichip.com admin1@ftdichip.com Branch Office Tigard, Oregon, USA Future Technology Devices International Limited (USA) 7130 SW Fir Loop Tigard, OR 97223-8160 USA Tel: +1 (503) 547 0988 Fax: +1 (503) 547 0987 E-Mail (Sales) E-Mail (Support) E-Mail (General Enquiries) us.sales@ftdichip.com us.support@ftdichip.com us.admin@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 Branch Office Shanghai, China Future Technology Devices International Limited (China) Room 1103, No. 666 West Huaihai Road, Shanghai, 200052 China Tel: +86 21 62351596 Fax: +86 21 62351595 E-mail (Sales) E-mail (Support) E-mail (General Enquiries) tw.sales1@ftdichip.com tw.support1@ftdichip.com tw.admin1@ftdichip.com 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 user s risk, and the user agrees to defend, indemnify and hold harmless FTDI from any and all damages, claims, suits or expense resulting from such use. This document is subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Neither the whole nor any part of the information contained in, or the product described in this document, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH, United Kingdom. Scotland Registered Company Number: SC136640 7

Appendix A References Document References [1] ST-Ericsson ISP1763 Datasheet [2] FT313H Programing Guide [3] Enhanced Host Controller Interface Specification for USB, Revision 1.0 Acronyms and Abbreviations Terms USB USB-IF EHCI HCD Description Universal Serial Bus USB Implementers Forum Enhanced Host Controller Interface Host Controller Driver 8

Appendix B List of Tables & Figures List of Tables No table of figures entries found. List of Figures No table of figures entries found. 9

Appendix C Revision History Document Title: AN_302 Comparison of Device / Software features for FT313H and ST-Ericsson ISP1763 Document Reference No.: FT_001003 Clearance No.: FTDI# 374 : http://www.ftdichip.com/ftproducts.htm : Send Feedback Revision Changes Date 1.0 Initial Release 2014-03-04 10