完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
使应用程序正确地与硬件对话。(我有一些怪癖,但我现在不是在追赶那些),因为帧定时,我们从另一个USB解决方案切换到高速设备。整个系统的数据速率非常低(大多数数据包一次只有几个字节,而不是频繁的),但是全速解决方案不起作用。通过设备(DavasyCARD),系统的延迟比旧ISA接口慢10-20倍。当我看公共汽车定时时,车架是4ms。
我研究了帧定时,发现高速应该具有125US子帧。有了这样的定时,我应该能够使系统的工作速度与ISA相同,可能有几个非关键区域稍慢一点。 在初始化代码中,软件通过外部机箱中的256个可能地址的范围来发送和接收一个字节(它正在寻找什么硬件安装在机箱中)。它在一个紧密的循环中,当使用ISA卡时,每个I/O调用大约有15个U。这不是程序的一个关键部分,我把它当做是比较接口之间的时序(IPLAN最终将轮询移动到固件,只读取一个批量传输中的所有256个字节,但这是第二阶段)。 用逻辑分析仪查看流量,我看到每笔交易时间为3-4MS,而不是125US。什么会导致时间比预期慢24到32倍?有趣的是,总线定时几乎与我所看到的全速装置相同,我们拒绝了。 我现在通过控制端点传输来做所有I/O。很多时候需要写几个字节,然后立即读取一两个字节。控制端点的双向性使我能够将这些组合成一个USB调用。 是什么引起了这个问题,我该如何解决呢? 比尔 以上来自于百度翻译 以下为原文 I managed to get the application talking to the hardware somewhat correctly. (I have a few quirks, but I'm not chasing those right now.) We switched direction from another USB solution to a high speed device because of the frame timing. The system has very low data rates overall (most packets are only a few bytes at a time and not that frequent), but a full speed solution was not working. With the device I tested (DevaSys card), the delays in the system were 10-20 times slower than with the old ISA interface. Whe I looked at bus timing, the frames were 4ms. I researched frame timing and found that high speed is supposed to have 125us subframes. With that kind of timing, I should be able to get the system working about the same speeds as ISA with possibly a few non-critical areas being a little slower. In the initialization code the software does a send and recieve of one byte through a range of 256 possible addresses in the external chassis (it's looking to see what hardware is installed in the chassis). It does this in a tight for loop that has about 15 us per I/O call when using the ISA card. This is not a critical part of the program and I left it as is to compare timing between interfaces (I plan to move the polling to firmware eventually and just read all 256 bytes in one Bulk transfer, but that's phase II). Looking at the traffic with a logic analyzer, I'm seeing per transaction timings of 3-4ms, not 125us. What could be causing the timing to be 24-32 times slower than expected? I find it interesting that the bus timing is almost identical to what I saw with the full speed device we rejected. I am doing all I/O via control endpoint transfers at the moment. Many times I need to write a couple of bytes and then immediately read one or two. The bidirectionality of the control endpoint enables me to combine these into one USB call. What is causing this and how to I fix it? Bill |
|
相关推荐
4个回答
|
|
没有反应?如果司机不做高速帧时间,这是一个主要的问题。我们将不得不寻找另一个VANDOR为我们的USB解决方案。
比尔 以上来自于百度翻译 以下为原文 No response? If the driver won't do the high speed frame times, this is a major problem. We will have to look at another vandor for our USB solution. Bill |
|
|
|
嗨,比尔,
CYSUBSIS能够高速帧速率。 你能为这个查询创建一个技术支持案例吗?这是一个比较复杂的问题,需要对所处的环境和转移是引发了解实际问题的方法的更多信息。 你可以创建一个的情况下点击“账户上“>;“mycases”在菜单栏上。 当做, 阿南德 以上来自于百度翻译 以下为原文 Hi Bill, CyUSB.sys is capable of high speed frame rates. Can you please create a tech-support case for this query? This is a fairly more complicated issue, and will need more information on the environment and the way in which the transfer is triggered to understand the actual issue. You can create a case by clicking on "MyAccount"->"MyCases" in the menu bar on top. Regards, Anand |
|
|
|
在我发布这个论坛消息之前,我确实打开了一个案例。没有人回应。
案件编号为472706328 比尔 以上来自于百度翻译 以下为原文 I did open a case almost a day before I posted this forum message. Nobody has responded. The case number is 472706328 Bill |
|
|
|
是的。知道了。中间有一个周末,造成了耽搁。事情现在应该开始了。问候,阿南德
以上来自于百度翻译 以下为原文 Yep. Got it. There was a weekend in the middle which has caused the delay. Things should get moving now. Regards, Anand |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2101 浏览 1 评论
1848 浏览 1 评论
3666 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1783 浏览 6 评论
1533 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
564浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
418浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
434浏览 2评论
380浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
911浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 22:22 , Processed in 0.878778 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号