没有合适的资源?快使用搜索试试~ 我知道了~
首页EZUSB FX2 技术参考手册.pdf
资源详情
资源评论
资源推荐
2 EZ-USB® Technical Reference Manual, Document # 001-13670 Rev. *A
Copyrights
Copyrights
Copyright © 2002 - 2008 Cypress Semiconductor Corporation. All rights reserved.
Cypress, the Cypress Logo, EZ-USB, MoBL-USB, Making USB Universal, Xcelerator, and ReNumeration are trademarks or
registered trademarks of Cypress Semiconductor Corporation. Macintosh is a registered trademark of Apple Computer, Inc.
Windows is a registered trademark of Microsoft Corporation. I²C is a registered trademark of Philips Electronics. SmartMedia
is a trademark of Toshiba Corporation. All other product or company names used in this manual may be trademarks, regis-
tered trademarks, or servicemarks of their respective owners.
Disclaimer
The information in this document is subject to change without notice and should not be construed as a commitment by
Cypress Semiconductor Corporation Incorporated. While reasonable precautions have been taken, Cypress Semiconductor
Corporation assumes no responsibility for any errors that may appear in this document.
No part of this document may be copied or reproduced in any form or by any means without the prior written consent of
Cypress Semiconductor Corporation.
Cypress Semiconductor products are not designed, intended, or authorized for use as components in systems intended for
surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the
failure of the Cypress Semiconductor product could create a situation where personal injury or death may occur. Should
Buyer purchase or use Cypress Semiconductor products for any such unintended or unauthorized application, Buyer shall
indemnify and hold Cypress Semiconductor and its officers, employees, subsidiaries, affiliates and distributors harmless
against all claims, costs, damages, expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of
personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Cypress Semi-
conductor was negligent regarding the design or manufacture of the product.
The acceptance of this document will be construed as an acceptance of the foregoing conditions.
This manual is the EZ-USB
®
Technical Reference Manual, for EZ-USB FX2LP™, and EZ-USB FX1
™
. It provides information
for the chips listed below.
CY7C68013A
CY7C68014A
CY7C68015A
CY7C68016A
CY7C64713
[+] Feedback
EZ-USB® Technical Reference Manual, Document # 001-13670 Rev. *A 3
Contents
1. Introducing EZ-USB® 13
1.1 Introduction.............................................................................................................................13
1.2 An Introduction to USB ...........................................................................................................13
1.3 The USB Specification............................................................................................................14
1.4 Host is Master.........................................................................................................................14
1.5 USB Direction .........................................................................................................................14
1.6 Tokens and PIDs ....................................................................................................................15
1.6.1 Receiving Data from the Host ..................................................................................16
1.6.2 Sending Data to the Host.........................................................................................16
1.7 USB Frames ...........................................................................................................................16
1.8 USB Transfer Types ...............................................................................................................16
1.8.1 Bulk Transfers..........................................................................................................16
1.8.2 Interrupt Transfers....................................................................................................17
1.8.3 Isochronous Transfers .............................................................................................17
1.8.4 Control Transfers .....................................................................................................17
1.9 Enumeration ...........................................................................................................................18
1.9.1 Full-Speed / High-Speed Detection..........................................................................18
1.10 The Serial Interface Engine ....................................................................................................19
1.11 ReNumeration™.....................................................................................................................19
1.12 EZ-USB Architecture ..............................................................................................................20
1.13 EZ-USB Feature Summary.....................................................................................................21
1.14 EZ-USB Integrated Microprocessor........................................................................................22
1.15 EZ-USB Block Diagram ..........................................................................................................23
1.16 Packages................................................................................................................................24
1.16.1 56-Pin Packages......................................................................................................24
1.16.2 CY7C68013A/14A and CY7C68015A/16A Differences ...........................................24
1.16.3 100-Pin Package......................................................................................................25
1.16.4 128-Pin Package......................................................................................................25
1.16.5 Signals Available in the Five Packages ...................................................................25
1.17 Package Diagrams .................................................................................................................27
1.18 EZ-USB Endpoint Buffers .......................................................................................................32
1.19 External FIFO Interface ..........................................................................................................33
1.20 EZ-USB Product Family..........................................................................................................36
1.21 Document History ...................................................................................................................36
[+] Feedback
4 EZ-USB® Technical Reference Manual, Document # 001-13670 Rev. *A
Contents
2. Endpoint Zero 37
2.1 Introduction.............................................................................................................................37
2.2 Control Endpoint EP0.............................................................................................................37
2.3 USB Requests........................................................................................................................40
2.3.1 Get Status................................................................................................................41
2.3.2 Set Feature..............................................................................................................43
2.3.3 Clear Feature...........................................................................................................44
2.3.4 Get Descriptor..........................................................................................................45
2.3.4.1 Get Descriptor-Device.................................................................................47
2.3.4.2 Get Descriptor-Device Qualifier...................................................................48
2.3.4.3 Get Descriptor-Configuration.......................................................................48
2.3.4.4 Get Descriptor-String...................................................................................48
2.3.4.5 Get Descriptor-Other Speed Configuration ................................................49
2.3.5 Set Descriptor..........................................................................................................49
2.3.5.1 Set Configuration ........................................................................................51
2.3.6 Get Configuration.....................................................................................................51
2.3.7 Set Interface ............................................................................................................51
2.3.8 Get Interface............................................................................................................52
2.3.9 Set Address .............................................................................................................52
2.3.10 Sync Frame .............................................................................................................53
2.3.11 Firmware Load.........................................................................................................53
3. Enumeration and ReNumeration™ 55
3.1 Introduction.............................................................................................................................55
3.2 EZ-USB Startup Modes..........................................................................................................55
3.3 The Default USB Device.........................................................................................................56
3.4 EEPROM Boot-load Data Formats.........................................................................................57
3.4.1 No EEPROM or Invalid EEPROM ...........................................................................57
3.4.2 Serial EEPROM Present, First Byte is 0xC0 ..........................................................58
3.4.3 Serial EEPROM Present, First Byte is 0xC2 ...........................................................59
3.5 EEPROM Configuration Byte .................................................................................................60
3.6 The RENUM Bit......................................................................................................................61
3.7 EZ-USB Response to Device Requests (RENUM=0) ............................................................61
3.8 EZ-USB Vendor Request for Firmware Load .........................................................................62
3.9 How the Firmware ReNumerates ...........................................................................................63
3.10 Multiple ReNumerations™......................................................................................................63
4. Interrupts 65
4.1 Introduction.............................................................................................................................65
4.2 SFRs.......................................................................................................................................65
4.2.1 803x/805x Compatibility...........................................................................................68
4.3 Interrupt Processing ...............................................................................................................68
4.3.1 Interrupt Masking.....................................................................................................68
4.3.1.1 Interrupt Priorities........................................................................................69
4.3.2 Interrupt Sampling ...................................................................................................69
4.3.3 Interrupt Latency......................................................................................................70
4.4 USB-Specific Interrupts ..........................................................................................................70
4.4.1 Resume Interrupt.....................................................................................................70
4.4.2 USB Interrupts .........................................................................................................70
4.4.2.1 SUTOK, SUDAV Interrupts .........................................................................74
4.4.2.2 SOF Interrupt...............................................................................................74
4.4.2.3 Suspend Interrupt........................................................................................74
[+] Feedback
EZ-USB® Technical Reference Manual, Document # 001-13670 Rev. *A 5
Contents
4.4.2.4 USB RESET Interrupt..................................................................................74
4.4.2.5 HISPEED Interrupt (FX2LP only) ................................................................74
4.4.2.6 EP0ACK Interrupt........................................................................................74
4.4.2.7 Endpoint Interrupts ......................................................................................75
4.4.2.8 In-Bulk-NAK (IBN) Interrupt.........................................................................75
4.4.2.9 EPxPING Interrupt (FX2LP only).................................................................75
4.4.2.10 ERRLIMIT Interrupt .....................................................................................75
4.4.2.11 EPxISOERR Interrupt..................................................................................75
4.5 USB-Interrupt Autovectors......................................................................................................75
4.5.1 USB Autovector Coding ...........................................................................................77
4.6 I²C Bus Interrupt .....................................................................................................................78
4.7 FIFO/GPIF Interrupt (INT4).....................................................................................................79
4.8 FIFO/GPIF-Interrupt Autovectors............................................................................................80
4.8.1 FIFO/GPIF Autovector Coding.................................................................................80
5. Memory 83
5.1 Introduction.............................................................................................................................83
5.2 Internal Data RAM ..................................................................................................................83
5.2.1 The Lower 128 .........................................................................................................84
5.2.2 The Upper 128 .........................................................................................................84
5.2.3 Special Function Register Space .............................................................................84
5.3 External Program Memory and External Data Memory ..........................................................84
5.3.1 56- and 100-Pin EZ-USB Chips ...............................................................................85
5.3.2 128-Pin EZ-USB Chip ..............................................................................................85
5.4 EZ-USB Memory Maps...........................................................................................................86
5.5 ‘Von-Neumannizing’ Off-Chip Program and Data Memory.....................................................88
5.6 On-Chip Data Memory at 0xE000-0xFFFF.............................................................................89
6. Power Management 91
6.1 Introduction.............................................................................................................................91
6.2 USB Suspend .........................................................................................................................93
6.2.1 Suspend Register ....................................................................................................93
6.3 Wakeup/Resume ....................................................................................................................94
6.3.1 Wakeup Interrupt......................................................................................................95
6.4 USB Resume (Remote Wakeup) ...........................................................................................96
6.4.1 WU2 Pin...................................................................................................................96
7. Resets 97
7.1 Introduction.............................................................................................................................97
7.2 Hard Reset..............................................................................................................................97
7.3 Releasing the CPU Reset.......................................................................................................98
7.3.1 RAM Download ........................................................................................................98
7.3.2 EEPROM Load ........................................................................................................98
7.3.3 External ROM ..........................................................................................................99
7.4 CPU Reset Effects..................................................................................................................99
7.5 USB Bus Reset.......................................................................................................................99
7.6 EZ-USB Disconnect................................................................................................................99
7.7 Reset Summary ...................................................................................................................100
[+] Feedback
剩余353页未读,继续阅读
gcxily
- 粉丝: 2
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论5