| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Future Technology Devices International Ltd. 2006 AN232B-03 Optim
Top Searches for this datasheetAN232B-03 Optimising D2XX Data Throughput Future Technology Devices International Ltd. 2006 AN232B-03 Optimising D2XX Data Throughput Table Contents Part D2XX Applications Optimizing Data Throughput Over Introduction Transfer Sizes Driver Operation Optimizing Performance Part Revision History, Disclaimer, Contact Information Document. Revision History Disclaimer Contact Information Index Future Technology Devices International Ltd. 2006 D2XX Applications Optimizing Data Throughput Over D2XX Applications Optimizing Data Throughput Over Introduction This application note provides guidelines achieving optimal performance over from D2XX applications. Future Technology Devices International Ltd. 2006 AN232B-03 Optimising D2XX Data Throughput Transfer Sizes maximum transfer size over setup once when device initialized. application change current transfer size value exceeding maximum transfer size. best transfer size application depends type. example, application that handles streaming data will more efficiently with large transfer size, whereas smaller transfer size more suited application that handles small amounts data. Future Technology Devices International Ltd. 2006 D2XX Applications Optimizing Data Throughput Over Driver Operation D2XX device driver, maximum transfer size 64Kbytes. This necessary order support USB2.0 controllers: USB2.0, have found that transfer sizes greater than fail catastrophically. Current transfer size changed using function FT_SetUSBParameters. change comes into effect immediately, data that held driver time change lost. Note that, currently, FT_SetUSBParameters supports transfer size changes endpoint only, remainder this note restricted consideration read requests. When device opened, driver allocates buffers: transfer buffer maximum transfer size bytes read buffer whose size based same maximum transfer size. current transfer size default 4Kbytes, application setup current transfer size anytime after device been opened. driver performs requests size current transfer size, then copies data read buffer. actual request size determined space that currently available read buffer. read buffer becomes full (i.e. there enough space read buffer hold data returned from request), driver will stop issuing requests until space becomes available. Data removed from read buffer when application performs read request. rate which application issues read requests direct bearing driver's ability keep issuing requests. requests will continue issued long application performs enough read requests ensure that read buffer does become full. Future Technology Devices International Ltd. 2006 AN232B-03 Optimising D2XX Data Throughput Optimizing Performance question setup application optimized data throughput complicated format data that transferred over USB. Data transferred over series byte packets. Each packets contains bytes that reserved FTDI bytes actual data. 4Kbyte transaction contains 3968 bytes actual data, 64Kbyte transaction contains 63488 bytes. general, byte transaction yields ((x/64)*2) bytes actual data. Optimized throughput occurs when maximum amount data transferred least possible number transactions. necessary condition that application's request size must matched current request size. More precisely, optimal throughput achieved when application request size multiple number actual data bytes contained current transfer size. example, using current transfer size 4Kbytes, optimal throughput achieved with application request sizes that multiples 3968 bytes. Maximum throughput achieved using current transfer size bytes, application requests that multiples 63448 bytes. Future Technology Devices International Ltd. 2006 Revision History, Disclaimer, Contact Information Revision History, Disclaimer, Contact Information Document Revision History AN232B-03 Version Initial document created March 2004. AN232B-03 Version Format contact information updated. Future Technology Devices International Ltd. 2006 AN232B-03 Optimising D2XX Data Throughput Disclaimer Future Technology Devices International Limited 2006 Neither whole part information contained product described this manual, adapted reproduced material electronic form without prior written consent copyright holder. This product documentation supplied as-is basis warranty their suitability particular purpose either made implied. Future Technology Devices International Ltd. will accept claim damages howsoever arising result failure this product. Your statutory rights affected. This product variant intended medical appliance, device system which failure product might reasonably expected result personal injury. This document provides preliminary information that subject change without notice. Future Technology Devices International Ltd. 2006 Revision History, Disclaimer, Contact Information Contact Information Head Office Glasgow, Future Technology Devices International Limited Scotland Street Glasgow United Kingdom Tel: 2777 Fax: 2758 E-Mail (Sales): sales1@ftdichip.com E-Mail (Support): support2@ftdichip.com E-Mail (General Enquiries): admin1@ftdichip.com Site URL: http://www.ftdichip.com Shop URL: Branch Office Taiwan Future Technology Devices International Limited (Taiwan) 16-1, Sec. Mincyuan East Road Neihu District Taipei Taiwan Tel: +886 8791 3570 Fax: +886 8791 3576 E-Mail (Sales): tw.sales@ftdichip.com E-Mail (Support): tw.support@ftdichip.com E-Mail (General Enquiries): tw.admin@ftdichip.com Site URL: http://www.ftdichip.com Branch Office Hillsboro, Oregon, Future Technology Devices International Limited (USA) 5285 Elam Young Parkway Suite B800 Hillsboro, 97124-6499 Tel: (503) 547-0988 Fax: (503) 547-0987 E-Mail (Sales): us.sales@ftdichip.com E-Mail (Support): us.support@ftdichip.com E-Mail (General Enquiries): us.admin@ftdichip.com Site URL: http://www.ftdichip.com Agents Sales Representatives Please visit Sales Network page FTDI site contact details distributor(s) your country. Future Technology Devices International Ltd. 2006 AN232B-03 Optimising D2XX Data Throughput Index -BBuffers -DD2XX Data Format -FFT_SetUSBParameters -IIN Endpoint -MMaximum Transfer Size Maximum Transfer Size -PPackets -RRead Buffer Read Requests -UUSB Controllers Request Request Size Transactions transfer Buffer Transfer Size Future Technology Devices International Ltd. 2006 Other recent searchesSTB150NF55 - STB150NF55 STB150NF55 Datasheet STP150NF55 - STP150NF55 STP150NF55 Datasheet STW150NF55 - STW150NF55 STW150NF55 Datasheet SiR492DP - SiR492DP SiR492DP Datasheet RTC-4513 - RTC-4513 RTC-4513 Datasheet PM100CL1A120 - PM100CL1A120 PM100CL1A120 Datasheet LM5070 - LM5070 LM5070 Datasheet ISL84715 - ISL84715 ISL84715 Datasheet ISL84716 - ISL84716 ISL84716 Datasheet CZS-102 - CZS-102 CZS-102 Datasheet ATFS05 - ATFS05 ATFS05 Datasheet ATFS10 - ATFS10 ATFS10 Datasheet ATFS40 - ATFS40 ATFS40 Datasheet APT150GN60LDQ4 - APT150GN60LDQ4 APT150GN60LDQ4 Datasheet
Privacy Policy | Disclaimer |