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

AN2131QC 参数 Datasheet PDF下载

AN2131QC图片预览
型号: AN2131QC
PDF下载: 下载PDF文件 查看货源
内容描述: 在EZ - USBTM集成电路 [The EZ-USBTM Integrated Circuit]
分类和应用:
文件页数/大小: 334 页 / 1468 K
品牌: CYPRESS [ CYPRESS ]
 浏览型号AN2131QC的Datasheet PDF文件第196页浏览型号AN2131QC的Datasheet PDF文件第197页浏览型号AN2131QC的Datasheet PDF文件第198页浏览型号AN2131QC的Datasheet PDF文件第199页浏览型号AN2131QC的Datasheet PDF文件第201页浏览型号AN2131QC的Datasheet PDF文件第202页浏览型号AN2131QC的Datasheet PDF文件第203页浏览型号AN2131QC的Datasheet PDF文件第204页  
The EZ-USB core uses the byte count registers to report isochronous data payload sizes  
for OUT data transferred from the host to the USB core. Ten bits of byte count data allow  
payload sizes up to 1,023 bytes. A byte count of zero is valid, meaning that the host sent  
no isochronous data during the previous frame. The default values of these registers are  
unknown.  
Byte counts are valid only for OUT endpoints. The byte counts indicate the number of  
bytes remaining in the endpoint’s Receive FIFO. Every time the 8051 reads a byte from  
the ISODATA register, the byte count decrements by one.  
To read USB OUT data, the 8051 first reads byte count registers OUTnBCL and OUTn-  
BCH to determine how many bytes to transfer out of the OUT FIFO. (The 8051 can also  
quickly test ISO output endpoints for zero byte counts using the ZBCOUT register.)  
Then, the CPU reads that number of bytes from the ISODATA register. Separate byte  
counts are maintained for each endpoint, so the CPU can read the FIFOs in a discontinu-  
ous manner. For example, if EP8 indicates a byte count of 100, and EP9 indicates a byte  
count of 50, the CPU could read 50 bytes from EP8, then read 10 bytes from EP9, and  
resume reading EP8. At this moment the byte count for EP8 would read 50.  
There are no byte count registers for the IN endpoints. The USB core automatically tracks  
the number of bytes loaded by the 8051.  
If the 8051 does not load an IN isochronous endpoint FIFO during a 1-ms frame, and the  
host requests data from that endpoint during the next frame (IN token), the USB Core  
responds according to the setting of the ISOSEND0 bit (USBPAIR.7). If ISOSEND0=1,  
the core returns a zero-length data packet in response to the host IN token. If ISOS-  
END=0, the core does not respond to the IN token.  
It is the responsibility of the 8051 programmer to ensure that the number of bytes written  
to the IN FIFO does not exceed the maximum packet size as reported during enumeration.  
EZ-USB TRM v1.9  
Chapter 12. EZ-USB Registers  
Page 12-7  
 复制成功!