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

AN2131QC 参数 Datasheet PDF下载

AN2131QC图片预览
型号: AN2131QC
PDF下载: 下载PDF文件 查看货源
内容描述: 在EZ - USBTM集成电路 [The EZ-USBTM Integrated Circuit]
分类和应用:
文件页数/大小: 334 页 / 1468 K
品牌: CYPRESS [ CYPRESS ]
 浏览型号AN2131QC的Datasheet PDF文件第101页浏览型号AN2131QC的Datasheet PDF文件第102页浏览型号AN2131QC的Datasheet PDF文件第103页浏览型号AN2131QC的Datasheet PDF文件第104页浏览型号AN2131QC的Datasheet PDF文件第106页浏览型号AN2131QC的Datasheet PDF文件第107页浏览型号AN2131QC的Datasheet PDF文件第108页浏览型号AN2131QC的Datasheet PDF文件第109页  
host issues a NAK, indicating busy (6). The data at (5) is shaded to indicate that the USB  
core discards it, and does not over-write the data in the endpoint’s OUT buffer.  
The host continues to send OUT tokens (4, 5, and 6) that are greeted by NAKs until the  
buffer is ready. Eventually, the 8051 empties the endpoint buffer data, and then loads the  
endpoint’s byte count register (7) with any value to re-arm the USB core. Once armed and  
when the next OUT token arrives (8) the USB core accepts the next data packet (9).  
Initializing OUT Endpoints  
When the EZ-USB chip comes out of reset, or when the USB host issues a bus reset, the  
EZ-USB core arms OUT endpoints 1-7 by setting their busy bits to 1. Therefore, they  
are initially ready to accept one OUT transfer from the host. Subsequent OUT transfers  
are NAKd until the appropriate OUTnBC register is loaded to re-arm the endpoint.  
The EZ-USB core takes care of USB housekeeping chores such as CRC checks and data  
toggle PIDs. When an endpoint 6-OUT interrupt occurs and the busy bit is cleared, the  
user is assured that the data in the endpoint buffer was received error-free from the host.  
The EZ-USB core automatically checks for errors and requests the host to re-transmit data  
if it detects any errors using the built-in USB error checking mechanisms (CRC checks  
and data toggles).  
6.6  
Endpoint Pairing  
Table 6-2. Endpoint Pairing Bits (in the USB PAIR Register)  
5
4
3
2
1
0
Bit  
PR6OUT PR4OUT PR2OUT  
PR6IN  
6 IN  
PR4IN  
4 IN  
PR2IN  
2 IN  
Name  
6 OUT  
7 OUT  
4 OUT  
5 OUT  
2 OUT  
3 OUT  
Paired  
7 IN  
5 IN  
3 IN  
Endpoints  
The 8051 sets endpoint pairing bits to 1 to enable double-buffering of the bulk endpoint  
buffers. With double buffering enabled, the 8051 can operate on one data packet while  
another is being transferred over USB. The endpoint busy and interrupt request bits func-  
tion identically, so the 8051 code requires little code modification to support double-buff-  
ering.  
When an endpoint is paired, the 8051 uses only the even-numbered endpoint of the pair.  
The 8051 should not use the paired odd endpoint. For example, suppose it is desired to  
Page 6-8  
Chapter 6. EZ-USB CPU  
EZ-USB TRM v1.9  
 复制成功!