阅读:1394回复:7
SL811HS的USB-A和USB-B是怎么回事啊?“乒乓”传输又是怎么工作的??
SL811HS的USB-A和USB-B是怎么回事啊?“乒乓”传输又是怎么工作的??
|
|
沙发#
发布于:2004-03-20 09:22
我个人认为USB-A和USB-B是两套传输机构,可以交替配置使用,这样速度应当快一些,但是如果只用一套的话,也可以。
|
|
板凳#
发布于:2004-03-19 16:07
具体我没有做过,帮不了你
|
|
|
地板#
发布于:2004-03-19 11:21
如果要进行批量传输,
使用两个端点BULK_IN和BULK_OUT, 寄存器00H该怎么设置? |
|
地下室#
发布于:2004-03-18 13:41
具体的用法我还是不太明白,
是不是: 先把数据写入USB-A, 写完02H指定的字节数后,启动USB-A发送; 接着向USB-B写入数据, 启动USB-B发送(未等USB-A发送结束?) |
|
5楼#
发布于:2004-03-18 13:00
以下的Q&A是CYPRESS工程师对我问题的回答,你的问题也一样。
[QUESTION] Sorry for the up case, I spended 1 month for my holiday. How to use USB-A and USB-B? what is the difference between use one only and use both of them? Thanks! [ANSWER] Hi Jiang, It is good to hear from you, I hope you enjoyed your long holiday. The SL811HS incorporated the dual buffer/register scheme to help with throughput to devices. We do not have any examples that use this but the idea is that the SL811HS can use a Ping-Pong scheme. In other words it means that what the two sets of registers can be overlapped in that while you are tranasferring data to/from one buffer you can be setting up the other buffer/registers. After completing the transfer to an endpoint, the next operation will be controlled by the other register set and so it can be more efficient. As a host the A and B buffers can be beneficial when hosting multiple devices also. I hope this answers your questions, if not please let me know. If your questions have been answered please close this case for administrative purposes by selecting CLOSED and pressing the SUBMIT button. By closing the case, it does not mean you loose access to the case information. You can still access this case and view it if necessary. If you have further questions please let me know by adding your comments to this case. Best regards, Scott |
|
|
6楼#
发布于:2004-03-18 12:30
A,B是两套寄存器组,每套5个寄存器。
所谓乒乓传输就是重叠传输的一种简化版本: 当你设定A组的参数时,B组可以用于传输,反之亦然。 通俗的例子: 你们公司电话交换机几根进线? 如果是一根的话就会经常占线。两根就好多了,16根就比较豪华了。 SL811HS就相当于两根进线好了。 :) |
|
|
7楼#
发布于:2004-03-18 11:36
你问的问题好复杂啊 老兄 去搜搜其他的贴子 你要的东东
|
|
|