完善资料让更多小伙伴认识你,还能领取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. |
|
|
|
只有小组成员才能发言,加入小组>>
713个成员聚集在这个小组
加入小组1888 浏览 1 评论
1637 浏览 1 评论
3392 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1556 浏览 6 评论
1371 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
170浏览 2评论
170浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
304浏览 2评论
323浏览 1评论
45浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-3-29 00:33 , Processed in 0.623133 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号