完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我将CY7C68013A芯片扩展为FulfIIL批量传输。我已经配置了EP2作为端点、散装、四重缓冲器(4×);EP6作为端点、散装、四重缓冲器(4×),但是现在我遇到了数据丢失问题。我想知道哪些寄存器与传输速度(或PACETSIZE)有关。否则,我已经阅读了一些参考资料,并被以下包相关概念混淆:Max PositSead、EPXBCL/H、Auto2//8/InLimthL/H。谢谢您的回复!
以上来自于百度翻译 以下为原文 I ultize cy7c68013a chip to fullfil a bulk transfer.I have configured EP2 as OUT endpoint,bulk,quad buffer(4*);ep6 as IN endpoint,bulk,quad buffer(4*),but now I have confronted a data losing problem.I want to know what registers are related to the transfer speed(or packetsize). Otherwise,I have read some references and was confused by following packet-related concepts:maxPacketSize,EPxBCL/H,AUTO2/4/6/8INLENGTHL/H. Thank you for your reply! |
|
相关推荐
3个回答
|
|
|
|
|
|
马克斯分组大小是USB主机控制器使用的描述符值,以理解它应该如何打包大量数据。该值只在FX2的计算机端,在USB线的另一端。FX2本身并不太在意描述符中的值。EXBCL/H是8051固件使用的寄存器,用来询问从主机到达多少数据,或者向主机指示在端点缓冲器中已经提供了多少数据。当您在内部读取或写入端点缓冲器时,使用这些寄存器。自动长度寄存器允许FX2从FX2的设备侧自动打包大量数据。只有当你有一个外部设备将字节写入FX2从FIFO或GPIF中时才是重要的。我强烈建议找到FX2LP的技术参考手册和阅读第8章(访问端点缓冲区)和9(Slave FIFOs)-他们将解释所有这些寄存器是什么。
以上来自于百度翻译 以下为原文 Max Packet Size is a descriptor value that is used by the USB Host Controller to understand how it should packetize large amounts of data. The value only matters to the computer-side of the FX2, at the other end of the USB cord. The FX2 itself doesn't really care too much about the value in the descriptor. EPxBCL/H are registers that are used by 8051 firmware to either interrogate how much data arrived from the host, or to indicate to the host how much data has been provided in the endpoint buffer. These registers are used when you're internally reading or writing to the endpoint buffers. Auto in length registers allow the FX2 to automatically packetize large amounts of data from the device-side of the FX2. It only matters if you have an external device writing bytes into the FX2's Slave FIFOs or GPIF. I highly recommend finding the FX2LP's Technical Reference Manual and reading chapters 8 (Access to Endpoint Buffers) and 9 (Slave FIFOs) - they will explain what all of those registers are for. |
|
|
|
谢谢你的回复,我将在两天内详细描述。到时我希望你能给我一些建议。
以上来自于百度翻译 以下为原文 Thank you for your reply,I will describe the details in two days.By then I hope you could give me some suggestions. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3640 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
361浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
860浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 14:56 , Processed in 1.159602 second(s), Total 85, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号