欢迎访问ic37.com |
会员登录 免费注册
发布采购

AN2131QC 参数 Datasheet PDF下载

AN2131QC图片预览
型号: AN2131QC
PDF下载: 下载PDF文件 查看货源
内容描述: 在EZ - USBTM集成电路 [The EZ-USBTM Integrated Circuit]
分类和应用:
文件页数/大小: 334 页 / 1468 K
品牌: CYPRESS [ CYPRESS ]
 浏览型号AN2131QC的Datasheet PDF文件第139页浏览型号AN2131QC的Datasheet PDF文件第140页浏览型号AN2131QC的Datasheet PDF文件第141页浏览型号AN2131QC的Datasheet PDF文件第142页浏览型号AN2131QC的Datasheet PDF文件第144页浏览型号AN2131QC的Datasheet PDF文件第145页浏览型号AN2131QC的Datasheet PDF文件第146页浏览型号AN2131QC的Datasheet PDF文件第147页  
7.3.11 Sync Frame  
Table 7-20. Sync Frame  
Value Meaning  
0x82 IN, Endpoint  
Byte  
Field  
8051 Response  
Send a frame number over  
IN0BUF to synchronize endpoint  
EP  
0
1
2
3
4
5
6
7
bmRequestType  
bRequest  
wValueL  
0x0C Sync_Frame”  
0x00  
wValueH  
0x00  
wIndexL  
EP Endpoint number  
wIndexH  
0x00  
EP(n):  
wLengthL  
wLengthH  
2
0
LenL  
LenH  
0x08-0x0F: OUT8-OUT15  
0x88-0x8F: IN8-IN15  
The Sync_Frame request is used to establish a marker in time so the host and USB device  
can synchronize multi-frame transfers over isochronous endpoints.  
Suppose an isochronous transmission consists of a repeating sequence of five 300 byte  
packets transmitted from host to device over EP8-OUT. Both host and device maintain  
sequence counters that count repeatedly from 1 to 5 to keep track of the packets inside a  
transmission. To start up in sync, both host and device need to reset their counts to 1 at the  
same time (in the same frame).  
To get in sync, the host issues the Sync_Frame request with EP=EP-OUT (byte 4). The  
8051 firmware responds by loading IN0BUF with a two-byte frame count for some future  
time; for example, the current frame plus 20. This marks frame “current+20” as the sync  
frame, during which both sides will initialize their sequence counters to 1. The 8051 reads  
the current frame count in the USBFRAMEL and USBFRAMEH registers.  
Multiple isochronous endpoints can be synchronized in this manner. The 8051 keeps sep-  
arate internal sequence counts for each endpoint.  
About USB Frames  
The USB host issues a SOF (Start Of Frame) packet once every millisecond. Every SOF  
packet contains an 11-bit (mod-2048) frame number. The 8051 services all isochronous  
transfers at SOF time, using a single SOF interrupt request and vector. If the EZ-USB  
core detects a missing SOF packet, it uses an internal counter to generate the SOF inter-  
rupt.  
Page 7-22  
Chapter 7. EZ-USB CPU  
EZ-USB TRM v1.9  
 复制成功!