1 / 78
文档名称:

cypress-usb教程第3讲.ppt

格式:ppt   大小:1,414KB   页数:78页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

cypress-usb教程第3讲.ppt

上传人:wxc6688 2022/8/6 文件大小:1.38 MB

下载得到文件列表

cypress-usb教程第3讲.ppt

相关文档

文档介绍

文档介绍:Lecture 3 Agenda
USB Requests
Enumeration
Every USB request and required response
Returned Descriptors
Hands-On
BULK OUCRIPT0R
SET_DESCRIPT0R
GET_C0NFIG
SET_CONFIG
GET_INTERFACE
SET_INTERFACE
SYNC_FRAME
01
03
05
06
07
08
09
0A
0B
STALL
other
bRequest
X
0
1
X
X
X
X
X
X
0
0
X
X
X
X
X
X
1
1
X
X
X
X
X
X
1
0
X
X
X
X
X
03
DEVICE
CONFIGURATION
STRING
01
02
0B
GET_REPORT
GET_IDLE
GET_PROTOCOL
SET_REPORT
SET_IDLE
SET_PROTOCOL
01
02
03
09
0A
STALL
other
23
HID
REPORT
PHYSICAL
21
22
STALL
other
wValueH
Interface 0
alt setting 0
Interface 0
alt setting 1
Interface 0
alt setting 2
Interface 1
alt setting 0
USB Device Structure
Configuration 0
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
Device
Interface 0
alt setting 0
Interface 0
alt setting 1
Interface 0
alt setting 2
Interface 1
alt setting 0
USB Requests
Configuration 1
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
EP0
EP0
EP1
EP2
EP3
EP8 (64)
EP0
EP1
EP2
EP3
EP8 (256)
EP0
Device
Get_Descriptor—DEVICE
Set_Address
Set_Feature—RWU
Get_Status--RWU
Get_Descriptor--CONFIG
Get_Configuration
Set_Configuration
Get_Interface (AS)
Set_Interface (AS)
Set_Feature—STALL
Get_Status (stall)
Initial Requests: Enumeration
Descriptors returned by the
device in response to the requests
are shown
with this shading
(Ref: TRM Chapter 5)
Device requests are shown
with this shading
(Ref: TRM Chapter 7)
Enumeration, Step by Step
Get_Descriptor--the hard way
Get_Descriptor—using EZ-USB Setup Data Pointer Ref: TRM Chapter 7
Get_Descriptor, Device
Device Descriptor
Set_Address
Get_Descriptor, Configuration
Configuration Descriptor
Configuration
Endpoint
Interface
Endpoint
Endpoint
Endpoint
Interface
Endpoint
Endpoint
Endpoint
Interface
Endpoint
Endpoint
Configuration Descriptor Length
Driver

最近更新