没有合适的资源?快使用搜索试试~ 我知道了~
首页CY7C68013A参考手册
CY7C68013A参考手册
5星 · 超过95%的资源 需积分: 10 10 下载量 159 浏览量
更新于2023-03-16
评论
收藏 5.4MB PDF 举报
CY7C68013A参考手册,最简单的USB2.0接口芯片,详细描述和外部器件的接口方法,寄存器设置等。
资源详情
资源评论
资源推荐
Cypress Semiconductor
3901 North First Street
San Jose, CA 95134
Tel.: (800) 858-1810 (toll-free in the U.S.)
(408) 943-2600
www.cypress.com
EZ-USB
Manual
Technical Reference
Cypress Disclaimer Agreement
The information in this document is subject to
change without notice and should not be con-
strued as a commitment by Cypress Semicon-
ductor 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 with-
out the prior written consent of Cypress Semi-
conductor 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 unin-
tended or unauthorized application, Buyer shall
indemnify and hold Cypress Semiconductor
and its officers, employees, subsidiaries, affili-
ates and distributors harmless against all
claims, costs, damages, expenses, and rea-
sonable attorney fees arising out of, directly or
indirectly, any claim of personal injury or death
associated with such unintended or unautho-
rized use, even if such claim alleges that
Cypress Semiconductor was negligent regard-
ing the design or manufacture of the product.
The acceptance of this document will be con-
strued as an acceptance of the foregoing con-
ditions.
EZ-USB Technical Reference Manual,
Version 1.2.
Copyright © 2000, 2001, 2002, 2003, 2004,
2005.
Cypress Semiconductor Corporation.
All rights reserved.
List of Trademarks
Cypress, the Cypress Logo, EZ-USB, Making USB Universal, Xcelerator, and ReNumeration are
trademarks or registered trademarks of Cypress Semiconductor Corporation. Macintosh is a regis-
tered trademark of Apple Computer, Inc. Windows is a registered trademark of Microsoft Corpora-
tion. 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.
i
Table of Contents
Chapter 1. Introducing EZ-USB
1.1 Introduction....................................................................................................................................1-1
1.2 An Introduction to USB..................................................................................................................1-2
1.3 The USB Specification ..................................................................................................................1-2
1.4 Host Is Master ...............................................................................................................................1-3
1.5 USB Direction................................................................................................................................1-3
1.6 Tokens and PIDs...........................................................................................................................1-3
1.6.1 Receiving Data from the Host..........................................................................................1-5
1.6.2 Sending Data to the Host.................................................................................................1-5
1.7 USB Frames..................................................................................................................................1-6
1.8 USB Transfer Types......................................................................................................................1-6
1.8.1 Bulk Transfers..................................................................................................................1-6
1.8.2 Interrupt Transfers ...........................................................................................................1-7
1.8.3 Isochronous Transfers.....................................................................................................1-7
1.8.4 Control Transfers............................................................................................................1-8
1.9 Enumeration ..................................................................................................................................1-8
1.9.1 Full-Speed / High-Speed Detection .................................................................................1-9
1.10 The Serial Interface Engine (SIE)................................................................................................1-9
1.11 ReNumeration™........................................................................................................................1-10
1.12 EZ-USB Architecture .................................................................................................................1-11
1.13 EZ-USB Feature Summary .......................................................................................................1-13
1.14 EZ-USB Integrated Microprocessor ..........................................................................................1-13
1.15 EZ-USB Block Diagram.............................................................................................................1-15
1.16 Packages...................................................................................................................................1-16
1.16.1 56-Pin Packages..........................................................................................................1-16
1.16.2 CY7C68013A and CY7C68015A differences ..............................................................1-17
1.16.3 100-Pin Package .........................................................................................................1-17
1.16.4 128-Pin Package .........................................................................................................1-17
1.16.5 Signals Available in the Four Packages ......................................................................1-18
1.17 Package Diagrams ....................................................................................................................1-20
1.18 EZ-USB Endpoint Buffers..........................................................................................................1-24
1.19 External FIFO Interface .............................................................................................................1-26
1.20 EZ-USB Product Family ...........................................................................................................1-29
Chapter 2. Endpoint Zero
2.1 Introduction....................................................................................................................................2-1
2.2 Control Endpoint EP0....................................................................................................................2-2
2.3 USB Requests...............................................................................................................................2-5
2.3.1 Get Status........................................................................................................................2-7
ii Table of Contents
(Table of Contents)
2.3.2 Set Feature....................................................................................................................2-10
2.3.3 Clear Feature.................................................................................................................2-12
2.3.4 Get Descriptor ...............................................................................................................2-12
2.3.4.1 Get Descriptor-Device........................................................................................2-14
2.3.4.2 Get Descriptor-Device Qualifier .........................................................................2-15
2.3.4.3 Get Descriptor-Configuration .............................................................................2-16
2.3.4.4 Get Descriptor-String .........................................................................................2-16
2.3.4.5 Get Descriptor-Other Speed Configuration ........................................................2-17
2.3.5 Set Descriptor................................................................................................................2-17
2.3.5.1 Set Configuration ...............................................................................................2-20
2.3.6 Get Configuration ..........................................................................................................2-20
2.3.7 Set Interface ..................................................................................................................2-21
2.3.8 Get Interface..................................................................................................................2-22
2.3.9 Set Address ...................................................................................................................2-22
2.3.10 Sync Frame .................................................................................................................2-23
2.3.11 Firmware Load.............................................................................................................2-24
Chapter 3. Enumeration and ReNumeration™
3.1 Introduction ...................................................................................................................................3-1
3.2 EZ-USB Startup Modes.................................................................................................................3-2
3.3 The Default USB Device ..............................................................................................................3-3
3.4 EEPROM Boot-load Data Formats ...............................................................................................3-4
3.4.1 No EEPROM or Invalid EEPROM ...................................................................................3-4
3.4.2 Serial EEPROM Present, First Byte is 0xC0 ..................................................................3-5
3.4.3 Serial EEPROM Present, First Byte is 0xC2 ...................................................................3-6
3.5 EEPROM Configuration Byte ........................................................................................................3-8
3.6 The RENUM Bit.............................................................................................................................3-9
3.7 EZ-USB Response to Device Requests (RENUM=0) .................................................................3-10
3.8 EZ-USB Vendor Request for Firmware Load..............................................................................3-11
3.9 How the Firmware ReNumerates................................................................................................3-12
3.10 Multiple ReNumerations™ ........................................................................................................3-12
Chapter 4. Interrupts
4.1 Introduction ...................................................................................................................................4-1
4.2 SFRs .............................................................................................................................................4-2
4.2.1 803x/805x Compatibility ..................................................................................................4-5
4.3 Interrupt Processing ......................................................................................................................4-6
4.3.1 Interrupt Masking.............................................................................................................4-6
4.3.1.1 Interrupt Priorities.................................................................................................4-7
4.3.2 Interrupt Sampling ...........................................................................................................4-8
4.3.3 Interrupt Latency..............................................................................................................4-8
4.4 USB-Specific Interrupts.................................................................................................................4-8
4.4.1 Resume Interrupt.............................................................................................................4-8
4.4.2 USB Interrupts .................................................................................................................4-9
Table of Contents iii
(Table of Contents)
4.4.2.1 SUTOK, SUDAV Interrupts ................................................................................4-12
4.4.2.2 SOF Interrupt .....................................................................................................4-13
4.4.2.3 Suspend Interrupt...............................................................................................4-13
4.4.2.4 USB RESET Interrupt ........................................................................................4-13
4.4.2.5 HISPEED Interrupt (FX2LP only) .......................................................................4-13
4.4.2.6 EP0ACK Interrupt...............................................................................................4-13
4.4.2.7 Endpoint Interrupts.............................................................................................4-14
4.4.2.8 In-Bulk-NAK (IBN) Interrupt................................................................................4-14
4.4.2.9 EPxPING Interrupt (FX2LP only) .......................................................................4-14
4.4.2.10 ERRLIMIT Interrupt ..........................................................................................4-15
4.4.2.11 EPxISOERR Interrupt ......................................................................................4-15
4.5 USB-Interrupt Autovectors ..........................................................................................................4-15
4.5.1 USB Autovector Coding.................................................................................................4-17
4.6 I²C Bus Interrupt ..........................................................................................................................4-18
4.7 FIFO/GPIF Interrupt (INT4) .........................................................................................................4-19
4.8 FIFO/GPIF-Interrupt Autovectors ................................................................................................4-20
4.8.1 FIFO/GPIF Autovector Coding.......................................................................................4-21
Chapter 5. Memory
5.1 Introduction....................................................................................................................................5-1
5.2 Internal Data RAM.........................................................................................................................5-1
5.2.1 The Lower 128.................................................................................................................5-2
5.2.2 The Upper 128.................................................................................................................5-2
5.2.3 SFR (Special Function Register) Space ..........................................................................5-2
5.3 External Program Memory and External Data Memory.................................................................5-3
5.3.1 56- and 100-pin EZ-USB .................................................................................................5-4
5.3.2 128-pin EZ-USB...............................................................................................................5-4
5.4 EZ-USB Memory Maps .................................................................................................................5-5
5.5 “Von-Neumannizing” Off-Chip Program and Data Memory...........................................................5-8
5.6 On-Chip Data Memory at 0xE000-0xFFFF ...................................................................................5-9
Chapter 6. Power Management
6.1 Introduction....................................................................................................................................6-1
6.2 USB Suspend................................................................................................................................6-3
6.2.1 SUSPEND Register .........................................................................................................6-4
6.2.2 XTALINSRC Register ......................................................................................................6-4
6.3 Wakeup/Resume...........................................................................................................................6-5
6.3.1 Wakeup Interrupt .............................................................................................................6-6
6.4 USB Resume (Remote Wakeup) ..................................................................................................6-7
6.4.1 WU2 Pin...........................................................................................................................6-8
Chapter 7. Resets
7.1 Introduction....................................................................................................................................7-1
7.2 Hard Reset ....................................................................................................................................7-2
剩余473页未读,继续阅读
hailiming
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- 2023年中国辣条食品行业创新及消费需求洞察报告.pptx
- 2023年半导体行业20强品牌.pptx
- 2023年全球电力行业评论.pptx
- 2023年全球网络安全现状-劳动力资源和网络运营的全球发展新态势.pptx
- 毕业设计-基于单片机的液体密度检测系统设计.doc
- 家用清扫机器人设计.doc
- 基于VB+数据库SQL的教师信息管理系统设计与实现 计算机专业设计范文模板参考资料.pdf
- 官塘驿林场林防火(资源监管)“空天地人”四位一体监测系统方案.doc
- 基于专利语义表征的技术预见方法及其应用.docx
- 浅谈电子商务的现状及发展趋势学习总结.doc
- 基于单片机的智能仓库温湿度控制系统 (2).pdf
- 基于SSM框架知识产权管理系统 (2).pdf
- 9年终工作总结新年计划PPT模板.pptx
- Hytera海能达CH04L01 说明书.pdf
- 数据中心运维操作标准及流程.pdf
- 报告模板 -成本分析与报告培训之三.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1